Pango.Rectangle - Structures - Pango 1.0 (original) (raw)

Fields

Name Type Access Description
height int r/w height of the rectangle.
width int r/w width of the rectangle.
x int r/w X coordinate of the left side of the rectangle.
y int r/w Y coordinate of the the top side of the rectangle.

Methods

None

Details

class Pango.Rectangle

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, [method`Pango`.Font.get_glyph_extents].)