Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
P
 Performance counting
d2_pow2mask
 Profiling
R
d2_relocateframe
 Render Buffers
d2_renderbox
 Renderbuffer Management
d2_rendercircle
d2_rendercircle_no_hilimiterprecision
 Rendering Functions
 Rendering Mode
d2_renderline
d2_renderline2
d2_renderpolygon
d2_renderpolyline
d2_renderpolyline2
d2_renderquad
d2_rendertri
d2_rendertrifan
d2_rendertrilist
d2_rendertristrip
d2_renderwedge
D2_EXTERN d2_u32 d2_pow2mask(d2_u32 x)
Find next larger power of two minus 1
Performance measurement counter functions
extern d2_s32 d2_relocateframe(d2_device *handle,
const void *ptr)
Change framebuffer for render commands already issued.
Renderbuffers (similar in concept to OpenGL display lists) are the main interface between driver and hardware.
d2_s32 d2_renderbox(d2_device *handle,
d2_point x1,
d2_point y1,
d2_width w,
d2_width h)
Render a rectangle.
d2_s32 d2_rendercircle(d2_device *handle,
d2_point x,
d2_point y,
d2_width r,
d2_width w)
Render a circle or circle ring.
void d2_rendercircle_no_hilimiterprecision(d2_device *handle,
d2_u32 flag)
Enable or disable the high limiter precision feature of the latest D/AVE 2D renderer for drawing blurred circles with higher image quality.
There is a rendering function for each supported geometric shape.
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.
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 wide line with 2 different widths.
d2_s32 d2_renderpolygon(d2_device *handle,
const d2_point *data,
d2_u32 count,
d2_u32 flags)
Render a convex polygon
d2_s32 d2_renderpolyline(d2_device *handle,
const d2_point *data,
d2_u32 count,
d2_width w,
d2_u32 flags)
Render a polyline
d2_s32 d2_renderpolyline2(d2_device *handle,
const d2_point *data,
d2_u32 count,
const d2_width *w,
d2_u32 flags)
Render a polyline with multiple width
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 quadrangle.
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 triangle.
d2_s32 d2_rendertrifan(d2_device *handle,
const d2_point *data,
const d2_u32 *flags,
d2_u32 count)
Render a polygon from a triangle fan
d2_s32 d2_rendertrilist(d2_device *handle,
const d2_point *data,
const d2_u32 *flags,
d2_u32 count)
Render a polygon from a triangle list.
d2_s32 d2_rendertristrip(d2_device *handle,
const d2_point *data,
const d2_u32 *flags,
d2_u32 count)
Render a polygon from a triangle strip.
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)
Render a circle arc or circle ring arc.
Close