get_pixel_extents
Description:
Computes the logical and ink extents of this in device units.
This function just calls get_extents followed by two
extents_to_pixels calls, rounding ink_rect
and logical_rect
such that the rounded rectangles fully contain the unrounded one (that is, passes them as first argument to
extents_to_pixels).
Parameters:
this |
a Layout |
ink_rect |
rectangle used to store the extents of the layout as drawn or |
logical_rect |
rectangle used to store the logical extents of the layout or |