* @param[in] layoutParameters The parameters needed to layout the text.
* @param[out] glyphPositions The positions of all the glyphs.
* @param[out] lines The laid-out lines.
* @param[in] layoutParameters The parameters needed to layout the text.
* @param[out] glyphPositions The positions of all the glyphs.
* @param[out] lines The laid-out lines.
*
* @return \e true if the text has been re-laid-out. \e false means the given width is too small to layout even a single character.
*/
bool LayoutText( const LayoutParameters& layoutParameters,
Vector<Vector2>& glyphPositions,
Vector<LineRun>& lines,
*
* @return \e true if the text has been re-laid-out. \e false means the given width is too small to layout even a single character.
*/
bool LayoutText( const LayoutParameters& layoutParameters,
Vector<Vector2>& glyphPositions,
Vector<LineRun>& lines,
* It doesn't change the phisical position of the glyphs in the model but sets their new position.
*
* @param[in] layoutParameters The parameters needed to layout the text.
* It doesn't change the phisical position of the glyphs in the model but sets their new position.
*
* @param[in] layoutParameters The parameters needed to layout the text.
* @param[in,out] glyphPositions The positions of all the glyphs.
*/
void ReLayoutRightToLeftLines( const LayoutParameters& layoutParameters,
* @param[in,out] glyphPositions The positions of all the glyphs.
*/
void ReLayoutRightToLeftLines( const LayoutParameters& layoutParameters,
- * @param[in] layoutSize The size of the laid out the text.
+ * @param[in] size The size of the container where the text is laid-out.
+ * @param[in] startIndex Character index of the line from where the lines are aligned.
+ * @param[in] numberOfCharacters The number of characters.
- void Align( const Size& layoutSize,
+ void Align( const Size& size,
+ CharacterIndex startIndex,
+ Length numberOfCharacters,