Skip to main content

QPaintEngineState

Struct QPaintEngineState 

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

C++ class: QPaintEngineState.

Implementations§

Source§

impl QPaintEngineState

Source

pub unsafe fn background_brush(&self) -> CppBox<QBrush>

Calls C++ function: QBrush QPaintEngineState::backgroundBrush() const.

Source

pub unsafe fn background_mode(&self) -> BGMode

Calls C++ function: Qt::BGMode QPaintEngineState::backgroundMode() const.

Source

pub unsafe fn brush(&self) -> CppBox<QBrush>

Calls C++ function: QBrush QPaintEngineState::brush() const.

Source

pub unsafe fn brush_needs_resolving(&self) -> bool

Calls C++ function: bool QPaintEngineState::brushNeedsResolving() const.

Source

pub unsafe fn brush_origin(&self) -> CppBox<QPointF>

Calls C++ function: QPointF QPaintEngineState::brushOrigin() const.

Source

pub unsafe fn clip_operation(&self) -> ClipOperation

Calls C++ function: Qt::ClipOperation QPaintEngineState::clipOperation() const.

Source

pub unsafe fn clip_path(&self) -> CppBox<QPainterPath>

Calls C++ function: QPainterPath QPaintEngineState::clipPath() const.

Source

pub unsafe fn clip_region(&self) -> CppBox<QRegion>

Calls C++ function: QRegion QPaintEngineState::clipRegion() const.

Source

pub unsafe fn composition_mode(&self) -> CompositionMode

Calls C++ function: QPainter::CompositionMode QPaintEngineState::compositionMode() const.

Source

pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QPaintEngineState>>, ) -> Ref<QPaintEngineState>

Calls C++ function: QPaintEngineState& QPaintEngineState::operator=(const QPaintEngineState& other).

Source

pub unsafe fn font(&self) -> CppBox<QFont>

Calls C++ function: QFont QPaintEngineState::font() const.

Source

pub unsafe fn is_clip_enabled(&self) -> bool

Calls C++ function: bool QPaintEngineState::isClipEnabled() const.

Source

pub unsafe fn matrix(&self) -> CppBox<QMatrix>

Calls C++ function: QMatrix QPaintEngineState::matrix() const.

Source

pub unsafe fn new() -> CppBox<QPaintEngineState>

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

Source

pub unsafe fn new_copy( other: impl CastInto<Ref<QPaintEngineState>>, ) -> CppBox<QPaintEngineState>

Calls C++ function: [constructor] void QPaintEngineState::QPaintEngineState(const QPaintEngineState& other).

Source

pub unsafe fn opacity(&self) -> c_double

Calls C++ function: double QPaintEngineState::opacity() const.

Source

pub unsafe fn painter(&self) -> Ptr<QPainter>

Calls C++ function: QPainter* QPaintEngineState::painter() const.

Source

pub unsafe fn pen(&self) -> CppBox<QPen>

Calls C++ function: QPen QPaintEngineState::pen() const.

Source

pub unsafe fn pen_needs_resolving(&self) -> bool

Calls C++ function: bool QPaintEngineState::penNeedsResolving() const.

Source

pub unsafe fn render_hints(&self) -> QFlags<RenderHint>

Calls C++ function: QFlags<QPainter::RenderHint> QPaintEngineState::renderHints() const.

Source

pub unsafe fn state(&self) -> QFlags<DirtyFlag>

Calls C++ function: QFlags<QPaintEngine::DirtyFlag> QPaintEngineState::state() const.

Source

pub unsafe fn transform(&self) -> CppBox<QTransform>

Calls C++ function: QTransform QPaintEngineState::transform() const.

Trait Implementations§

Source§

impl CppDeletable for QPaintEngineState

Source§

unsafe fn delete(&self)

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

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.