-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathCanvasFontFace.xml
444 lines (437 loc) · 30 KB
/
CanvasFontFace.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
<?xml version="1.0"?>
<!--
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See LICENSE.txt in the project root for license information.
-->
<doc>
<assembly>
<name>Microsoft.Graphics.Canvas</name>
</assembly>
<members>
<member name="T:Microsoft.Graphics.Canvas.Text.CanvasFontFileFormatType">
<summary>Indicates the file format of a font face.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasFontFileFormatType.Cff">
<summary>An OpenType font face with CFF outlines.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasFontFileFormatType.TrueType">
<summary>An OpenType font face with TrueType outlines.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasFontFileFormatType.TrueTypeCollection">
<summary>An OpenType font face that is a part of a TrueType collection.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasFontFileFormatType.Type1">
<summary>A Type 1 font face.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasFontFileFormatType.Vector">
<summary>A vector .FON format font face.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasFontFileFormatType.Bitmap">
<summary>A bitmap .FON format font face.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasFontFileFormatType.Unknown">
<summary>Font face type is not recognized by the DirectWrite font system.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasFontFileFormatType.RawCff">
<summary>The font data includes only the CFF table from an OpenType CFF font. This font face type can be used only for embedded fonts (i.e., custom font file loaders) and the resulting font face object supports only the minimum functionality necessary to render glyphs.</summary>
</member>
<member name="T:Microsoft.Graphics.Canvas.Text.CanvasFontInformation">
<summary>Specifies an informational string embedded in a font file.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasFontInformation.None">
<summary>Indicates the string containing the unspecified name ID.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasFontInformation.CopyrightNotice">
<summary>Indicates the string containing the copyright notice provided by the font.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasFontInformation.VersionStrings">
<summary>Indicates the string containing a version number.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasFontInformation.Trademark">
<summary>Indicates the string containing the trademark information provided by the font.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasFontInformation.Manufacturer">
<summary>Indicates the string containing the name of the font manufacturer.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasFontInformation.Designer">
<summary>Indicates the string containing the name of the font designer.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasFontInformation.DesignerUrl">
<summary>Indicates the string containing the URL of the font designer (with protocol, e.g., http://, ftp://).</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasFontInformation.Description">
<summary>Indicates the string containing the description of the font. This may also contain revision information, usage recommendations, history, features, and so on.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasFontInformation.FontVendorUrl">
<summary>Indicates the string containing the URL of the font vendor (with protocol, e.g., http://, ftp://). If a unique serial number is embedded in the URL, it can be used to register the font.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasFontInformation.LicenseDescription">
<summary>Indicates the string containing the description of how the font may be legally used, or different example scenarios for licensed use.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasFontInformation.LicenseInfoUrl">
<summary>Indicates the string containing the URL where additional licensing information can be found.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasFontInformation.Win32FamilyNames">
<summary>Indicates the string containing the GDI-compatible family name. Since GDI allows a maximum of four fonts per family, fonts in the same family may have different GDI-compatible family names (e.g., "Arial", "Arial Narrow", "Arial Black").</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasFontInformation.Win32SubfamilyNames">
<summary>Indicates the string containing a GDI-compatible subfamily name.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasFontInformation.PreferredFamilyNames">
<summary>Indicates the string containing the family name preferred by the designer. This enables font designers to group more than four fonts in a single family without losing compatibility with GDI. This name is typically only present if it differs from the GDI-compatible family name.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasFontInformation.PreferredSubfamilyNames">
<summary>Indicates the string containing the subfamily name preferred by the designer. This name is typically only present if it differs from the GDI-compatible subfamily name.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasFontInformation.SampleText">
<summary>Contains sample text for display in font lists. This can be the font name or any other text that the designer thinks is the best example to display the font in.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasFontInformation.FullName">
<summary>The full name of the font- e.g. "Arial Bold", from name id 4 in the name table.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasFontInformation.PostscriptName">
<summary>The postscript name of the font, like GillSans-Bold, from name id 6 in the name table.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasFontInformation.PostscriptCidName">
<summary>The postscript CID findfont name, from name id 20 in the name table</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasFontInformation.WwsFamilyName">
<summary>Family name for the weight-width-slope model.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasFontInformation.DesignScriptLanguageTag">
<summary>Script/language tag to identify the scripts or languages that the font was primarily designed to support.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasFontInformation.SupportedScriptLanguageTag">
<summary>Script/language tag to identify the scripts or languages that the font declares it is able to support.</summary>
</member>
<member name="T:Microsoft.Graphics.Canvas.Text.CanvasFontFace">
<summary>Represents a font, and its associated properties.</summary>
<remarks>
<p>
The recommended line spacing (baseline-to-baseline distance) for characters in the font is
represented by the sum of Ascent, Descent, and LineGap. The line gap is usually positive
or zero but can be negative, in which case the recommended line spacing is less than the
height of the character alignment box.
</p>
<p>
When using <a href="Interop.htm">Direct2D interop</a>, this Win2D class
corresponds to the DirectWrite interface IDWriteFontFaceReference.
</p>
</remarks>
</member>
<member name="M:Microsoft.Graphics.Canvas.Text.CanvasFontFace.GetRecommendedRenderingMode(System.Single,System.Single,Microsoft.Graphics.Canvas.Text.CanvasTextMeasuringMode,Microsoft.Graphics.Canvas.Text.CanvasTextRenderingParameters)">
<summary>Determines the recommended rendering mode for the font, using the specified size and rendering constraints.</summary>
</member>
<member name="M:Microsoft.Graphics.Canvas.Text.CanvasFontFace.GetRecommendedRenderingMode(System.Single,System.Single,Microsoft.Graphics.Canvas.Text.CanvasTextMeasuringMode,Microsoft.Graphics.Canvas.Text.CanvasTextRenderingParameters,System.Numerics.Matrix3x2,System.Boolean,Microsoft.Graphics.Canvas.CanvasAntialiasing)">
<summary>Determines the recommended rendering mode for the font, using the specified size and rendering constraints.</summary>
</member>
<member name="M:Microsoft.Graphics.Canvas.Text.CanvasFontFace.GetRecommendedGridFit(System.Single,System.Single,Microsoft.Graphics.Canvas.Text.CanvasTextMeasuringMode,Microsoft.Graphics.Canvas.Text.CanvasTextRenderingParameters,System.Numerics.Matrix3x2,System.Boolean,Microsoft.Graphics.Canvas.CanvasAntialiasing)">
<summary>Determines the recommended grid fit for the font, using the specified size and rendering constraints.</summary>
</member>
<member name="M:Microsoft.Graphics.Canvas.Text.CanvasFontFace.GetVerticalGlyphVariants(System.Int32[])">
<summary>Retrieves the vertical forms of the nominal glyphs retrieved from GetGlyphIndices.</summary>
</member>
<member name="M:Microsoft.Graphics.Canvas.Text.CanvasFontFace.GetGlyphIndices(System.UInt32[])">
<summary>Returns the nominal mapping of UCS4 Unicode code points to glyph indices as defined by the font 'CMAP' table.</summary>
</member>
<member name="M:Microsoft.Graphics.Canvas.Text.CanvasFontFace.GetGlyphMetrics(System.Int32[],System.Boolean)">
<summary>Gets the metrics and bounds of the glyphs that would get drawn in em units.</summary>
</member>
<member name="M:Microsoft.Graphics.Canvas.Text.CanvasFontFace.GetGdiCompatibleGlyphMetrics(System.Single,System.Single,System.Numerics.Matrix3x2,System.Boolean,System.Int32[],System.Boolean)">
<summary>Gets the metrics and bounds of the glyphs that would get drawn, compatible with what GDI would produce, in em units.</summary>
</member>
<member name="M:Microsoft.Graphics.Canvas.Text.CanvasFontFace.GetInformationalStrings(Microsoft.Graphics.Canvas.Text.CanvasFontInformation)">
<summary>Gets an informational string contained by the font.</summary>
</member>
<member name="M:Microsoft.Graphics.Canvas.Text.CanvasFontFace.HasCharacter(System.UInt32)">
<summary>Gets whether this font face contains the specified unicode character.</summary>
</member>
<member name="M:Microsoft.Graphics.Canvas.Text.CanvasFontFace.Dispose">
<summary>Releases all resources used by the CanvasFontFace.</summary>
</member>
<member name="P:Microsoft.Graphics.Canvas.Text.CanvasFontFace.Ascent">
<summary>Gets the ascent value of the font face. Ascent is the distance from the top of font character alignment box to the Latin-script baseline.</summary>
</member>
<member name="P:Microsoft.Graphics.Canvas.Text.CanvasFontFace.CapHeight">
<summary>Gets the cap height value of the font face. Cap height is the distance from the Latin-script baseline to the top of a typical Latin-script capital. Capital "H" is often used as a reference character for the purpose of calculating the cap height value.</summary>
</member>
<member name="P:Microsoft.Graphics.Canvas.Text.CanvasFontFace.CaretOffset">
<summary>Gets the horizontal offset of the caret along the baseline for good appearance. An offset of 0 is returned for perfectly upright fonts (non-italic).</summary>
</member>
<member name="P:Microsoft.Graphics.Canvas.Text.CanvasFontFace.CaretSlopeRise">
<summary>Gets the vertical rise of the caret. CaretSlopeRise / CaretSlopeRun yields the caret angle. A rise value of 1 is returned for perfectly upright fonts (non-italic).</summary>
</member>
<member name="P:Microsoft.Graphics.Canvas.Text.CanvasFontFace.CaretSlopeRun">
<summary>Gets the horizontal run of the caret. CaretSlopeRise / CaretSlopeRun yields the caret angle. A run value of 0 for perfectly upright fonts (non-italic).</summary>
</member>
<member name="P:Microsoft.Graphics.Canvas.Text.CanvasFontFace.Descent">
<summary>Gets the descent value of the font face in font design units. Descent is the distance from the bottom of font character alignment box to the Latin-script baseline.</summary>
</member>
<member name="P:Microsoft.Graphics.Canvas.Text.CanvasFontFace.FaceNames">
<summary>Gets a map of localized strings that contain the face names for the font (for example, Regular or Bold).</summary>
</member>
<member name="P:Microsoft.Graphics.Canvas.Text.CanvasFontFace.FamilyNames">
<summary>Gets a map of localized strings that contain the family name for the font (for example, Arial, Segoe UI, or Comic Sans MS).</summary>
</member>
<member name="P:Microsoft.Graphics.Canvas.Text.CanvasFontFace.FileFormatType">
<summary>Gets the file format type of a font face. </summary>
</member>
<member name="P:Microsoft.Graphics.Canvas.Text.CanvasFontFace.GlyphBox">
<summary>Gets the accumulated draw bounds of all glyphs in the font.</summary>
</member>
<member name="P:Microsoft.Graphics.Canvas.Text.CanvasFontFace.GlyphCount">
<summary>Gets the number of glyphs in the font.</summary>
</member>
<member name="P:Microsoft.Graphics.Canvas.Text.CanvasFontFace.HasTypographicMetrics">
<summary>Gets whether the ascent, descent, and lineGap are based on newer 'typographic' values in the font, rather than legacy values.</summary>
</member>
<member name="P:Microsoft.Graphics.Canvas.Text.CanvasFontFace.HasVerticalGlyphVariants">
<summary>Gets whether the font has any vertical glyph variants.</summary>
</member>
<member name="P:Microsoft.Graphics.Canvas.Text.CanvasFontFace.IsMonospaced">
<summary>Gets whether the font is monospaced; that is, all glyphs' layout boxes are equally sized and spaced apart.</summary>
</member>
<member name="P:Microsoft.Graphics.Canvas.Text.CanvasFontFace.IsSymbolFont">
<summary>Gets whether the font is a symbol font.</summary>
</member>
<member name="P:Microsoft.Graphics.Canvas.Text.CanvasFontFace.LineGap">
<summary>Gets the line gap for the font. This is the recommended additional white space to add between lines. </summary>
</member>
<member name="P:Microsoft.Graphics.Canvas.Text.CanvasFontFace.LowercaseLetterHeight">
<summary>Gets the lowercase letter height of the font face. This is the distance from the Latin-script baseline to the top of lowercase letter "x", or a similar lowercase character.</summary>
</member>
<member name="P:Microsoft.Graphics.Canvas.Text.CanvasFontFace.Simulations">
<summary>Gets the algorithmic style simulation flags of a font face. </summary>
</member>
<member name="P:Microsoft.Graphics.Canvas.Text.CanvasFontFace.Stretch">
<summary>Gets the the degree to which the font is stretched, compared to the normal aspect ratio of that font.</summary>
</member>
<member name="P:Microsoft.Graphics.Canvas.Text.CanvasFontFace.StrikethroughPosition">
<summary>Gets the strikethrough position, which is relative to the Latin-script baseline. </summary>
<remarks>This value is usually positive, which places the strikethrough above the baseline.</remarks>
</member>
<member name="P:Microsoft.Graphics.Canvas.Text.CanvasFontFace.StrikethroughThickness">
<summary>Gets the thickness of the strikethrough for this font.</summary>
</member>
<member name="P:Microsoft.Graphics.Canvas.Text.CanvasFontFace.Style">
<summary>Gets whether the typeface is oblique, or italic, or the default.</summary>
</member>
<member name="P:Microsoft.Graphics.Canvas.Text.CanvasFontFace.SubscriptPosition">
<summary>Gets the subscript position, which is relative to the baseline origin.</summary>
<remarks>This is typically negative (to the left) in italic and oblique fonts, and zero in regular fonts.</remarks>
</member>
<member name="P:Microsoft.Graphics.Canvas.Text.CanvasFontFace.SubscriptSize">
<summary>Gets the size of a subscript.</summary>
<remarks>Fonts may opt out of specifying this, in which case the width and/or height are returned as zero.</remarks>
</member>
<member name="P:Microsoft.Graphics.Canvas.Text.CanvasFontFace.SuperscriptPosition">
<summary>Gets the superscript position, which is relative to the baseline origin.</summary>
<remarks>This is typically positive (to the right) in italic and oblique fonts, and zero in regular fonts.</remarks>
</member>
<member name="P:Microsoft.Graphics.Canvas.Text.CanvasFontFace.SuperscriptSize">
<summary>Gets the size of a superscript.</summary>
<remarks>Fonts may opt out of specifying this, in which case the width and/or height are returned as zero.</remarks>
</member>
<member name="P:Microsoft.Graphics.Canvas.Text.CanvasFontFace.UnderlinePosition">
<summary>Gets the underline position, relative to the Latin-script baseline.</summary>
<remarks>The value is usually made negative in order to place the underline below the baseline.</remarks>
</member>
<member name="P:Microsoft.Graphics.Canvas.Text.CanvasFontFace.UnderlineThickness">
<summary>Gets the thickness of underlines.</summary>
</member>
<member name="P:Microsoft.Graphics.Canvas.Text.CanvasFontFace.UnicodeRanges">
<summary>Gets a list of character ranges supported by a font.</summary>
</member>
<member name="P:Microsoft.Graphics.Canvas.Text.CanvasFontFace.Weight">
<summary>Gets the weight of this font.</summary>
<remarks>Font weight indicates the density of a typeface, in terms of the lightness or heaviness of the strokes.</remarks>
</member>
<member name="T:Microsoft.Graphics.Canvas.Text.CanvasFontSimulations">
<summary>Describes algorithmic style simulations that can be applied to the font face.</summary>
<remarks>
<p>
Simulations are for when an app wants bold or italic faces of
a font, but the font does not come built-in with bold or italic faces.
A simulation will automatically generate a bold and/or italic face
for that font, using an algorithm.
The simulation may incur a performance cost, and may
lack the visual quality of a face designed by the font author.
However, simulations can be used to stylize a wide variety of fonts.
</p>
<p>Bold and oblique simulations can be combined, via bitwise OR operation.</p></remarks>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasFontSimulations.None">
<summary>Indicates that no simulations are applied to the font face.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasFontSimulations.Bold">
<summary>Indicates that algorithmic emboldening is applied to the font face. </summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasFontSimulations.Oblique">
<summary>Indicates that algorithmic italicization is applied to the font face.</summary>
</member>
<member name="T:Microsoft.Graphics.Canvas.Text.CanvasTextMeasuringMode">
<summary>Indicates the measuring method used for a piece of text.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasTextMeasuringMode.Natural">
<summary>Specifies that text is measured using glyph ideal metrics whose values are independent to the current display resolution.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasTextMeasuringMode.GdiClassic">
<summary>Specifies that text is measured using glyph display-compatible metrics whose values tuned for the current display resolution.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasTextMeasuringMode.GdiNatural">
<summary>Specifies that text is measured using the same glyph display metrics as text measured by GDI using a font created with the CLEARTYPE_NATURAL_QUALITY GDI option.</summary>
</member>
<member name="T:Microsoft.Graphics.Canvas.Text.CanvasUnicodeRange">
<summary>Represents a range, from starting to ending code points, of Unicode characters.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasUnicodeRange.First">
<summary>The first code point in the Unicode range.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasUnicodeRange.Last">
<summary>The last code point in the Unicode range.</summary>
</member>
<member name="T:Microsoft.Graphics.Canvas.Text.CanvasGlyphMetrics">
<summary>Represents the metrics of an individual glyph in em units.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasGlyphMetrics.LeftSideBearing">
<summary>Specifies the X offset from the glyph origin to the left edge of the black box. The glyph origin is the current horizontal writing position. A negative value means the black box extends to the left of the origin (often true for lowercase italic 'f').</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasGlyphMetrics.AdvanceWidth">
<summary>Specifies the X offset from the origin of the current glyph to the origin of the next glyph when writing horizontally.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasGlyphMetrics.RightSideBearing">
<summary>Specifies the X offset from the right edge of the black box to the origin of the next glyph when writing horizontally. The value is negative when the right edge of the black box overhangs the layout box.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasGlyphMetrics.TopSideBearing">
<summary>Specifies the vertical offset from the vertical origin to the top of the black box. Thus, a positive value adds whitespace whereas a negative value means the glyph overhangs the top of the layout box.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasGlyphMetrics.AdvanceHeight">
<summary>Specifies the Y offset from the vertical origin of the current glyph to the vertical origin of the next glyph when writing vertically. Note that the term "origin" by itself denotes the horizontal origin. The vertical origin is different. Its Y coordinate is specified by verticalOriginY value, and its X coordinate is half the advanceWidth to the right of the horizontal origin.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasGlyphMetrics.BottomSideBearing">
<summary>Specifies the vertical distance from the bottom edge of the black box to the advance height. This is positive when the bottom edge of the black box is within the layout box, or negative when the bottom edge of black box overhangs the layout box.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasGlyphMetrics.VerticalOrigin">
<summary>Specifies the Y coordinate of a glyph's vertical origin, in the font's design coordinate system. The y coordinate of a glyph's vertical origin is the sum of the glyph's top side bearing and the top (that is, yMax) of the glyph's bounding box.</summary>
</member>
<member name="F:Microsoft.Graphics.Canvas.Text.CanvasGlyphMetrics.DrawBounds">
<summary>Specifies the bounds of the parts of the glyph are covered if the glyph is drawn.</summary>
</member>
<member name="M:Microsoft.Graphics.Canvas.Text.CanvasFontFace.GetGlyphRunBounds(Microsoft.Graphics.Canvas.CanvasDrawingSession,System.Numerics.Vector2,System.Single,Microsoft.Graphics.Canvas.Text.CanvasGlyph[],System.Boolean,System.UInt32)">
<summary>Gets the bounds of a glyph run using this font face.</summary>
<remarks>
<p>
An app's DrawGlyphRun callback in its custom text renderer can use this
method to get the bounds of a glyph run if it were drawn to
a particular drawing session.
</p>
<p>
This method returns layout bounds, not draw bounds. For more information on the
difference between the two, see
<see cref="F:Microsoft.Graphics.Canvas.Text.CanvasTextLayoutRegion.LayoutBounds"/>.
</p>
<p>
The returned bounds reflect the DPI, transform and unit mode of the
CanvasDrawingSession passed in.
</p>
<p>
This method uses the measuring mode CanvasTextMeasuringMode.Natural.
</p>
</remarks>
</member>
<member name="M:Microsoft.Graphics.Canvas.Text.CanvasFontFace.GetGlyphRunBounds(Microsoft.Graphics.Canvas.CanvasDrawingSession,System.Numerics.Vector2,System.Single,Microsoft.Graphics.Canvas.Text.CanvasGlyph[],System.Boolean,System.UInt32,Microsoft.Graphics.Canvas.Text.CanvasTextMeasuringMode)">
<summary>Gets the bounds of a glyph run using this font face, using the specified measuring mode.</summary>
<remarks>
<p>
An app's DrawGlyphRun callback in its custom text renderer can use this
method to get the bounds of a glyph run if it were drawn to
a particular drawing session.
</p>
<p>
This method returns layout bounds, not draw bounds. For more information on the
difference between the two, see
<see cref="F:Microsoft.Graphics.Canvas.Text.CanvasTextLayoutRegion.LayoutBounds"/>.
</p>
<p>
The returned bounds reflect the DPI, transform and unit mode of the
CanvasDrawingSession passed in.
</p>
</remarks>
</member>
<member name="P:Microsoft.Graphics.Canvas.Text.CanvasFontFace.Panose">
<summary>Gets the PANOSE values for this font face.</summary>
<remarks>
<p>
PANOSE is a visual classification system for identifying typefaces.
For more information about PANOSE, see the
<a href="http://www.w3.org/Fonts/Panose/pan2.html">
PANOSE 2.0 specification</a>.
</p>
</remarks>
</member>
<member name="M:Microsoft.Graphics.Canvas.Text.CanvasFontFace.GetSupportedTypographicFeatureNames(Microsoft.Graphics.Canvas.Text.CanvasAnalyzedScript)">
<summary>Gets an array of the supported typographic features for this font face.</summary>
<remarks>
<p>
This method may return elements which do not map to actual
<see cref="T:Microsoft.Graphics.Canvas.Text.CanvasTypographyFeatureName"/>
values. This is intended. Fonts are free to expose their own custom features,
which may not belong to the frequently-used set enumerated from CanvasTypographyFeatureName.
These feature identifiers and behaviors vary, depending on the font.
</p>
<p>
This method uses the default locale.
</p>
</remarks>
</member>
<member name="M:Microsoft.Graphics.Canvas.Text.CanvasFontFace.GetSupportedTypographicFeatureNames(Microsoft.Graphics.Canvas.Text.CanvasAnalyzedScript,System.String)">
<summary>Gets an array of the supported typographic features for this font face.</summary>
<remarks>
<p>
This method may return elements which do not map to actual
<see cref="T:Microsoft.Graphics.Canvas.Text.CanvasTypographyFeatureName"/>
values. This is intended. Fonts are free to expose their own custom features,
which may not belong to the frequently-used set enumerated from CanvasTypographyFeatureName.
These feature identifiers and behaviors vary, depending on the font.
</p>
</remarks>
</member>
<member name="M:Microsoft.Graphics.Canvas.Text.CanvasFontFace.GetTypographicFeatureGlyphSupport(Microsoft.Graphics.Canvas.Text.CanvasAnalyzedScript,Microsoft.Graphics.Canvas.Text.CanvasTypographyFeatureName,Microsoft.Graphics.Canvas.Text.CanvasGlyph[])">
<summary>Gets an array of booleans, as to whether a set of glyphs can be used with the specified typographic feature.</summary>
<remarks>
<inherittemplate name="GetTypographicFeatureGlyphSupportTemplate" />
<p>
This method uses the default locale.
</p>
</remarks>
</member>
<member name="M:Microsoft.Graphics.Canvas.Text.CanvasFontFace.GetTypographicFeatureGlyphSupport(Microsoft.Graphics.Canvas.Text.CanvasAnalyzedScript,Microsoft.Graphics.Canvas.Text.CanvasTypographyFeatureName,Microsoft.Graphics.Canvas.Text.CanvasGlyph[],System.String)">
<summary>Gets an array of booleans, as to whether a set of glyphs can be used with the specified typographic feature.</summary>
<remarks>
<inherittemplate name="GetTypographicFeatureGlyphSupportTemplate" />
</remarks>
</member>
<template name="GetTypographicFeatureGlyphSupportTemplate">
<p>
Calling GetTypographicFeatureGlyphSupport is a good way to determine
whether a set of glyphs are eligible for a typographic feature,
when that typographic feature has not yet been enabled.
</p>
<p>
If the feature has already been enabled, it's worth noting that
typographic features cause glyph substitution. For example, if an app:
<ul>
<li>has a custom ICanvasTextRenderer, and </li>
<li>passes CanvasGlyphs from its DrawGlyphRun handler to GetTypographicFeatureGlyphSupport, and </li>
<li>that DrawGlyphRun was caused by drawing a text layout which already has the feature enabled,</li>
</ul>
then some glyphs will be reported as ineligible for the feature! Reason being, they've already been substituted.
</p>
<p>
It is an error to pass
<see cref="F:Microsoft.Graphics.Canvas.Text.CanvasTypographyFeatureName.None">CanvasTypographyFeatureName.None</see>
to this method.
</p>
</template>
</members>
</doc>