/[dotgnu-pnet]/pnetlib/Xsharp/Font.cs
ViewVC logotype

Diff of /pnetlib/Xsharp/Font.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.21 by brubbel, Fri Oct 7 13:46:06 2005 UTC revision 1.22 by ktreichel, Sat Oct 8 08:45:27 2005 UTC
# Line 1403  public class Font Line 1403  public class Font
1403                                          try                                          try
1404                                          {                                          {
1405                                                  IntPtr display = graphics.dpy.Lock();                                                  IntPtr display = graphics.dpy.Lock();
1406                                                  Xlib.XSharpDrawStringXft                                                  if(graphics.clipRegion == null)
1407                                                                  (display, graphics.drawableHandle, graphics.gc,                                                  {
1408                                                                   fontSet, x, y, str, (int)style,                                                          Xlib.XSharpDrawStringXft
1409                                                                   graphics.clipRegion.GetRegion(), graphics.Foreground.value);                                                                          (display, graphics.drawableHandle, graphics.gc,
1410                                                                             fontSet, x, y, str, (int)style,
1411                                                                             IntPtr.Zero, graphics.Foreground.value);
1412                                                    }
1413                                                    else
1414                                                    {
1415                                                            Xlib.XSharpDrawStringXft
1416                                                                            (display, graphics.drawableHandle, graphics.gc,
1417                                                                             fontSet, x, y, str, (int)style,
1418                                                                             graphics.clipRegion.GetRegion(), graphics.Foreground.value);
1419                                                    }
1420                                          }                                          }
1421                                          finally                                          finally
1422                                          {                                          {

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26