Layout:: Frame:: FitResult
Stores the result of fitting a box in a
The available height in the frame for this particular box.
The available width in the frame for this particular box.
The box that was fitted into the frame.
The rectangle (a Geom2D::Rectangle object) that will be removed from the frame when drawing the box.
The horizontal position where the box will be drawn.
The vertical position where the box will be drawn.
Public Class Methods
Initialize the result object for the given box.
Public Instance Methods
The relative offset (dx, dy) is useful when rendering results that were accumulated and then need to be moved because the container holding them changes its position.
The configuration option “debug” can be used to add visual debug output with respect to box placement.
Marks the fitting status as success.
true if fitting was successful.