Generated by Doxygen 1.8.14
Neographics
Rect

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)
 

Detailed Description

Draw or fill rectangles with or without corner radii.

Function Documentation

◆ n_graphics_draw_rect()

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.

◆ n_graphics_draw_thin_rect()

void n_graphics_draw_thin_rect ( n_GContext ctx,
n_GRect  rect 
)
Deprecated:
Use n_graphics_draw_rect() instead.

Equivalent to graphics_draw_rect in Pebble's graphics implementation. Always has a 1-px border.

◆ n_graphics_fill_rect()

void n_graphics_fill_rect ( n_GContext ctx,
n_GRect  rect,
uint16_t  radius,
n_GCornerMask  mask 
)

Fills a n_GRect.