Skip to content

cf_draw_peek_shape_aa

Category: draw
GitHub: cute_draw.h


Returns the last shape antialias scale.

float cf_draw_peek_shape_aa(void);

Remarks

Shape drawing functions can be drawn in antialiased mode, or in plain mode. Antialiasing is slightly slower, but looks much smoother. A larger number makes the borders of shapes blurrier. Default is 1.5, 0 turns off antialiasing. This only affects shapes, not text or sprites.

cf_draw_push_shape_aa
cf_draw_pop_shape_aa