MS\Internal\Text\TypographyProperties.cs (69)
102Debug.Assert((uint)PropertyId.PropertyCount <= 32);
112get { return IsBooleanPropertySet(PropertyId.StandardLigatures); }
117SetBooleanProperty(PropertyId.StandardLigatures, value);
125get { return IsBooleanPropertySet(PropertyId.ContextualLigatures); }
130SetBooleanProperty(PropertyId.ContextualLigatures, value);
138get { return IsBooleanPropertySet(PropertyId.DiscretionaryLigatures); }
143SetBooleanProperty(PropertyId.DiscretionaryLigatures, value);
151get { return IsBooleanPropertySet(PropertyId.HistoricalLigatures); }
156SetBooleanProperty(PropertyId.HistoricalLigatures, value);
164get { return IsBooleanPropertySet(PropertyId.CaseSensitiveForms); }
169SetBooleanProperty(PropertyId.CaseSensitiveForms, value);
177get { return IsBooleanPropertySet(PropertyId.ContextualAlternates); }
182SetBooleanProperty(PropertyId.ContextualAlternates, value);
190get { return IsBooleanPropertySet(PropertyId.HistoricalForms); }
195SetBooleanProperty(PropertyId.HistoricalForms, value);
203get { return IsBooleanPropertySet(PropertyId.Kerning); }
208SetBooleanProperty(PropertyId.Kerning, value);
216get { return IsBooleanPropertySet(PropertyId.CapitalSpacing); }
221SetBooleanProperty(PropertyId.CapitalSpacing, value);
229get { return IsBooleanPropertySet(PropertyId.StylisticSet1); }
234SetBooleanProperty(PropertyId.StylisticSet1, value);
242get { return IsBooleanPropertySet(PropertyId.StylisticSet2); }
247SetBooleanProperty(PropertyId.StylisticSet2, value);
255get { return IsBooleanPropertySet(PropertyId.StylisticSet3); }
260SetBooleanProperty(PropertyId.StylisticSet3, value);
268get { return IsBooleanPropertySet(PropertyId.StylisticSet4); }
273SetBooleanProperty(PropertyId.StylisticSet4, value);
281get { return IsBooleanPropertySet(PropertyId.StylisticSet5); }
286SetBooleanProperty(PropertyId.StylisticSet5, value);
294get { return IsBooleanPropertySet(PropertyId.StylisticSet6); }
299SetBooleanProperty(PropertyId.StylisticSet6, value);
307get { return IsBooleanPropertySet(PropertyId.StylisticSet7); }
312SetBooleanProperty(PropertyId.StylisticSet7, value);
320get { return IsBooleanPropertySet(PropertyId.StylisticSet8); }
325SetBooleanProperty(PropertyId.StylisticSet8, value);
333get { return IsBooleanPropertySet(PropertyId.StylisticSet9); }
338SetBooleanProperty(PropertyId.StylisticSet9, value);
346get { return IsBooleanPropertySet(PropertyId.StylisticSet10); }
351SetBooleanProperty(PropertyId.StylisticSet10, value);
359get { return IsBooleanPropertySet(PropertyId.StylisticSet11); }
364SetBooleanProperty(PropertyId.StylisticSet11, value);
372get { return IsBooleanPropertySet(PropertyId.StylisticSet12); }
377SetBooleanProperty(PropertyId.StylisticSet12, value);
385get { return IsBooleanPropertySet(PropertyId.StylisticSet13); }
390SetBooleanProperty(PropertyId.StylisticSet13, value);
398get { return IsBooleanPropertySet(PropertyId.StylisticSet14); }
403SetBooleanProperty(PropertyId.StylisticSet14, value);
411get { return IsBooleanPropertySet(PropertyId.StylisticSet15); }
416SetBooleanProperty(PropertyId.StylisticSet15, value);
424get { return IsBooleanPropertySet(PropertyId.StylisticSet16); }
429SetBooleanProperty(PropertyId.StylisticSet16, value);
437get { return IsBooleanPropertySet(PropertyId.StylisticSet17); }
442SetBooleanProperty(PropertyId.StylisticSet17, value);
450get { return IsBooleanPropertySet(PropertyId.StylisticSet18); }
455SetBooleanProperty(PropertyId.StylisticSet18, value);
463get { return IsBooleanPropertySet(PropertyId.StylisticSet19); }
468SetBooleanProperty(PropertyId.StylisticSet19, value);
476get { return IsBooleanPropertySet(PropertyId.StylisticSet20); }
481SetBooleanProperty(PropertyId.StylisticSet20, value);
503get { return IsBooleanPropertySet(PropertyId.SlashedZero); }
508SetBooleanProperty(PropertyId.SlashedZero, value);
516get { return IsBooleanPropertySet(PropertyId.MathematicalGreek); }
521SetBooleanProperty(PropertyId.MathematicalGreek, value);
529get { return IsBooleanPropertySet(PropertyId.EastAsianExpertForms); }
534SetBooleanProperty(PropertyId.EastAsianExpertForms, value);
773private bool IsBooleanPropertySet(PropertyId propertyId)
775Debug.Assert((uint)propertyId < (uint)PropertyId.PropertyCount, "Invalid typography property id");
789private void SetBooleanProperty(PropertyId propertyId, bool flagValue)
791Debug.Assert((uint)propertyId < (uint)PropertyId.PropertyCount, "Invalid typography property id");