ComponentOne Bitmap for UWP
Factory1 Class Members
Properties  Methods  Events

C1.UWP.DX Assembly > C1.Util.DX.Direct2D Namespace : Factory1 Class

The following tables list the members exposed by Factory1.

Public Constructors
 NameDescription
Public ConstructorInitializes a new instance of the Factory1 class.  
Top
Public Properties
 NameDescription
Public PropertyGets a value indicating whether this instance is disposed. (Inherited from C1.Util.DX.DisposeBase)
Public PropertyGets a value indicating if Direct2D is supported on this platform.  
Public PropertyGet a pointer to the underlying Cpp Object (Inherited from C1.Util.DX.CppObject)
Public PropertyGet the effects registered  
Public PropertyGets or sets a custom user tag object to associate with this instance.. (Inherited from C1.Util.DX.CppObject)
Top
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)Default Constructor for a Factory1.  
Public MethodHRESULT ID2D1Factory::CreateDCRenderTarget([In] const D2D1_RENDER_TARGET_PROPERTIES* renderTargetProperties,[Out, Fast] ID2D1DCRenderTarget** dcRenderTarget) (Inherited from C1.Util.DX.Direct2D.Factory)
Public MethodHRESULT ID2D1Factory1::CreateDevice([In] IDXGIDevice* dxgiDevice,[Out, Fast] ID2D1Device** d2dDevice)  
Public MethodHRESULT ID2D1Factory::CreateDrawingStateBlock([In, Optional] const D2D1_DRAWING_STATE_DESCRIPTION* drawingStateDescription,[In, Optional] IDWriteRenderingParams* textRenderingParams,[Out, Fast] ID2D1DrawingStateBlock** drawingStateBlock) (Inherited from C1.Util.DX.Direct2D.Factory)
Public MethodHRESULT ID2D1Factory1::CreateDrawingStateBlock([In, Optional] const D2D1_DRAWING_STATE_DESCRIPTION1* drawingStateDescription,[In, Optional] IDWriteRenderingParams* textRenderingParams,[Out, Fast] ID2D1DrawingStateBlock1** drawingStateBlock)  
Public MethodHRESULT ID2D1Factory::CreateDxgiSurfaceRenderTarget([In] IDXGISurface* dxgiSurface,[In] const D2D1_RENDER_TARGET_PROPERTIES* renderTargetProperties,[Out, Fast] ID2D1RenderTarget** renderTarget) (Inherited from C1.Util.DX.Direct2D.Factory)
Public MethodHRESULT ID2D1Factory::CreateEllipseGeometry([In] const D2D1_ELLIPSE* ellipse,[Out, Fast] ID2D1EllipseGeometry** ellipseGeometry) (Inherited from C1.Util.DX.Direct2D.Factory)
Public MethodCreates a new GdiMetafile object that you can use to replay metafile content.  
Public MethodOverloaded. HRESULT ID2D1Factory::CreateGeometryGroup([In] D2D1_FILL_MODE fillMode,[In, Buffer] ID2D1Geometry** geometries,[In] unsigned int geometriesCount,[Out, Fast] ID2D1GeometryGroup** geometryGroup) (Inherited from C1.Util.DX.Direct2D.Factory)
Public MethodHRESULT ID2D1Factory::CreateHwndRenderTarget([In] const D2D1_RENDER_TARGET_PROPERTIES* renderTargetProperties,[In] const D2D1_HWND_RENDER_TARGET_PROPERTIES* hwndRenderTargetProperties,[Out, Fast] ID2D1HwndRenderTarget** hwndRenderTarget) (Inherited from C1.Util.DX.Direct2D.Factory)
Public MethodHRESULT ID2D1Factory::CreatePathGeometry([Out, Fast] ID2D1PathGeometry** pathGeometry) (Inherited from C1.Util.DX.Direct2D.Factory)
Public MethodHRESULT ID2D1Factory1::CreatePathGeometry([Out, Fast] ID2D1PathGeometry1** pathGeometry)  
Public MethodHRESULT ID2D1Factory::CreateRectangleGeometry([In] const D2D_RECT_F* rectangle,[Out, Fast] ID2D1RectangleGeometry** rectangleGeometry) (Inherited from C1.Util.DX.Direct2D.Factory)
Public MethodHRESULT ID2D1Factory::CreateRoundedRectangleGeometry([In] const D2D1_ROUNDED_RECT* roundedRectangle,[Out, Fast] ID2D1RoundedRectangleGeometry** roundedRectangleGeometry) (Inherited from C1.Util.DX.Direct2D.Factory)
Public MethodOverloaded. HRESULT ID2D1Factory::CreateStrokeStyle([In] const D2D1_STROKE_STYLE_PROPERTIES* strokeStyleProperties,[In, Buffer, Optional] const float* dashes,[In] unsigned int dashesCount,[Out, Fast] ID2D1StrokeStyle** strokeStyle) (Inherited from C1.Util.DX.Direct2D.Factory)
Public MethodOverloaded. HRESULT ID2D1Factory1::CreateStrokeStyle([In] const D2D1_STROKE_STYLE_PROPERTIES1* strokeStyleProperties,[In, Buffer, Optional] const float* dashes,[In] unsigned int dashesCount,[Out, Fast] ID2D1StrokeStyle1** strokeStyle)  
Public MethodHRESULT ID2D1Factory::CreateTransformedGeometry([In] ID2D1Geometry* sourceGeometry,[In] const D2D_MATRIX_3X2_F* transform,[Out, Fast] ID2D1TransformedGeometry** transformedGeometry) (Inherited from C1.Util.DX.Direct2D.Factory)
Public MethodHRESULT ID2D1Factory::CreateWicBitmapRenderTarget([In] IWICBitmap* target,[In] const D2D1_RENDER_TARGET_PROPERTIES* renderTargetProperties,[Out, Fast] ID2D1RenderTarget** renderTarget) (Inherited from C1.Util.DX.Direct2D.Factory)
Public MethodPerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from C1.Util.DX.DisposeBase)
Public Methodvoid ID2D1Factory::GetDesktopDpi([Out] float* dpiX,[Out] float* dpiY) (Inherited from C1.Util.DX.Direct2D.Factory)
Public MethodHRESULT ID2D1Factory1::GetEffectProperties([In] const GUID& effectId,[Out] ID2D1Properties** properties)  
Public MethodHRESULT ID2D1Factory1::GetRegisteredEffects([Out, Buffer, Optional] GUID* effects,[In] unsigned int effectsCount,[Out, Optional] unsigned int* effectsReturned,[Out, Optional] unsigned int* effectsRegistered)  
Public MethodOverloaded. Query this instance for a particular COM GUID/interface support. (Inherited from C1.Util.DX.ComObject)
Public MethodOverloaded. Query instance for a particular COM GUID/interface support. (Inherited from C1.Util.DX.ComObject)
Public MethodOverloaded. Register a CustomEffect factory.  
Public MethodHRESULT 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)  
Public MethodHRESULT ID2D1Factory::ReloadSystemMetrics() (Inherited from C1.Util.DX.Direct2D.Factory)
Public MethodOverloaded. Unregister a CustomEffect.  
Top
Public Events
 NameDescription
Public EventOccurs when this instance is fully disposed. (Inherited from C1.Util.DX.DisposeBase)
Public EventOccurs when this instance is starting to be disposed. (Inherited from C1.Util.DX.DisposeBase)
Top
Public Operators
Performs an explicit conversion from System.IntPtr to Factory1.
Top
See Also

Reference

Factory1 Class
C1.Util.DX.Direct2D Namespace