MS\Internal\Text\TypographyProperties.cs (69)
103Debug.Assert((uint)PropertyId.PropertyCount <= 32);
113get { return IsBooleanPropertySet(PropertyId.StandardLigatures); }
118SetBooleanProperty(PropertyId.StandardLigatures, value);
126get { return IsBooleanPropertySet(PropertyId.ContextualLigatures); }
131SetBooleanProperty(PropertyId.ContextualLigatures, value);
139get { return IsBooleanPropertySet(PropertyId.DiscretionaryLigatures); }
144SetBooleanProperty(PropertyId.DiscretionaryLigatures, value);
152get { return IsBooleanPropertySet(PropertyId.HistoricalLigatures); }
157SetBooleanProperty(PropertyId.HistoricalLigatures, value);
165get { return IsBooleanPropertySet(PropertyId.CaseSensitiveForms); }
170SetBooleanProperty(PropertyId.CaseSensitiveForms, value);
178get { return IsBooleanPropertySet(PropertyId.ContextualAlternates); }
183SetBooleanProperty(PropertyId.ContextualAlternates, value);
191get { return IsBooleanPropertySet(PropertyId.HistoricalForms); }
196SetBooleanProperty(PropertyId.HistoricalForms, value);
204get { return IsBooleanPropertySet(PropertyId.Kerning); }
209SetBooleanProperty(PropertyId.Kerning, value);
217get { return IsBooleanPropertySet(PropertyId.CapitalSpacing); }
222SetBooleanProperty(PropertyId.CapitalSpacing, value);
230get { return IsBooleanPropertySet(PropertyId.StylisticSet1); }
235SetBooleanProperty(PropertyId.StylisticSet1, value);
243get { return IsBooleanPropertySet(PropertyId.StylisticSet2); }
248SetBooleanProperty(PropertyId.StylisticSet2, value);
256get { return IsBooleanPropertySet(PropertyId.StylisticSet3); }
261SetBooleanProperty(PropertyId.StylisticSet3, value);
269get { return IsBooleanPropertySet(PropertyId.StylisticSet4); }
274SetBooleanProperty(PropertyId.StylisticSet4, value);
282get { return IsBooleanPropertySet(PropertyId.StylisticSet5); }
287SetBooleanProperty(PropertyId.StylisticSet5, value);
295get { return IsBooleanPropertySet(PropertyId.StylisticSet6); }
300SetBooleanProperty(PropertyId.StylisticSet6, value);
308get { return IsBooleanPropertySet(PropertyId.StylisticSet7); }
313SetBooleanProperty(PropertyId.StylisticSet7, value);
321get { return IsBooleanPropertySet(PropertyId.StylisticSet8); }
326SetBooleanProperty(PropertyId.StylisticSet8, value);
334get { return IsBooleanPropertySet(PropertyId.StylisticSet9); }
339SetBooleanProperty(PropertyId.StylisticSet9, value);
347get { return IsBooleanPropertySet(PropertyId.StylisticSet10); }
352SetBooleanProperty(PropertyId.StylisticSet10, value);
360get { return IsBooleanPropertySet(PropertyId.StylisticSet11); }
365SetBooleanProperty(PropertyId.StylisticSet11, value);
373get { return IsBooleanPropertySet(PropertyId.StylisticSet12); }
378SetBooleanProperty(PropertyId.StylisticSet12, value);
386get { return IsBooleanPropertySet(PropertyId.StylisticSet13); }
391SetBooleanProperty(PropertyId.StylisticSet13, value);
399get { return IsBooleanPropertySet(PropertyId.StylisticSet14); }
404SetBooleanProperty(PropertyId.StylisticSet14, value);
412get { return IsBooleanPropertySet(PropertyId.StylisticSet15); }
417SetBooleanProperty(PropertyId.StylisticSet15, value);
425get { return IsBooleanPropertySet(PropertyId.StylisticSet16); }
430SetBooleanProperty(PropertyId.StylisticSet16, value);
438get { return IsBooleanPropertySet(PropertyId.StylisticSet17); }
443SetBooleanProperty(PropertyId.StylisticSet17, value);
451get { return IsBooleanPropertySet(PropertyId.StylisticSet18); }
456SetBooleanProperty(PropertyId.StylisticSet18, value);
464get { return IsBooleanPropertySet(PropertyId.StylisticSet19); }
469SetBooleanProperty(PropertyId.StylisticSet19, value);
477get { return IsBooleanPropertySet(PropertyId.StylisticSet20); }
482SetBooleanProperty(PropertyId.StylisticSet20, value);
504get { return IsBooleanPropertySet(PropertyId.SlashedZero); }
509SetBooleanProperty(PropertyId.SlashedZero, value);
517get { return IsBooleanPropertySet(PropertyId.MathematicalGreek); }
522SetBooleanProperty(PropertyId.MathematicalGreek, value);
530get { return IsBooleanPropertySet(PropertyId.EastAsianExpertForms); }
535SetBooleanProperty(PropertyId.EastAsianExpertForms, value);
774private bool IsBooleanPropertySet(PropertyId propertyId)
776Debug.Assert((uint)propertyId < (uint)PropertyId.PropertyCount, "Invalid typography property id");
790private void SetBooleanProperty(PropertyId propertyId, bool flagValue)
792Debug.Assert((uint)propertyId < (uint)PropertyId.PropertyCount, "Invalid typography property id");