Functions | |
void | n_graphics_draw_rect (n_GContext *ctx, n_GRect rect, uint16_t radius, n_GCornerMask mask) |
void | n_graphics_fill_rect (n_GContext *ctx, n_GRect rect, uint16_t radius, n_GCornerMask mask) |
void | n_graphics_draw_thin_rect (n_GContext *ctx, n_GRect rect) |
Draw or fill rectangles with or without corner radii.
void n_graphics_draw_rect | ( | n_GContext * | ctx, |
n_GRect | rect, | ||
uint16_t | radius, | ||
n_GCornerMask | mask | ||
) |
Draws the border of a n_GRect with a stroke centered on the rect's outline.
void n_graphics_draw_thin_rect | ( | n_GContext * | ctx, |
n_GRect | rect | ||
) |
Equivalent to graphics_draw_rect in Pebble's graphics implementation. Always has a 1-px border.
void n_graphics_fill_rect | ( | n_GContext * | ctx, |
n_GRect | rect, | ||
uint16_t | radius, | ||
n_GCornerMask | mask | ||
) |
Fills a n_GRect.