2.24 <PangoRectangle> ¶
- Structure: <PangoRectangle> ¶
The <PangoRectangle> structure represents a
rectangle.
<PangoRectangle> is frequently used to represent
the logical or ink extents of a single glyph or section of text. (See,
for instance, font:get-glyph-extents!.)
Fields ¶
x
X coordinate of the left side of the rectangle.
y
Y coordinate of the the top side of the rectangle.
width
width of the rectangle.
height
height of the rectangle.
Procedures ¶
- Procedure: make-rectangle [x] [y] [width] [height] ⇒ struct ¶
- Procedure: rectangle:height self ⇒ height ¶
- Procedure: rectangle:set-height! self height ¶
- Procedure: rectangle:set-width! self width ¶
- Procedure: rectangle:set-x! self x ¶
- Procedure: rectangle:set-y! self y ¶
- Procedure: rectangle:width self ⇒ width ¶
- Procedure: rectangle:x self ⇒ x ¶
- Procedure: rectangle:y self ⇒ y ¶