Create(Factory,GlyphRun,Single,RenderingMode,MeasuringMode,Single,Single) Method
In This Topic
Creates a glyph run analysis object, which encapsulates information used to render a glyph run.
Syntax
'Declaration
Public Overloads Shared Function Create( _
ByVal As Factory, _
ByVal As GlyphRun, _
ByVal As System.Single, _
ByVal As RenderingMode, _
ByVal As MeasuringMode, _
ByVal As System.Single, _
ByVal As System.Single _
) As GlyphRunAnalysis
public static GlyphRunAnalysis Create(
Factory ,
GlyphRun ,
System.float ,
RenderingMode ,
MeasuringMode ,
System.float ,
System.float
)
Parameters
- factory
- The factory.
- glyphRun
- A structure that contains the properties of the glyph run (font face, advances, and so on).
- pixelsPerDip
- Number of physical pixels per DIP (device independent pixel). For example, if rendering onto a 96 DPI bitmap then pixelsPerDip is 1. If rendering onto a 120 DPI bitmap then pixelsPerDip is 1.25.
- renderingMode
- A value that specifies the rendering mode, which must be one of the raster rendering modes (that is, not default and not outline).
- measuringMode
- Specifies the measuring mode to use with glyphs.
- baselineOriginX
- The horizontal position (X-coordinate) of the baseline origin, in DIPs.
- baselineOriginY
- Vertical position (Y-coordinate) of the baseline origin, in DIPs.
See Also