Skip to main content

DrawRunSummary

Type Alias DrawRunSummary 

Source
pub type DrawRunSummary = RecordingSummary;
Expand description

What a run contains, answered while recording.

Aliased Type§

pub struct DrawRunSummary {
    pub has_text: bool,
    pub has_shadow: bool,
    pub has_non_shadow: bool,
    pub has_pixel_sensitive: bool,
    pub has_shapes: bool,
    pub has_others: bool,
    pub has_content_markers: bool,
}

Fields§

§has_text: bool

Any text, including inside a blend: glyph masks want rigid snapping.

§has_shadow: bool

Any shadow, including inside a blend.

§has_non_shadow: bool

Any drawable primitive besides a shadow, including inside a blend.

§has_pixel_sensitive: bool

Any image or text, including inside a blend: content that resamples badly on a fractionally offset surface.

§has_shapes: bool

Any entry in the shape tables.

§has_others: bool

Any primitive outside the shape tables.

§has_content_markers: bool

Any marker where a with-content command draws its node’s content.