ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.DirectWrite Namespace / GlyphRunAnalysis Class / Create Method / Create(Factory,GlyphRun,Single,Nullable<Matrix3x2>,RenderingMode,MeasuringMode,Single,Single) Method
The factory.
A structure that contains the properties of the glyph run (font face, advances, and so on).
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.
Optional transform applied to the glyphs and their positions. This transform is applied after the scaling specified the emSize and pixelsPerDip.
A value that specifies the rendering mode, which must be one of the raster rendering modes (that is, not default and not outline).
Specifies the measuring mode to use with glyphs.
The horizontal position (X-coordinate) of the baseline origin, in DIPs.
Vertical position (Y-coordinate) of the baseline origin, in DIPs.

In This Topic
    Create(Factory,GlyphRun,Single,Nullable<Matrix3x2>,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 factory As Factory, _
       ByVal glyphRun As GlyphRun, _
       ByVal pixelsPerDip As System.Single, _
       ByVal transform As System.Nullable(Of Matrix3x2), _
       ByVal renderingMode As RenderingMode, _
       ByVal measuringMode As MeasuringMode, _
       ByVal baselineOriginX As System.Single, _
       ByVal baselineOriginY As System.Single _
    ) As GlyphRunAnalysis
    public static GlyphRunAnalysis Create( 
       Factory factory,
       GlyphRun glyphRun,
       System.float pixelsPerDip,
       System.Nullable<Matrix3x2> transform,
       RenderingMode renderingMode,
       MeasuringMode measuringMode,
       System.float baselineOriginX,
       System.float baselineOriginY
    )

    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.
    transform
    Optional transform applied to the glyphs and their positions. This transform is applied after the scaling specified the emSize and pixelsPerDip.
    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.
    Remarks
    The glyph run analysis object contains the results of analyzing the glyph run, including the positions of all the glyphs and references to all of the rasterized glyphs in the font cache.
    See Also