Trait ID2D1DeviceContext1_Impl
pub trait ID2D1DeviceContext1_Impl: ID2D1DeviceContext_Impl {
// Required methods
fn CreateFilledGeometryRealization(
&self,
geometry: Ref<'_, ID2D1Geometry>,
flatteningtolerance: f32,
) -> Result<ID2D1GeometryRealization>;
fn CreateStrokedGeometryRealization(
&self,
geometry: Ref<'_, ID2D1Geometry>,
flatteningtolerance: f32,
strokewidth: f32,
strokestyle: Ref<'_, ID2D1StrokeStyle>,
) -> Result<ID2D1GeometryRealization>;
fn DrawGeometryRealization(
&self,
geometryrealization: Ref<'_, ID2D1GeometryRealization>,
brush: Ref<'_, ID2D1Brush>,
);
}
Required Methods§
fn CreateFilledGeometryRealization( &self, geometry: Ref<'_, ID2D1Geometry>, flatteningtolerance: f32, ) -> Result<ID2D1GeometryRealization>
fn CreateStrokedGeometryRealization( &self, geometry: Ref<'_, ID2D1Geometry>, flatteningtolerance: f32, strokewidth: f32, strokestyle: Ref<'_, ID2D1StrokeStyle>, ) -> Result<ID2D1GeometryRealization>
fn DrawGeometryRealization( &self, geometryrealization: Ref<'_, ID2D1GeometryRealization>, brush: Ref<'_, ID2D1Brush>, )
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.