//__________________________________________________________________ void _HYPlatformGraphicPane::_DisplayChar (char c,int t, int l) { if (c>=40 && c<=100) { if (charCachePangoItems == NULL) { _BuildCharGlyphs(); } PangoItem * pitem = (PangoItem*) g_list_first (charCachePangoItems)->data; if (!cachedCharacterGlyphs[c-40]) { PangoGlyphString * newString = pango_glyph_string_new (); pango_shape (&c, 1, &pitem->analysis, newString); cachedCharacterGlyphs[c-40] = newString; } gdk_draw_glyphs (thePane, theContext, pitem->analysis.font,l,t,(PangoGlyphString* )cachedCharacterGlyphs[c-40]); } else { _DisplayText (c, t, l, false); } }
//__________________________________________________________________ void _HYGraphicPane::DisplayText (_String theText,_HYRect r, char align) { _DisplayText (theText,r,align); }
//__________________________________________________________________ void _HYGraphicPane::DisplayText (_String theText,int t, int l, bool dir) { _DisplayText (theText,t,l,dir); }