Exemplo n.º 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;
		}
Exemplo n.º 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);
        }