Struct directwrite::text_layout::HitTestTextPosition
[−]
[src]
pub struct HitTestTextPosition { pub point_x: f32, pub point_y: f32, pub metrics: HitTestMetrics, }
Fields
point_x: f32
The output pixel location X, relative to the top-left location of the layout box.
point_y: f32
The output pixel location Y, relative to the top-left location of the layout box.
metrics: HitTestMetrics
The output geometry fully enclosing the specified text position.
Trait Implementations
impl Copy for HitTestTextPosition
[src]
impl Clone for HitTestTextPosition
[src]
fn clone(&self) -> HitTestTextPosition
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more