[][src]Struct qt_core::PenJoinStyle

#[repr(transparent)]
pub struct PenJoinStyle(_);

This enum type defines the pen join styles supported by Qt, i.e. which joins between two connected lines can be drawn using QPainter.

C++ enum: Qt::PenJoinStyle.

C++ documentation:

This enum type defines the pen join styles supported by Qt, i.e. which joins between two connected lines can be drawn using QPainter.

Qt::BevelJoinQt::MiterJoinQt::RoundJoin

See also QPen.

Methods

impl PenJoinStyle[src]

pub fn to_int(&self) -> c_int[src]

impl PenJoinStyle[src]

pub const MiterJoin: PenJoinStyle[src]

The outer edges of the lines are extended to meet at an angle, and this area is filled. (C++ enum variant: MiterJoin = 0)

pub const BevelJoin: PenJoinStyle[src]

The triangular notch between the two lines is filled. (C++ enum variant: BevelJoin = 64)

pub const RoundJoin: PenJoinStyle[src]

A circular arc between the two lines is filled. (C++ enum variant: RoundJoin = 128)

pub const SvgMiterJoin: PenJoinStyle[src]

A miter join corresponding to the definition of a miter join in the SVG 1.2 Tiny specification. (C++ enum variant: SvgMiterJoin = 256)

pub const MPenJoinStyle: PenJoinStyle[src]

C++ enum variant: MPenJoinStyle = 448

Trait Implementations

impl From<i32> for PenJoinStyle[src]

impl From<PenJoinStyle> for c_int[src]

impl Clone for PenJoinStyle[src]

impl Copy for PenJoinStyle[src]

impl Eq for PenJoinStyle[src]

impl PartialEq<PenJoinStyle> for PenJoinStyle[src]

impl Debug for PenJoinStyle[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]