Name
ccontext:PushGroupWithContent -- push group with content
Synopsis
ccontext:PushGroupWithContent(content)
Function
Temporarily redirects drawing to an intermediate surface known as a group. The redirection lasts until the group is completed by a call to ccontext:PopGroup() or ccontext:PopGroupToSource(). These calls provide the result of any drawing to the group as a pattern (either as an explicit object, or set as the source pattern).

The group will have a content type of content. The ability to control this content type is the only distinction between this function and ccontext:PushGroup() which you should see for a more detailed description of group rendering.

See csurface:GetContent() for a list of supported content types.

Inputs
content
constant indicating the type of group that will be created (see above)

Show TOC