VKVG
Vulkan Vector Graphics
|
◆ vkvg_clip()
Establishes a new clip region by intersecting the current clip region with the current path as it would be filled by vkvg_fill() and according to the current fill rule (vkvg_set_fill_rule()). The current clip region affects all drawing operations by effectively masking out any changes to the surface that are outside the current clip region. After vkvg_clip(), the current path will be cleared from the context. Calling vkvg_clip() can only make the clip region smaller, never larger. But the current clip is part of the graphics state, so a temporary restriction of the clip region can be achieved by calling vkvg_clip() within a /@ref vkvg_restore() pair. The only other means of increasing the size of the clip region is vkvg_reset_clip().
|