[]
Creates an DrawingStateBlock1 that can be used with the {{SaveDrawingState}} and {{RestoreDrawingState}} methods of a render target.
public static DrawingStateBlock1 Create(Factory1 factory)
Type | Name | Description |
---|---|---|
Factory1 | factory | an instance of Factory1 |
Type | Description |
---|---|
DrawingStateBlock1 |
Creates an DrawingStateBlock1 that can be used with the {{SaveDrawingState}} and {{RestoreDrawingState}} methods of a render target.
public static DrawingStateBlock1 Create(Factory1 factory, DrawingStateDescription1 drawingStateDescription)
Type | Name | Description |
---|---|---|
Factory1 | factory | an instance of Factory1 |
DrawingStateDescription1 | drawingStateDescription | A structure that contains antialiasing, transform, and tags information. |
Type | Description |
---|---|
DrawingStateBlock1 |
Creates an DrawingStateBlock1 that can be used with the {{SaveDrawingState}} and {{RestoreDrawingState}} methods of a render target.
public static DrawingStateBlock1 Create(Factory1 factory, RenderingParams textRenderingParams)
Type | Name | Description |
---|---|---|
Factory1 | factory | an instance of Factory1 |
RenderingParams | textRenderingParams | Optional text parameters that indicate how text should be rendered. |
Type | Description |
---|---|
DrawingStateBlock1 |
Creates an DrawingStateBlock1 that can be used with the {{SaveDrawingState}} and {{RestoreDrawingState}} methods of a render target.
public static DrawingStateBlock1 Create(Factory1 factory, DrawingStateDescription1 drawingStateDescription, RenderingParams textRenderingParams)
Type | Name | Description |
---|---|---|
Factory1 | factory | an instance of Factory1 |
DrawingStateDescription1 | drawingStateDescription | A structure that contains antialiasing, transform, and tags information. |
RenderingParams | textRenderingParams | Optional text parameters that indicate how text should be rendered. |
Type | Description |
---|---|
DrawingStateBlock1 |