javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/qt/org/eclipse/swt/graphics/Internal_GfxPackageSupport.java
changeset 79 2f468c1958d0
parent 61 bf7ee68962da
equal deleted inserted replaced
76:4ad59aaee882 79:2f468c1958d0
    10  *******************************************************************************/
    10  *******************************************************************************/
    11 
    11 
    12 package org.eclipse.swt.graphics;
    12 package org.eclipse.swt.graphics;
    13 
    13 
    14 import java.io.InputStream;
    14 import java.io.InputStream;
       
    15 
       
    16 import org.eclipse.swt.internal.qt.graphics.WindowSurface;
    15 
    17 
    16 /**
    18 /**
    17  * <p>
    19  * <p>
    18  * <b>IMPORTANT:</b> This class is <em>not</em> part of the SWT public API. It
    20  * <b>IMPORTANT:</b> This class is <em>not</em> part of the SWT public API. It
    19  * must never be accessed from application code.
    21  * must never be accessed from application code.
    78 
    80 
    79 public static Font newFont(Device device, int handle) {
    81 public static Font newFont(Device device, int handle) {
    80     return Font.qt_new(device, handle);
    82     return Font.qt_new(device, handle);
    81 }
    83 }
    82 
    84 
       
    85 /* 
       
    86  * From class GC
       
    87  */
       
    88 
       
    89 public static Rectangle startExternalRendering(GC gc) {
       
    90 	return gc.startExternalRendering();
    83 }
    91 }
       
    92 
       
    93 public static void endExternalRendering(GC gc) {
       
    94 	gc.endExternalRendering();
       
    95 }
       
    96 
       
    97 public static WindowSurface getWindowSurface(GC gc) {
       
    98 	return gc.getWindowSurface();
       
    99 }
       
   100 
       
   101 }