diff -r 4ad59aaee882 -r 2f468c1958d0 javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/qt/org/eclipse/swt/graphics/Internal_GfxPackageSupport.java --- a/javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/qt/org/eclipse/swt/graphics/Internal_GfxPackageSupport.java Fri Sep 17 08:28:21 2010 +0300 +++ b/javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/qt/org/eclipse/swt/graphics/Internal_GfxPackageSupport.java Mon Oct 04 00:10:53 2010 +0300 @@ -13,6 +13,8 @@ import java.io.InputStream; +import org.eclipse.swt.internal.qt.graphics.WindowSurface; + /** *

* IMPORTANT: This class is not part of the SWT public API. It @@ -80,4 +82,20 @@ return Font.qt_new(device, handle); } +/* + * From class GC + */ + +public static Rectangle startExternalRendering(GC gc) { + return gc.startExternalRendering(); } + +public static void endExternalRendering(GC gc) { + gc.endExternalRendering(); +} + +public static WindowSurface getWindowSurface(GC gc) { + return gc.getWindowSurface(); +} + +}