![]() |
![]() |
![]() |
CCSS Reference Manual | ![]() |
---|---|---|---|---|
void ccss_style_draw_gap (ccss_style_t const *self, cairo_t *cr, int32_t x, int32_t y, int32_t width, int32_t height, GtkPositionType gap_side, int32_t gap_x, int32_t gap_width); void ccss_style_draw_polygon (ccss_style_t const *self, cairo_t *cr, GdkPoint *points, int32_t n_points, bool fill);
void ccss_style_draw_gap (ccss_style_t const *self, cairo_t *cr, int32_t x, int32_t y, int32_t width, int32_t height, GtkPositionType gap_side, int32_t gap_x, int32_t gap_width);
Draw a rectangle with gap using this style instance.
|
a ccss_style_t. |
|
the target to draw onto. |
|
the starting x coordinate. |
|
the starting y coordinate. |
|
width of the outline to draw. |
|
height of the outline to draw. |
|
side in which to leave the gap. |
|
|
|
width of the gap. |
void ccss_style_draw_polygon (ccss_style_t const *self, cairo_t *cr, GdkPoint *points, int32_t n_points, bool fill);
Draw a rectangle with gap using this style instance.
|
a ccss_style_t. |
|
the target to draw onto. |
|
an array of GdkPoints. |
|
length of points .
|
|
true if the polygon should be filled.
|