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 |
{ |
{ |