[]
        
(Showing Draft Content)

C1.Util.DX.DirectWrite.BitmapRenderTarget

BitmapRenderTarget Class

IDWriteBitmapRenderTarget

Inheritance
BitmapRenderTarget
Implements
Namespace: C1.Util.DX.DirectWrite
Assembly: C1.Win.C1DX.4.8.dll
Syntax
[Guid("5e5a32a3-8dff-4773-9ff6-0696eab77267")]
public class BitmapRenderTarget : ComObject, IDisposable, IUnknown

Constructors

Name Description
BitmapRenderTarget(IntPtr)

Initializes a new instance of the BitmapRenderTarget class.

Properties

Name Description
CurrentTransform

GetCurrentTransform / SetCurrentTransform

Methods

Name Description
DrawGlyphRun(float, float, MeasuringMode, GlyphRun, RenderingParams, int)

Draws a run of glyphs to a bitmap target at the specified position.

DrawGlyphRun(float, float, MeasuringMode, GlyphRun, RenderingParams, int, out RectL)

HRESULT IDWriteBitmapRenderTarget::DrawGlyphRun([In] float baselineOriginX,[In] float baselineOriginY,[In] DWRITE_MEASURING_MODE measuringMode,[In] const DWRITE_GLYPH_RUN* glyphRun,[In] IDWriteRenderingParams* renderingParams,[In] COLORREF textColor,[Out, Optional] RECT* blackBoxRect)

GetCurrentTransform(out Matrix3x2)

HRESULT IDWriteBitmapRenderTarget::GetCurrentTransform([Out] DWRITE_MATRIX* transform)

GetMemoryDC()

HDC IDWriteBitmapRenderTarget::GetMemoryDC()

GetPixelsPerDip()

float IDWriteBitmapRenderTarget::GetPixelsPerDip()

GetSize()

HRESULT IDWriteBitmapRenderTarget::GetSize([Out] SIZE* size)

Resize(int, int)

HRESULT IDWriteBitmapRenderTarget::Resize([In] unsigned int width,[In] unsigned int height)

SetCurrentTransform(Matrix3x2?)

HRESULT IDWriteBitmapRenderTarget::SetCurrentTransform([In, Optional] const DWRITE_MATRIX* transform)

SetPixelsPerDip(float)

HRESULT IDWriteBitmapRenderTarget::SetPixelsPerDip([In] float pixelsPerDip)

Operators

Name Description
explicit operator BitmapRenderTarget(IntPtr)

Performs an explicit conversion from IntPtr to BitmapRenderTarget.