ID2D1Factory1 interface (d2d1_1.h)
Creates Direct2D resources.
Inheritance
The ID2D1Factory1 interface inherits from ID2D1Factory. ID2D1Factory1 also has these types of members:
Methods
The ID2D1Factory1 interface has these methods.
ID2D1Factory1::CreateDevice Creates a ID2D1Device object. |
ID2D1Factory1::CreateDrawingStateBlock Creates a new drawing state block, this can be used in subsequent SaveDrawingState and RestoreDrawingState operations on the render target. (overload 1/3) |
ID2D1Factory1::CreateDrawingStateBlock Creates a new drawing state block, this can be used in subsequent SaveDrawingState and RestoreDrawingState operations on the render target. (overload 3/3) |
ID2D1Factory1::CreateDrawingStateBlock Creates a new drawing state block, this can be used in subsequent SaveDrawingState and RestoreDrawingState operations on the render target. (overload 2/3) |
ID2D1Factory1::CreateGdiMetafile Creates a new ID2D1GdiMetafile object that you can use to replay metafile content. |
ID2D1Factory1::CreatePathGeometry Creates an ID2D1PathGeometry1 object. |
ID2D1Factory1::CreateStrokeStyle Creates a ID2D1StrokeStyle1 object. (overload 1/2) |
ID2D1Factory1::CreateStrokeStyle Creates a ID2D1StrokeStyle1 object. (overload 2/2) |
ID2D1Factory1::GetEffectProperties Retrieves the properties of an effect. |
ID2D1Factory1::GetRegisteredEffects Returns the class IDs of the currently registered effects and global effects on this factory. |
ID2D1Factory1::RegisterEffectFromStream Registers an effect within the factory instance with the property XML specified as a stream. |
ID2D1Factory1::RegisterEffectFromString Registers an effect within the factory instance with the property XML specified as a string. |
ID2D1Factory1::UnregisterEffect Unregisters an effect within the factory instance that corresponds to the classId provided. |
Remarks
The ID2D1Factory1 interface is used to create devices, register and unregister effects, and enumerate effects properties. Effects are registered and unregistered globally. The registration APIs are placed on this interface for convenience.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | d2d1_1.h |