pub struct EllipseGeometry { /* private fields */ }Expand description
An ellipse defined by a center and radii.
Implementations§
Trait Implementations§
Source§impl Drop for EllipseGeometry
impl Drop for EllipseGeometry
Source§impl Geometry for EllipseGeometry
impl Geometry for EllipseGeometry
Source§fn geometry_raw(&self) -> *mut c_void
fn geometry_raw(&self) -> *mut c_void
Borrowed
Noesis::Geometry* (a BaseComponent*), valid for self’s
lifetime. Pass it to a raw property setter such as
FrameworkElement::set_component.Source§fn render_bounds(&self) -> Rect
fn render_bounds(&self) -> Rect
The render bounds with no pen, so stroke width is not included.
Source§fn set_transform(&mut self, transform: &dyn Transform) -> bool
fn set_transform(&mut self, transform: &dyn Transform) -> bool
Applies a
Transform to the geometry. Noesis takes its own reference,
so transform may be dropped afterwards. Returns false only if the
handle is not a Noesis Geometry, which can’t happen for the types in
this module.Source§fn transform_raw(&self) -> *mut c_void
fn transform_raw(&self) -> *mut c_void
Borrowed
Noesis::Transform* currently applied, or null. No reference
is added; don’t release it.impl Send for EllipseGeometry
Auto Trait Implementations§
impl !Sync for EllipseGeometry
impl Freeze for EllipseGeometry
impl RefUnwindSafe for EllipseGeometry
impl Unpin for EllipseGeometry
impl UnsafeUnpin for EllipseGeometry
impl UnwindSafe for EllipseGeometry
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