pub struct QPainterPathStroker { /* private fields */ }Expand description
C++ class: QPainterPathStroker.
Implementations§
Source§impl QPainterPathStroker
impl QPainterPathStroker
Sourcepub unsafe fn cap_style(&self) -> PenCapStyle
pub unsafe fn cap_style(&self) -> PenCapStyle
Calls C++ function: Qt::PenCapStyle QPainterPathStroker::capStyle() const.
Sourcepub unsafe fn create_stroke(
&self,
path: impl CastInto<Ref<QPainterPath>>,
) -> CppBox<QPainterPath>
pub unsafe fn create_stroke( &self, path: impl CastInto<Ref<QPainterPath>>, ) -> CppBox<QPainterPath>
Calls C++ function: QPainterPath QPainterPathStroker::createStroke(const QPainterPath& path) const.
Sourcepub unsafe fn curve_threshold(&self) -> c_double
pub unsafe fn curve_threshold(&self) -> c_double
Calls C++ function: double QPainterPathStroker::curveThreshold() const.
Sourcepub unsafe fn dash_offset(&self) -> c_double
pub unsafe fn dash_offset(&self) -> c_double
Calls C++ function: double QPainterPathStroker::dashOffset() const.
Sourcepub unsafe fn dash_pattern(&self) -> CppBox<QVectorOfDouble>
pub unsafe fn dash_pattern(&self) -> CppBox<QVectorOfDouble>
Calls C++ function: QVector<double> QPainterPathStroker::dashPattern() const.
Sourcepub unsafe fn join_style(&self) -> PenJoinStyle
pub unsafe fn join_style(&self) -> PenJoinStyle
Calls C++ function: Qt::PenJoinStyle QPainterPathStroker::joinStyle() const.
Sourcepub unsafe fn miter_limit(&self) -> c_double
pub unsafe fn miter_limit(&self) -> c_double
Calls C++ function: double QPainterPathStroker::miterLimit() const.
Sourcepub unsafe fn new_0a() -> CppBox<QPainterPathStroker>
pub unsafe fn new_0a() -> CppBox<QPainterPathStroker>
Calls C++ function: [constructor] void QPainterPathStroker::QPainterPathStroker().
Sourcepub unsafe fn new_1a(
pen: impl CastInto<Ref<QPen>>,
) -> CppBox<QPainterPathStroker>
pub unsafe fn new_1a( pen: impl CastInto<Ref<QPen>>, ) -> CppBox<QPainterPathStroker>
Calls C++ function: [constructor] void QPainterPathStroker::QPainterPathStroker(const QPen& pen).
Sourcepub unsafe fn set_cap_style(&self, style: PenCapStyle)
pub unsafe fn set_cap_style(&self, style: PenCapStyle)
Calls C++ function: void QPainterPathStroker::setCapStyle(Qt::PenCapStyle style).
Sourcepub unsafe fn set_curve_threshold(&self, threshold: c_double)
pub unsafe fn set_curve_threshold(&self, threshold: c_double)
Calls C++ function: void QPainterPathStroker::setCurveThreshold(double threshold).
Sourcepub unsafe fn set_dash_offset(&self, offset: c_double)
pub unsafe fn set_dash_offset(&self, offset: c_double)
Calls C++ function: void QPainterPathStroker::setDashOffset(double offset).
Sourcepub unsafe fn set_dash_pattern_pen_style(&self, arg1: PenStyle)
pub unsafe fn set_dash_pattern_pen_style(&self, arg1: PenStyle)
Calls C++ function: void QPainterPathStroker::setDashPattern(Qt::PenStyle arg1).
Sourcepub unsafe fn set_dash_pattern_q_vector_of_double(
&self,
dash_pattern: impl CastInto<Ref<QVectorOfDouble>>,
)
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).
Sourcepub unsafe fn set_join_style(&self, style: PenJoinStyle)
pub unsafe fn set_join_style(&self, style: PenJoinStyle)
Calls C++ function: void QPainterPathStroker::setJoinStyle(Qt::PenJoinStyle style).
Sourcepub unsafe fn set_miter_limit(&self, length: c_double)
pub unsafe fn set_miter_limit(&self, length: c_double)
Calls C++ function: void QPainterPathStroker::setMiterLimit(double length).