[]
Default implementation of TextRenderer. Need to implement at least a DrawXXX method to use it.
public class TextRendererBase : CallbackBase, TextRenderer, PixelSnapping, ICallbackable, IDisposable
| Name | Description |
|---|---|
| TextRendererBase() |
| Name | Description |
|---|---|
| DrawGlyphRun(object, float, float, MeasuringMode, GlyphRun, GlyphRunDescription, IntPtr) | IDWriteTextLayout::Draw calls this function to instruct the client to render a run of glyphs. |
| DrawInlineObject(object, float, float, InlineObject, bool, bool, IntPtr) | IDWriteTextLayout::Draw calls this application callback when it needs to draw an inline object. |
| DrawStrikethrough(object, float, float, ref Strikethrough, IntPtr) | IDWriteTextLayout::Draw calls this function to instruct the client to draw a strikethrough. |
| DrawUnderline(object, float, float, ref Underline, IntPtr) | IDWriteTextLayout::Draw calls this function to instruct the client to draw an underline. |
| GetCurrentTransform(object) | Gets a transform that maps abstract coordinates to DIPs. |
| GetPixelsPerDip(object) | Gets the number of physical pixels per DIP. |
| IsPixelSnappingDisabled(object) | Determines whether pixel snapping is disabled. The recommended default is FALSE, unless doing animation that requires subpixel vertical placement. |