[]
ID2D1Factory1
[Guid("bb12d362-daee-4b9a-aa1d-14ba401cfa1f")]
public class Factory1 : Factory, IDisposable, IUnknown
| Name | Description |
|---|---|
| Factory1(IntPtr) | Initializes a new instance of the Factory1 class. |
| Name | Description |
|---|---|
| IsSupported | Gets a value indicating if Direct2D is supported on this platform. |
| RegisteredEffects | Get the effects registered |
| Name | Description |
|---|---|
| Create(FactoryType) | Default Constructor for a Factory1. |
| CreateDevice(Device) | HRESULT ID2D1Factory1::CreateDevice([In] IDXGIDevice* dxgiDevice,[Out, Fast] ID2D1Device** d2dDevice) |
| CreateDrawingStateBlock1(DrawingStateDescription1?, RenderingParams) | HRESULT ID2D1Factory1::CreateDrawingStateBlock([In, Optional] const D2D1_DRAWING_STATE_DESCRIPTION1* drawingStateDescription,[In, Optional] IDWriteRenderingParams* textRenderingParams,[Out, Fast] ID2D1DrawingStateBlock1** drawingStateBlock) |
| CreateGdiMetafile(Stream) | Creates a new GdiMetafile object that you can use to replay metafile content. |
| CreatePathGeometry1() | HRESULT ID2D1Factory1::CreatePathGeometry([Out, Fast] ID2D1PathGeometry1** pathGeometry) |
| CreateStrokeStyle1(ref StrokeStyleProperties1) | HRESULT ID2D1Factory1::CreateStrokeStyle([In] const D2D1_STROKE_STYLE_PROPERTIES1* strokeStyleProperties,[In, Buffer, Optional] const float* dashes,[In] unsigned int dashesCount,[Out, Fast] ID2D1StrokeStyle1** strokeStyle) |
| CreateStrokeStyle1(ref StrokeStyleProperties1, float[]) | HRESULT ID2D1Factory1::CreateStrokeStyle([In] const D2D1_STROKE_STYLE_PROPERTIES1* strokeStyleProperties,[In, Buffer, Optional] const float* dashes,[In] unsigned int dashesCount,[Out, Fast] ID2D1StrokeStyle1** strokeStyle) |
| Dispose(bool) | Clean up any resources being used. |
| GetEffectProperties(Guid) | HRESULT ID2D1Factory1::GetEffectProperties([In] const GUID& effectId,[Out] ID2D1Properties** properties) |
| GetRegisteredEffects(Guid[], int, out int, out int) | HRESULT ID2D1Factory1::GetRegisteredEffects([Out, Buffer, Optional] GUID* effects,[In] unsigned int effectsCount,[Out, Optional] unsigned int* effectsReturned,[Out, Optional] unsigned int* effectsRegistered) |
| RegisterEffectFromString(Guid, string, PropertyBinding[], int, FunctionCallback) | HRESULT ID2D1Factory1::RegisterEffectFromString([In] const GUID& classId,[In] const wchar_t* propertyXml,[In, Buffer, Optional] const D2D1_PROPERTY_BINDING* bindings,[In] unsigned int bindingsCount,[In] const __function__stdcall* effectFactory) |
| RegisterEffect<T>() | Register a CustomEffect. |
| RegisterEffect<T>(Func<T>) | Register a CustomEffect factory. |
| RegisterEffect<T>(Func<T>, Guid) | Register a CustomEffect factory. |
| RegisterEffect<T>(Guid) | Register a CustomEffect. |
| UnregisterEffect(Guid) | HRESULT ID2D1Factory1::UnregisterEffect([In] const GUID& classId) |
| UnregisterEffect<T>() | Unregister a CustomEffect. |
| Name | Description |
|---|---|
| explicit operator Factory1(IntPtr) |