Package: cairo

Function cairo:pop-group

Lambda List

cairo:pop-group (cr)

Arguments

cr -- a cairo:context-t instance

Return Value

The 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 function 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

#2025-1-2