Method
PangoRendererdraw_rectangle
since: 1.8
Declaration [src]
void
pango_renderer_draw_rectangle (
PangoRenderer* renderer,
PangoRenderPart part,
int x,
int y,
int width,
int height
)
Description [src]
Draws an axis-aligned rectangle in user space coordinates with the
specified PangoRenderer.
This should be called while renderer is already active.
Use pango_renderer_activate() to activate a renderer.
Available since: 1.8
Parameters
part-
Type:
PangoRenderPartType of object this rectangle is part of.
x-
Type:
intX position at which to draw rectangle, in user space coordinates in Pango units.
y-
Type:
intY position at which to draw rectangle, in user space coordinates in Pango units.
width-
Type:
intWidth of rectangle in Pango units.
height-
Type:
intHeight of rectangle in Pango units.