示例#1
0
      public Area GetArea(IFormattingContext context, IFontHandle fontHandle, char c)
		{
			Area result = null;
			ushort glyphIndex = (ushort)(c + offset);
      if (glyphIndex >= first && glyphIndex <= last)
			{
				result = new GlyphArea(context, fontHandle, glyphIndex);
			}
			return result;
		}
示例#2
0
        public Area GetArea(IFormattingContext context, IFontHandle fontHandle, char c)
        {
            Area   result     = null;
            ushort glyphIndex = (ushort)(c + offset);

            if (glyphIndex >= first && glyphIndex <= last)
            {
                result = new GlyphArea(context, fontHandle, glyphIndex);
            }
            return(result);
        }