Struct direct2d::math::ArcSegment
[−]
[src]
#[repr(C)]pub struct ArcSegment(pub D2D1_ARC_SEGMENT);
Methods
impl ArcSegment
[src]
fn new(
point: Point2F,
size: SizeF,
angle: f32,
sweep_dir: SweepDirection,
arc_size: ArcSize
) -> ArcSegment
point: Point2F,
size: SizeF,
angle: f32,
sweep_dir: SweepDirection,
arc_size: ArcSize
) -> ArcSegment
fn new_cc_sm(point: Point2F, size: SizeF, angle: f32) -> ArcSegment
Create a counter-clockwise small arc
fn new_cc_lg(point: Point2F, size: SizeF, angle: f32) -> ArcSegment
Create a counter-clockwise large arc
fn new_cw_sm(point: Point2F, size: SizeF, angle: f32) -> ArcSegment
Create a clockwise small arc
fn new_cw_lg(point: Point2F, size: SizeF, angle: f32) -> ArcSegment
Create a counter-clockwise small arc
Trait Implementations
impl Copy for ArcSegment
[src]
impl Clone for ArcSegment
[src]
fn clone(&self) -> ArcSegment
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
impl Debug for ArcSegment
[src]
impl Deref for ArcSegment
[src]
type Target = D2D1_ARC_SEGMENT
The resulting type after dereferencing
fn deref(&self) -> &D2D1_ARC_SEGMENT
The method called to dereference a value
impl DerefMut for ArcSegment
[src]
fn deref_mut(&mut self) -> &mut D2D1_ARC_SEGMENT
The method called to mutably dereference a value