Struct winapi::um::d2d1_3::ID2D1Factory3
source · #[repr(C)]pub struct ID2D1Factory3 {
pub lpVtbl: *const ID2D1Factory3Vtbl,
}
Fields§
§lpVtbl: *const ID2D1Factory3Vtbl
Implementations§
source§impl ID2D1Factory3
impl ID2D1Factory3
pub unsafe fn CreateDevice(
&self,
dxgiDevice: *mut IDXGIDevice,
d2dDevice2: *mut *mut ID2D1Device2
) -> HRESULT
Methods from Deref<Target = ID2D1Factory2>§
pub unsafe fn CreateDevice(
&self,
dxgiDevice: *mut IDXGIDevice,
d2dDevice1: *mut *mut ID2D1Device1
) -> HRESULT
Methods from Deref<Target = ID2D1Factory1>§
pub unsafe fn CreateDevice(
&self,
dxgiDevice: *const IDXGIDevice,
d2dDevice: *mut *mut ID2D1Device
) -> HRESULT
pub unsafe fn CreateStrokeStyle(
&self,
strokeStyleProperties: *const D2D1_STROKE_STYLE_PROPERTIES1,
dashes: *const FLOAT,
dashesCount: UINT32,
strokeStyle: *mut *mut ID2D1StrokeStyle1
) -> HRESULT
pub unsafe fn CreatePathGeometry(
&self,
pathGeometry: *mut *mut ID2D1PathGeometry1
) -> HRESULT
pub unsafe fn CreateDrawingStateBlock(
&self,
drawingStateDescription: *const D2D1_DRAWING_STATE_DESCRIPTION1,
textRenderingParams: *const IDWriteRenderingParams,
drawingStateBlock: *mut *mut ID2D1DrawingStateBlock1
) -> HRESULT
pub unsafe fn CreateGdiMetafile(
&self,
metafileStream: *const IStream,
metafile: *mut *mut ID2D1GdiMetafile
) -> HRESULT
pub unsafe fn RegisterEffectFromStream(
&self,
classId: REFCLSID,
propertyXml: *const IStream,
bindings: *const D2D1_PROPERTY_BINDING,
bindingsCount: UINT32,
effectFactory: PD2D1_EFFECT_FACTORY
) -> HRESULT
pub unsafe fn RegisterEffectFromString(
&self,
classId: REFCLSID,
propertyXml: PCWSTR,
bindings: *const D2D1_PROPERTY_BINDING,
bindingsCount: UINT32,
effectFactory: PD2D1_EFFECT_FACTORY
) -> HRESULT
pub unsafe fn UnregisterEffect(&self, classId: REFCLSID) -> HRESULT
pub unsafe fn GetRegisteredEffects(
&self,
effects: *mut CLSID,
effectsCount: UINT32,
effectsReturned: *mut UINT32,
effectsRegistered: *mut UINT32
) -> HRESULT
pub unsafe fn GetEffectProperties(
&self,
effectId: REFCLSID,
properties: *mut *mut ID2D1Properties
) -> HRESULT
Methods from Deref<Target = ID2D1Factory>§
pub unsafe fn ReloadSystemMetrics(&self) -> HRESULT
pub unsafe fn GetDesktopDpi(&self, dpiX: *mut FLOAT, dpiY: *mut FLOAT)
pub unsafe fn CreateRectangleGeometry(
&self,
rectangle: *const D2D1_RECT_F,
rectangleGeometry: *mut *mut ID2D1RectangleGeometry
) -> HRESULT
pub unsafe fn CreateRoundedRectangleGeometry(
&self,
roundedRectangle: *const D2D1_ROUNDED_RECT,
roundedRectangleGeometry: *mut *mut ID2D1RoundedRectangleGeometry
) -> HRESULT
pub unsafe fn CreateEllipseGeometry(
&self,
ellipse: *const D2D1_ELLIPSE,
ellipseGeometry: *mut *mut ID2D1EllipseGeometry
) -> HRESULT
pub unsafe fn CreateGeometryGroup(
&self,
fillMode: D2D1_FILL_MODE,
geometries: *mut *mut ID2D1Geometry,
geometriesCount: UINT32,
geometryGroup: *mut *mut ID2D1GeometryGroup
) -> HRESULT
pub unsafe fn CreateTransformedGeometry(
&self,
sourceGeometry: *mut ID2D1Geometry,
transform: *const D2D1_MATRIX_3X2_F,
transformedGeometry: *mut *mut ID2D1TransformedGeometry
) -> HRESULT
pub unsafe fn CreatePathGeometry(
&self,
pathGeometry: *mut *mut ID2D1PathGeometry
) -> HRESULT
pub unsafe fn CreateStrokeStyle(
&self,
strokeStyleProperties: *const D2D1_STROKE_STYLE_PROPERTIES,
dashes: *const FLOAT,
dashesCount: UINT32,
strokeStyle: *mut *mut ID2D1StrokeStyle
) -> HRESULT
pub unsafe fn CreateDrawingStateBlock(
&self,
drawingStateDescription: *const D2D1_DRAWING_STATE_DESCRIPTION,
textRenderingParams: *mut IDWriteRenderingParams,
drawingStateBlock: *mut *mut ID2D1DrawingStateBlock
) -> HRESULT
pub unsafe fn CreateWicBitmapRenderTarget(
&self,
target: *mut IWICBitmap,
renderTargetProperties: *const D2D1_RENDER_TARGET_PROPERTIES,
renderTarget: *mut *mut ID2D1RenderTarget
) -> HRESULT
pub unsafe fn CreateHwndRenderTarget(
&self,
renderTargetProperties: *const D2D1_RENDER_TARGET_PROPERTIES,
hwndRenderTargetProperties: *const D2D1_HWND_RENDER_TARGET_PROPERTIES,
hwndRenderTarget: *mut *mut ID2D1HwndRenderTarget
) -> HRESULT
pub unsafe fn CreateDxgiSurfaceRenderTarget(
&self,
dxgiSurface: *mut IDXGISurface,
renderTargetProperties: *const D2D1_RENDER_TARGET_PROPERTIES,
renderTarget: *mut *mut ID2D1RenderTarget
) -> HRESULT
pub unsafe fn CreateDCRenderTarget(
&self,
renderTargetProperties: *const D2D1_RENDER_TARGET_PROPERTIES,
dcRenderTarget: *mut *mut ID2D1DCRenderTarget
) -> HRESULT
Methods from Deref<Target = IUnknown>§
Trait Implementations§
source§impl Deref for ID2D1Factory3
impl Deref for ID2D1Factory3
§type Target = ID2D1Factory2
type Target = ID2D1Factory2
The resulting type after dereferencing.
source§fn deref(&self) -> &ID2D1Factory2
fn deref(&self) -> &ID2D1Factory2
Dereferences the value.