Version 1 (modified by mira, 16 years ago) (diff) |
---|
Analysis
Overview
The frames size is the width and hight of the frame. They are measured including paddings and the !FrameBorder but neither the visual components border nor the margins. A frame could have different sizes and could be even bigger than the page. In that case the frames parts which are outside the pages range will be clipped out and wont be seen in reader mode. In author mode however all frames should be seen in whole.
Task requirements
- The frame should have properties describing width and hight.
- Those properties should be equal or grater than 0.
Task result
The result of this task is source code.
Implementation idea
- Create width and hight value properties in the Frame.
Related
- trunk/sophie2-platform/doc/spec-diagrams/FrameBounds.png
- FRAME_PADDING_R0
- FRAME_MARGINS_R0
- FRAME_INSETS_R0
- FRAME_BOUNDS_R0
How to demo
- Create frame with concrete width and hight and check if they are correct.
Design
Implementation
(Implementation results should be described and linked here (from the wiki or the repository))
Testing
Comments
(Write comments for this or later revisions here.)