Package: cairo

Function cairo-pop-group

Lambda List

cairo-pop-group (cr)

Arguments

cr -- a cairo-t context

Return Value

A newly created cairo-pattern-t instance containing the results of all drawing operations performed to the group. The caller owns the returned instance and should call the cairo-pattern-destroy function when finished with it.

Details

Terminates the redirection begun by a call to the cairo-push-group or cairo-push-group-with-content functions and returns a new pattern containing the results of all drawing operations performed to the group.

The cairo-pop-group function calls the cairo-restore function, balancing a call to the cairo-save function by the push group function, so that any changes to the graphics state will not be visible outside the group.
 

See also

2021-12-12