// Transform and size
 void TextFlow::transformAndSize(
     int x,
     int y,
     int width,
     int height)
 {
     mX = x;
     mY = y;
     mWidth = width;
     mHeight = height;
     calculateMesh();
 }
Exemple #2
0
 // Set content
 void TextFlow::setContent(std::u16string content)
 {
     mContent = content;
     calculateMesh();
 }