Changes between Version 11 and Version 12 of TEXT_PARAGRAPH_ALIGN_R0
- Timestamp:
- 07/04/09 17:44:56 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TEXT_PARAGRAPH_ALIGN_R0
v11 v12 53 53 * Get all previous SEGMENTs until OPEN_LINE is reached (using Vertex.LAST_EDGE vertex field). 54 54 * Calculate the extra space (WHITE_SPACE_EXTRA) that has to be added: (white space extra) = (space left on the line) / (number of previous SEGMENTs on the line) - 1. 55 * Modify BASE_POINT vertex field for each of the SEGMENTs on the line .55 * Modify BASE_POINT vertex field for each of the SEGMENTs on the line, relative to the extra white spaces for all previous SEGMENTs (that is, shift the segments with some extra space to the right). 56 56 * Add a paragraph halo and hud (TextParagraphHud class) 57 57 * Follow the UI specified in [wiki:TEXT_PARAGRAPH_SPACING_R0#Implementationidea]