[−][src]Struct dxplr::d2d1::Factory
Trait Implementations
impl Clone for Factory
[src]
impl Debug for Factory
[src]
impl IFactory for Factory
[src]
fn create_dc_render_target(
&self,
props: &RenderTargetProperties
) -> Result<DCRenderTarget, HResult>
[src]
&self,
props: &RenderTargetProperties
) -> Result<DCRenderTarget, HResult>
fn create_drawing_state_block(
&self,
desc: &DrawingStateDescription,
params: Option<&RenderingParams>
) -> Result<DrawingStateBlock, HResult>
[src]
&self,
desc: &DrawingStateDescription,
params: Option<&RenderingParams>
) -> Result<DrawingStateBlock, HResult>
fn create_dxgi_surface_render_target(
&self,
surface: &impl ISurface,
props: &RenderTargetProperties
) -> Result<RenderTarget, HResult>
[src]
&self,
surface: &impl ISurface,
props: &RenderTargetProperties
) -> Result<RenderTarget, HResult>
fn create_ellipse_geometry(
&self,
ellipse: &Ellipse
) -> Result<EllipseGeometry, HResult>
[src]
&self,
ellipse: &Ellipse
) -> Result<EllipseGeometry, HResult>
fn create_geometry_group(
&self,
fill_mode: FillMode,
geometries: &[&impl IGeometry]
) -> Result<GeometryGroup, HResult>
[src]
&self,
fill_mode: FillMode,
geometries: &[&impl IGeometry]
) -> Result<GeometryGroup, HResult>
fn create_hwnd_render_target(
&self,
props: &RenderTargetProperties,
hwnd_props: &HwndRenderTargetProperties
) -> Result<HwndRenderTarget, HResult>
[src]
&self,
props: &RenderTargetProperties,
hwnd_props: &HwndRenderTargetProperties
) -> Result<HwndRenderTarget, HResult>
fn create_path_geometry(&self) -> Result<PathGeometry, HResult>
[src]
fn create_rectangle_geometry(
&self,
rc: impl Into<RectF>
) -> Result<RectangleGeometry, HResult>
[src]
&self,
rc: impl Into<RectF>
) -> Result<RectangleGeometry, HResult>
fn create_rounded_rectangle_geometry(
&self,
rc: &RoundedRect
) -> Result<RoundedRectangleGeometry, HResult>
[src]
&self,
rc: &RoundedRect
) -> Result<RoundedRectangleGeometry, HResult>
fn create_stroke_style(
&self,
props: &StrokeStyleProperties,
dashes: Option<&[f32]>
) -> Result<StrokeStyle, HResult>
[src]
&self,
props: &StrokeStyleProperties,
dashes: Option<&[f32]>
) -> Result<StrokeStyle, HResult>
fn create_transformed_geometry(
&self,
src: &impl IGeometry,
transform: Option<&Matrix3x2F>
) -> Result<TransformedGeometry, HResult>
[src]
&self,
src: &impl IGeometry,
transform: Option<&Matrix3x2F>
) -> Result<TransformedGeometry, HResult>
fn get_desktop_dpi(&self) -> Vector2F
[src]
fn reload_system_metrics(&self) -> Result<(), HResult>
[src]
impl Interface for Factory
[src]
type APIType = ID2D1Factory
fn new(p: ComPtr<Self::APIType>) -> Self
[src]
fn uuidof() -> Guid
[src]
fn as_ptr(&self) -> *mut Self::APIType
[src]
fn as_com_ptr(&self) -> &ComPtr<Self::APIType>
[src]
fn as_unknown(&self) -> *mut IUnknown
[src]
fn from_com_ptr(p: ComPtr<Self::APIType>) -> Self
[src]
fn query_interface<T: Interface>(&self) -> Result<T, HResult>
[src]
impl Send for Factory
[src]
impl Sync for Factory
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,