Exemple #1
0
        /// <inheritdoc/>
        public override Size2 MeasureString(String text)
        {
            var source = new StringSource(text);

            return(MeasureString(ref source, 0, text.Length));
        }
Exemple #2
0
        /// <inheritdoc/>
        public override Size2 GetKerningInfo(ref StringSegment text, Int32 ix)
        {
            var source = new StringSource(text);

            return(GetKerningInfo(ref source, ix));
        }
Exemple #3
0
        /// <inheritdoc/>
        public override Size2 GetHypotheticalKerningInfo(ref StringSegment text, Int32 ix, Int32 c2)
        {
            var source = new StringSource(text);

            return(GetHypotheticalKerningInfo(ref source, ix, c2));
        }
Exemple #4
0
        /// <inheritdoc/>
        public override Size2 MeasureGlyphWithoutKerning(ref StringSegment text, Int32 ix)
        {
            var source = new StringSource(text);

            return(MeasureGlyphWithoutKerning(ref source, ix));
        }
Exemple #5
0
        /// <inheritdoc/>
        public override Size2 MeasureGlyphWithHypotheticalKerning(ref StringSegment text, Int32 ix, Int32 c2)
        {
            var source = new StringSource(text);

            return(MeasureGlyphWithHypotheticalKerning(ref source, ix, c2));
        }
Exemple #6
0
        /// <inheritdoc/>
        public override Size2 MeasureGlyph(StringBuilder text, Int32 ix)
        {
            var source = new StringSource(text);

            return(MeasureGlyph(ref source, ix));
        }
Exemple #7
0
 /// <inheritdoc/>
 public override Size2 MeasureString(ref StringSource source)
 {
     return(MeasureString(ref source, 0, source.Length));
 }
Exemple #8
0
        /// <inheritdoc/>
        public override Size2 MeasureString(ref StringSegment text, Int32 start, Int32 count)
        {
            var source = new StringSource(text);

            return(MeasureString(ref source, start, count));
        }