Find next larger power of two minus 1
D2_EXTERN d2_u32 d2_pow2mask( d2_u32 x )
Change framebuffer for render commands already issued.
extern d2_s32 d2_relocateframe( d2_device * handle, const void * ptr )
Render a rectangle.
d2_s32 d2_renderbox( d2_device * handle, d2_point x1, d2_point y1, d2_width w, d2_width h )
Render a circle or circle ring.
d2_s32 d2_rendercircle( d2_device * handle, d2_point x, d2_point y, d2_width r, d2_width w )
Enable or disable the high limiter precision feature of the latest D/AVE 2D renderer for drawing blurred circles with higher image quality.
void d2_rendercircle_no_hilimiterprecision( d2_device * handle, d2_u32 flag )
Render a wide line.
d2_s32 d2_renderline( d2_device * handle, d2_point x1, d2_point y1, d2_point x2, d2_point y2, d2_width w, d2_u32 flags )
Render a wide line with 2 different widths.
d2_s32 d2_renderline2( d2_device * handle, d2_point x1, d2_point y1, d2_point x2, d2_point y2, d2_width w1, d2_width w2, d2_u32 flags )
Render a convex polygon
d2_s32 d2_renderpolygon( d2_device * handle, const d2_point * data, d2_u32 count, d2_u32 flags )
Render a polyline
d2_s32 d2_renderpolyline( d2_device * handle, const d2_point * data, d2_u32 count, d2_width w, d2_u32 flags )
Render a polyline with multiple width
d2_s32 d2_renderpolyline2( d2_device * handle, const d2_point * data, d2_u32 count, const d2_width * w, d2_u32 flags )
Render a quadrangle.
d2_s32 d2_renderquad( d2_device * handle, d2_point x1, d2_point y1, d2_point x2, d2_point y2, d2_point x3, d2_point y3, d2_point x4, d2_point y4, d2_u32 flags )
Render a triangle.
d2_s32 d2_rendertri( d2_device * handle, d2_point x1, d2_point y1, d2_point x2, d2_point y2, d2_point x3, d2_point y3, d2_u32 flags )
Render a polygon from a triangle fan
d2_s32 d2_rendertrifan( d2_device * handle, const d2_point * data, const d2_u32 * flags, d2_u32 count )
Render a polygon from a triangle list.
d2_s32 d2_rendertrilist( d2_device * handle, const d2_point * data, const d2_u32 * flags, d2_u32 count )
Render a polygon from a triangle strip.
d2_s32 d2_rendertristrip( d2_device * handle, const d2_point * data, const d2_u32 * flags, d2_u32 count )
Render a circle arc or circle ring arc.
d2_s32 d2_renderwedge( d2_device * handle, d2_point x, d2_point y, d2_width r, d2_width w, d2_s32 nx1, d2_s32 ny1, d2_s32 nx2, d2_s32 ny2, d2_u32 flags )