Struct nanovg::Intersect[][src]

pub struct Intersect {
    pub x: f32,
    pub y: f32,
    pub width: f32,
    pub height: f32,
    pub with: Scissor,
    pub transform: Option<Transform>,
}

Define intersection scissor which gets intersected with 'with' Scissor. Pixels drawn outside of this intersection are clipped. When 'with' Scissor or this Intersection have rotation, the intersection will be an approximation.

Fields

Trait Implementations

impl Clone for Intersect
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Intersect
[src]

impl Debug for Intersect
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Intersect

impl Sync for Intersect