private float _firstTabOffset;
private float [] _tabStops;
+
+ private bool _genericTypeographic = false;
#region Constructors
StringFormatFlags.NoClip,
0 );
genericTypographic.Trimming = StringTrimming.None;
+ genericTypographic._genericTypeographic = true;
return genericTypographic;
}
}
#endregion
#region internal accessors
- internal bool NoWrap {\r
- get {\r
- return (FormatFlags & StringFormatFlags.NoWrap) != 0;\r
- }\r
- }\r
-\r
- internal bool IsVertical {\r
- get {\r
- return (FormatFlags & StringFormatFlags.DirectionVertical) != 0;\r
- }\r
- }\r
-\r
- internal bool MeasureTrailingSpaces {\r
- get {\r
- return (FormatFlags & StringFormatFlags.MeasureTrailingSpaces) != 0;\r
- }\r
- }\r
-\r
- internal bool LineLimit {\r
- get {\r
- return (FormatFlags & StringFormatFlags.LineLimit) != 0;\r
- }\r
- }\r
-\r
- internal bool NoClip {\r
- get {\r
- return (FormatFlags & StringFormatFlags.NoClip) != 0;\r
- }\r
+ internal bool NoWrap {
+ get {
+ return (FormatFlags & StringFormatFlags.NoWrap) != 0;
+ }
+ }
+
+ internal bool IsVertical {
+ get {
+ return (FormatFlags & StringFormatFlags.DirectionVertical) != 0;
+ }
}
- internal bool IsRightToLeft {\r
- get {\r
- return (FormatFlags & StringFormatFlags.DirectionRightToLeft) != 0;\r
- }\r
+ internal bool MeasureTrailingSpaces {
+ get {
+ return (FormatFlags & StringFormatFlags.MeasureTrailingSpaces) != 0;
+ }
+ }
+
+ internal bool LineLimit {
+ get {
+ return (FormatFlags & StringFormatFlags.LineLimit) != 0;
+ }
+ }
+
+ internal bool NoClip {
+ get {
+ return (FormatFlags & StringFormatFlags.NoClip) != 0;
+ }
+ }
+
+ internal bool IsRightToLeft {
+ get {
+ return (FormatFlags & StringFormatFlags.DirectionRightToLeft) != 0;
+ }
}
internal CharacterRange [] CharRanges {
return _charRanges;
}
}
+
+ internal bool IsGenericTypographic
+ {
+ get {
+ return _genericTypeographic;
+ }
+ }
#endregion
#region public methods
public void SetTabStops(float firstTabOffset, float[] tabStops) {
// _firstTabOffset = firstTabOffset;
// _tabStops = tabStops != null ? (float[])tabStops.Clone() : null;
- throw new NotSupportedException();
+ throw new NotImplementedException();
}
public void SetDigitSubstitution(int language, StringDigitSubstitute substitute) {
// _digitSubstituteMethod = substitute;
// _digitSubstituteLanguage = language;
- throw new NotSupportedException();
+ throw new NotImplementedException();
}
[MonoTODO]