MS\Internal\Text\TypographyProperties.cs (69)
106Debug.Assert((uint)PropertyId.PropertyCount <= 32);
116get { return IsBooleanPropertySet(PropertyId.StandardLigatures); }
121SetBooleanProperty(PropertyId.StandardLigatures, value);
129get { return IsBooleanPropertySet(PropertyId.ContextualLigatures); }
134SetBooleanProperty(PropertyId.ContextualLigatures, value);
142get { return IsBooleanPropertySet(PropertyId.DiscretionaryLigatures); }
147SetBooleanProperty(PropertyId.DiscretionaryLigatures, value);
155get { return IsBooleanPropertySet(PropertyId.HistoricalLigatures); }
160SetBooleanProperty(PropertyId.HistoricalLigatures, value);
168get { return IsBooleanPropertySet(PropertyId.CaseSensitiveForms); }
173SetBooleanProperty(PropertyId.CaseSensitiveForms, value);
181get { return IsBooleanPropertySet(PropertyId.ContextualAlternates); }
186SetBooleanProperty(PropertyId.ContextualAlternates, value);
194get { return IsBooleanPropertySet(PropertyId.HistoricalForms); }
199SetBooleanProperty(PropertyId.HistoricalForms, value);
207get { return IsBooleanPropertySet(PropertyId.Kerning); }
212SetBooleanProperty(PropertyId.Kerning, value);
220get { return IsBooleanPropertySet(PropertyId.CapitalSpacing); }
225SetBooleanProperty(PropertyId.CapitalSpacing, value);
233get { return IsBooleanPropertySet(PropertyId.StylisticSet1); }
238SetBooleanProperty(PropertyId.StylisticSet1, value);
246get { return IsBooleanPropertySet(PropertyId.StylisticSet2); }
251SetBooleanProperty(PropertyId.StylisticSet2, value);
259get { return IsBooleanPropertySet(PropertyId.StylisticSet3); }
264SetBooleanProperty(PropertyId.StylisticSet3, value);
272get { return IsBooleanPropertySet(PropertyId.StylisticSet4); }
277SetBooleanProperty(PropertyId.StylisticSet4, value);
285get { return IsBooleanPropertySet(PropertyId.StylisticSet5); }
290SetBooleanProperty(PropertyId.StylisticSet5, value);
298get { return IsBooleanPropertySet(PropertyId.StylisticSet6); }
303SetBooleanProperty(PropertyId.StylisticSet6, value);
311get { return IsBooleanPropertySet(PropertyId.StylisticSet7); }
316SetBooleanProperty(PropertyId.StylisticSet7, value);
324get { return IsBooleanPropertySet(PropertyId.StylisticSet8); }
329SetBooleanProperty(PropertyId.StylisticSet8, value);
337get { return IsBooleanPropertySet(PropertyId.StylisticSet9); }
342SetBooleanProperty(PropertyId.StylisticSet9, value);
350get { return IsBooleanPropertySet(PropertyId.StylisticSet10); }
355SetBooleanProperty(PropertyId.StylisticSet10, value);
363get { return IsBooleanPropertySet(PropertyId.StylisticSet11); }
368SetBooleanProperty(PropertyId.StylisticSet11, value);
376get { return IsBooleanPropertySet(PropertyId.StylisticSet12); }
381SetBooleanProperty(PropertyId.StylisticSet12, value);
389get { return IsBooleanPropertySet(PropertyId.StylisticSet13); }
394SetBooleanProperty(PropertyId.StylisticSet13, value);
402get { return IsBooleanPropertySet(PropertyId.StylisticSet14); }
407SetBooleanProperty(PropertyId.StylisticSet14, value);
415get { return IsBooleanPropertySet(PropertyId.StylisticSet15); }
420SetBooleanProperty(PropertyId.StylisticSet15, value);
428get { return IsBooleanPropertySet(PropertyId.StylisticSet16); }
433SetBooleanProperty(PropertyId.StylisticSet16, value);
441get { return IsBooleanPropertySet(PropertyId.StylisticSet17); }
446SetBooleanProperty(PropertyId.StylisticSet17, value);
454get { return IsBooleanPropertySet(PropertyId.StylisticSet18); }
459SetBooleanProperty(PropertyId.StylisticSet18, value);
467get { return IsBooleanPropertySet(PropertyId.StylisticSet19); }
472SetBooleanProperty(PropertyId.StylisticSet19, value);
480get { return IsBooleanPropertySet(PropertyId.StylisticSet20); }
485SetBooleanProperty(PropertyId.StylisticSet20, value);
507get { return IsBooleanPropertySet(PropertyId.SlashedZero); }
512SetBooleanProperty(PropertyId.SlashedZero, value);
520get { return IsBooleanPropertySet(PropertyId.MathematicalGreek); }
525SetBooleanProperty(PropertyId.MathematicalGreek, value);
533get { return IsBooleanPropertySet(PropertyId.EastAsianExpertForms); }
538SetBooleanProperty(PropertyId.EastAsianExpertForms, value);
777private bool IsBooleanPropertySet(PropertyId propertyId)
779Debug.Assert((uint)propertyId < (uint)PropertyId.PropertyCount, "Invalid typography property id");
793private void SetBooleanProperty(PropertyId propertyId, bool flagValue)
795Debug.Assert((uint)propertyId < (uint)PropertyId.PropertyCount, "Invalid typography property id");