Properties
The draw context holds references to model, view, projection matrices, width, height and content-scale
When two line segments meet at a sharp angle and miter joins have been specified for lineJoin, it is possible for the miter to extend far beyond the thickness of the line stroking the path. The miterlimit imposes a limit on the ratio of the miter length to the strokeWeight.
The active projection matrix
The active stroke weight
Functions
Create a stored batch of circles
Create and draw batched circles
Draw stored circle batch
Draws a single ShapeContour using fill, stroke and strokeWeight settings
Draws org.openrndr.shape.contours using fill, stroke and strokeWeight settings
Draws an image with its top-left corner at (0,0)
Draws an image (ColorBuffer) into a target area
Draws a source area of an image (ColorBuffer) into a target area
Draws an image using an ArrayTexture as source
Pushes style and model-view-projection matrices, sets render target, calls function and pops.
Sets the projection matrix to orthogonal using the drawer's current size
Sets the projection matrix to orthogonal using the sizes of a RenderTarget
Sets the projection to a perspective projection matrix
Create a stored batch of points
Create and draw batched points
Draw a list of 2D points
Draw a list of 3D points
Draw a stored batch of points
Pop the active projection matrix from the projection state stack
Pop the active the model, view and projection matrices from their respective stacks
Push the active projection matrix on the projection state stack
Push the active model, view and projection matrices on their respective stacks
Create a stored batch of rectangles
Create and draw batched rectangles
Applies a rotation over the z-axis to the model matrix
Applies a rotation over an arbitrary axis to the model matrix
Apply a uniform scale to the model matrix
Applies non-uniform scale to the model matrix
Draws a list of 2D segments
Draws a list of 3D segments
Draws a list of 3D segments, each with their weight and color
Applies a two-dimensional translation to the model matrix
Applies three-dimensional translation to the model matrix
Applies a three-dimensional translation to the model matrix
Draws a VertexBuffer using primitive