Skip to main content

discard_group

Function discard_group 

Source
pub fn discard_group<P: Pixel>(group: GroupBitmap<P>) -> Clip
Expand description

Discard a group without compositing it (used on error paths).

Returns the clip that was saved when the group was opened so the caller can restore graphics state cleanly.