Renderer.drawTrapezoid

void drawTrapezoid(pango.types.RenderPart part, double y1, double x11, double x21, double y2, double x12, double x22)

Draws a trapezoid with the parallel sides aligned with the X axis using the given [pango.renderer.Renderer]; coordinates are in device space.

Parameters

parttype of object this trapezoid is part of
y1Y coordinate of top of trapezoid
x11X coordinate of left end of top of trapezoid
x21X coordinate of right end of top of trapezoid
y2Y coordinate of bottom of trapezoid
x12X coordinate of left end of bottom of trapezoid
x22X coordinate of right end of bottom of trapezoid