Struct qt_gui::q_paint_engine::PolygonDrawMode
source · pub struct PolygonDrawMode(/* private fields */);
Expand description
C++ enum: QPaintEngine::PolygonDrawMode
.
Implementations§
source§impl PolygonDrawMode
impl PolygonDrawMode
sourcepub const OddEvenMode: PolygonDrawMode = _
pub const OddEvenMode: PolygonDrawMode = _
The polygon should be drawn using OddEven fill rule. (C++ enum variant: OddEvenMode = 0
)
sourcepub const WindingMode: PolygonDrawMode = _
pub const WindingMode: PolygonDrawMode = _
The polygon should be drawn using Winding fill rule. (C++ enum variant: WindingMode = 1
)
sourcepub const ConvexMode: PolygonDrawMode = _
pub const ConvexMode: PolygonDrawMode = _
The polygon is a convex polygon and can be drawn using specialized algorithms where available. (C++ enum variant: ConvexMode = 2
)
sourcepub const PolylineMode: PolygonDrawMode = _
pub const PolylineMode: PolygonDrawMode = _
Only the outline of the polygon should be drawn. (C++ enum variant: PolylineMode = 3
)
Trait Implementations§
source§impl Clone for PolygonDrawMode
impl Clone for PolygonDrawMode
source§fn clone(&self) -> PolygonDrawMode
fn clone(&self) -> PolygonDrawMode
Returns a copy of the value. Read more
1.0.0 · 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 PolygonDrawMode
impl Debug for PolygonDrawMode
source§impl From<PolygonDrawMode> for c_int
impl From<PolygonDrawMode> for c_int
source§fn from(value: PolygonDrawMode) -> Self
fn from(value: PolygonDrawMode) -> Self
Converts to this type from the input type.
source§impl From<i32> for PolygonDrawMode
impl From<i32> for PolygonDrawMode
source§impl PartialEq for PolygonDrawMode
impl PartialEq for PolygonDrawMode
source§fn eq(&self, other: &PolygonDrawMode) -> bool
fn eq(&self, other: &PolygonDrawMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PolygonDrawMode
impl Eq for PolygonDrawMode
impl StructuralEq for PolygonDrawMode
impl StructuralPartialEq for PolygonDrawMode
Auto Trait Implementations§
impl RefUnwindSafe for PolygonDrawMode
impl Send for PolygonDrawMode
impl Sync for PolygonDrawMode
impl Unpin for PolygonDrawMode
impl UnwindSafe for PolygonDrawMode
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