The OpenD Programming Language

imagePattern

Creates and returns an image pattern. Parameters (cx, cy) specify the left-top location of the image pattern, (w, h) the size of one image, angle rotation around the top-left corner, image is handle to the image to render. The gradient is transformed by the current transform when it is passed to fillPaint or strokePaint.

nothrow @trusted @nogc
imagePattern
()
(,
float cx
,
float cy
,
float w
,
float h
,
float angle
,
const scope auto ref NVGImage image
,
float alpha = 1
)

See Also

Meta