Function Context.popGroup

Terminates the redirection begun by a call to Context.pushGroup() or Context.pushGroup(Content) and returns a new pattern containing the results of all drawing operations performed to the group.

The Context.popGroup() function calls Context.restore(), (balancing a call to Context.save() by the Context.pushGroup() function), so that any changes to the graphics state will not be visible outside the group.

Prototype

Pattern popGroup();

Authors

Johannes Pfau cairoD
Andrej Mitrovic cairoD
cairo team cairo

Copyright

License

cairoD wrapper/bindings Boost License 1.0
cairo LGPL 2.1 / MPL 1.1