Skip to main content

QPainterPathStroker

Struct QPainterPathStroker 

Source
pub struct QPainterPathStroker { /* private fields */ }
Expand description

C++ class: QPainterPathStroker.

Implementations§

Source§

impl QPainterPathStroker

Source

pub unsafe fn cap_style(&self) -> PenCapStyle

Calls C++ function: Qt::PenCapStyle QPainterPathStroker::capStyle() const.

Source

pub unsafe fn create_stroke( &self, path: impl CastInto<Ref<QPainterPath>>, ) -> CppBox<QPainterPath>

Calls C++ function: QPainterPath QPainterPathStroker::createStroke(const QPainterPath& path) const.

Source

pub unsafe fn curve_threshold(&self) -> c_double

Calls C++ function: double QPainterPathStroker::curveThreshold() const.

Source

pub unsafe fn dash_offset(&self) -> c_double

Calls C++ function: double QPainterPathStroker::dashOffset() const.

Source

pub unsafe fn dash_pattern(&self) -> CppBox<QVectorOfDouble>

Calls C++ function: QVector<double> QPainterPathStroker::dashPattern() const.

Source

pub unsafe fn join_style(&self) -> PenJoinStyle

Calls C++ function: Qt::PenJoinStyle QPainterPathStroker::joinStyle() const.

Source

pub unsafe fn miter_limit(&self) -> c_double

Calls C++ function: double QPainterPathStroker::miterLimit() const.

Source

pub unsafe fn new_0a() -> CppBox<QPainterPathStroker>

Calls C++ function: [constructor] void QPainterPathStroker::QPainterPathStroker().

Source

pub unsafe fn new_1a( pen: impl CastInto<Ref<QPen>>, ) -> CppBox<QPainterPathStroker>

Calls C++ function: [constructor] void QPainterPathStroker::QPainterPathStroker(const QPen& pen).

Source

pub unsafe fn set_cap_style(&self, style: PenCapStyle)

Calls C++ function: void QPainterPathStroker::setCapStyle(Qt::PenCapStyle style).

Source

pub unsafe fn set_curve_threshold(&self, threshold: c_double)

Calls C++ function: void QPainterPathStroker::setCurveThreshold(double threshold).

Source

pub unsafe fn set_dash_offset(&self, offset: c_double)

Calls C++ function: void QPainterPathStroker::setDashOffset(double offset).

Source

pub unsafe fn set_dash_pattern_pen_style(&self, arg1: PenStyle)

Calls C++ function: void QPainterPathStroker::setDashPattern(Qt::PenStyle arg1).

Source

pub unsafe fn set_dash_pattern_q_vector_of_double( &self, dash_pattern: impl CastInto<Ref<QVectorOfDouble>>, )

Calls C++ function: void QPainterPathStroker::setDashPattern(const QVector<double>& dashPattern).

Source

pub unsafe fn set_join_style(&self, style: PenJoinStyle)

Calls C++ function: void QPainterPathStroker::setJoinStyle(Qt::PenJoinStyle style).

Source

pub unsafe fn set_miter_limit(&self, length: c_double)

Calls C++ function: void QPainterPathStroker::setMiterLimit(double length).

Source

pub unsafe fn set_width(&self, width: c_double)

Calls C++ function: void QPainterPathStroker::setWidth(double width).

Source

pub unsafe fn width(&self) -> c_double

Calls C++ function: double QPainterPathStroker::width() const.

Trait Implementations§

Source§

impl CppDeletable for QPainterPathStroker

Source§

unsafe fn delete(&self)

Calls C++ function: [destructor] void QPainterPathStroker::~QPainterPathStroker().

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T, U> CastInto<U> for T
where U: CastFrom<T>,

Source§

unsafe fn cast_into(self) -> U

Performs the conversion. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> StaticUpcast<T> for T

Source§

unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>

Convert type of a const pointer. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.