#[repr(u32)]pub enum Tvg_Stroke_Join {
TVG_STROKE_JOIN_MITER = 0,
TVG_STROKE_JOIN_ROUND = 1,
TVG_STROKE_JOIN_BEVEL = 2,
}Expand description
@brief Enumeration specifying how to fill the area outside the gradient bounds.
Variants§
TVG_STROKE_JOIN_MITER = 0
< The outer corner of the joined path segments is spiked. The spike is created by extension beyond the join point of the outer edges of the stroke until they intersect. In case the extension goes beyond the limit, the join style is converted to the Bevel style.
TVG_STROKE_JOIN_ROUND = 1
< The outer corner of the joined path segments is rounded. The circular region is centered at the join point.
TVG_STROKE_JOIN_BEVEL = 2
< The outer corner of the joined path segments is bevelled at the join point. The triangular region of the corner is enclosed by a straight line between the outer corners of each stroke.
Trait Implementations§
Source§impl Clone for Tvg_Stroke_Join
impl Clone for Tvg_Stroke_Join
Source§fn clone(&self) -> Tvg_Stroke_Join
fn clone(&self) -> Tvg_Stroke_Join
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Tvg_Stroke_Join
impl Debug for Tvg_Stroke_Join
Source§impl Hash for Tvg_Stroke_Join
impl Hash for Tvg_Stroke_Join
Source§impl PartialEq for Tvg_Stroke_Join
impl PartialEq for Tvg_Stroke_Join
Source§fn eq(&self, other: &Tvg_Stroke_Join) -> bool
fn eq(&self, other: &Tvg_Stroke_Join) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for Tvg_Stroke_Join
impl Eq for Tvg_Stroke_Join
impl StructuralPartialEq for Tvg_Stroke_Join
Auto Trait Implementations§
impl Freeze for Tvg_Stroke_Join
impl RefUnwindSafe for Tvg_Stroke_Join
impl Send for Tvg_Stroke_Join
impl Sync for Tvg_Stroke_Join
impl Unpin for Tvg_Stroke_Join
impl UnsafeUnpin for Tvg_Stroke_Join
impl UnwindSafe for Tvg_Stroke_Join
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more