pub struct GroupFrame {
pub display_list: DisplayList,
pub kind: GroupKind,
pub saved_clip_path_version: u32,
pub saved_gsave_depth: usize,
}Expand description
One frame on Context::group_stack. Captures paint operators emitted
between a begin* and a matching close. The active capture target is
always Self::display_list; what happens to it on close depends on
Self::kind.
Fields§
§display_list: DisplayListPaint operators emitted while this frame is on top of
group_stack. The semantics on close depend on kind.
kind: GroupKindWhat this frame represents — transparency group, soft-mask
builder, or post-endsoftmask masked-content scope.
saved_clip_path_version: u32gstate.clip_path_version snapshot taken when the frame opened.
Reserved for future use (e.g. detecting clip changes that
crossed the boundary).
saved_gsave_depth: usizegstate_stack.len() at the moment the frame opened. Used by
gsave / grestore and restore to refuse pops that would
orphan this frame.
Auto Trait Implementations§
impl Freeze for GroupFrame
impl RefUnwindSafe for GroupFrame
impl Send for GroupFrame
impl Sync for GroupFrame
impl Unpin for GroupFrame
impl UnsafeUnpin for GroupFrame
impl UnwindSafe for GroupFrame
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more