Changes between Version 13 and Version 14 of WRAPPING_TEXT_RENDERING_R1
- Timestamp:
- 06/10/09 14:43:07 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WRAPPING_TEXT_RENDERING_R1
v13 v14 36 36 37 37 = Design = 38 * Add method PageWorkArea.getOverlappingArea(FrameView) to calculate the union of overlapping frames' areas: 39 * Get the areas of all FrameViews with z-order higher than the current Frame 40 * Make union of these areas. 41 * Note: For correct calculations the space of each FrameView should be converted to the space of the current Frame. 38 42 * Modify HotTextSceneElementImpl.textLayout() method to: 39 43 * Consider if the current Frame has single selection, so that wrapping is disabled (the user should be able to edit the selected frame without wrapping). 40 44 * Calculate the layout area: 41 * Get the areas of all FrameViews with z-order higher than the current Frame 42 * Subtract these areas from the current Frame's area. 43 * Note: For correct calculations the space of each FrameView should be converted to the space of the current Frame. 45 * Find overlapping area using PageWorkArea.getOverlappingArea 46 * Subtract overlapping area from the current Frame's area. 44 47 * Use the calculated ImmArea (possibly containing a complex shape) as a parameter to HotTextLayout.layout 45 48 * Correct EdgeKind.OPEN_LINE and EdgeKind.SEGMENT to consider the case of more than one segment on a line. … … 61 64 [3254] 62 65 66 [3355] 67 63 68 = Testing = 64 69 ^(Place the testing results here.)^