|
Picasso API
2.8
|
Functions | |
| PEXPORT void PICAPI | ps_clip (ps_context *ctx) |
| Clipping the current path, using the current fill rule. After called, the current path will be cleared from the context. More... | |
| PEXPORT void PICAPI | ps_clip_path (ps_context *ctx, const ps_path *path, ps_fill_rule rule) |
| Clipping specified path, using the given fill rule. More... | |
| PEXPORT void PICAPI | ps_clip_rect (ps_context *ctx, const ps_rect *rect) |
| Clipping specified rectangle. More... | |
| PEXPORT void PICAPI | ps_scissor_rect (ps_context *ctx, const ps_rect *rect) |
| The fast way to clipping specified rectangle, the clip rect can not be transformed by world matrix. More... | |
| PEXPORT void PICAPI | ps_clip_rects (ps_context *ctx, const ps_rect *rects, uint32_t num_rects) |
| Clipping specified area defined by an array of rectangles. More... | |
| PEXPORT void PICAPI | ps_reset_clip (ps_context *ctx) |
| Clear the clipping area from the context. More... | |
| void ps_clip | ( | ps_context * | ctx | ) |
Clipping the current path, using the current fill rule. After called, the current path will be cleared from the context.
| ctx | Pointer to an existing context object. |
| void ps_clip_path | ( | ps_context * | ctx, |
| const ps_path * | path, | ||
| ps_fill_rule | rule | ||
| ) |
Clipping specified path, using the given fill rule.
| ctx | Pointer to an existing context object. |
| path | The path which will be clipped. |
| rule | The rule of the path. |
| void ps_clip_rect | ( | ps_context * | ctx, |
| const ps_rect * | rect | ||
| ) |
Clipping specified rectangle.
| ctx | Pointer to an existing context object. |
| rect | The rectangle which will be clipped. |
| void ps_clip_rects | ( | ps_context * | ctx, |
| const ps_rect * | rects, | ||
| uint32_t | num_rects | ||
| ) |
Clipping specified area defined by an array of rectangles.
| ctx | Pointer to an existing context object. |
| rects | The array of rectangles which will be clipped. |
| num_rects | The number of array entries. |
| void ps_reset_clip | ( | ps_context * | ctx | ) |
Clear the clipping area from the context.
| ctx | Pointer to an existing context object. |
| void ps_scissor_rect | ( | ps_context * | ctx, |
| const ps_rect * | rect | ||
| ) |
The fast way to clipping specified rectangle, the clip rect can not be transformed by world matrix.
| ctx | Pointer to an existing context object. |
| rect | The rectangle which will be clipped. |
1.8.17