Struct glyph_brush_layout::SectionGeometry[][src]

pub struct SectionGeometry {
    pub screen_position: (f32, f32),
    pub bounds: (f32, f32),
}

Fields

Position on screen to render text, in pixels from top-left. Defaults to (0, 0).

Max (width, height) bounds, in pixels from top-left. Defaults to unbounded.

Trait Implementations

impl Debug for SectionGeometry
[src]

Formats the value using the given formatter. Read more

impl Clone for SectionGeometry
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for SectionGeometry
[src]

impl Default for SectionGeometry
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations