javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/qt/library/graphics/gfxos.cpp
changeset 35 85266cc22c7f
parent 21 2a9601315dfc
child 48 e0d6e9bd3ca7
equal deleted inserted replaced
26:dc7c549001d5 35:85266cc22c7f
   386             aIsTransparent);
   386             aIsTransparent);
   387     }
   387     }
   388     GFX_CATCH
   388     GFX_CATCH
   389 }
   389 }
   390 
   390 
       
   391 JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_qt_graphics_OS_graphicsContext_1drawWindowSurface
       
   392   (JNIEnv* aJniEnv, jclass, jint aHandle, jint aSurfaceHandle, jint aX, jint aY, jint aWidth, jint aHeight) 
       
   393 {
       
   394     GFX_TRY
       
   395     {
       
   396         GFX_LOG_JNI_CALL();
       
   397         HANDLE_TO_POINTER(GraphicsContext*, gc, aHandle);
       
   398         HANDLE_TO_POINTER(WindowSurface*, surface, aSurfaceHandle);
       
   399         gc->drawWindowSurface(surface, aX, aY, aWidth, aHeight);
       
   400     }
       
   401     GFX_CATCH
       
   402 }
       
   403 
   391 void JNICALL Java_org_eclipse_swt_internal_qt_graphics_OS_graphicsContext_1fillArc
   404 void JNICALL Java_org_eclipse_swt_internal_qt_graphics_OS_graphicsContext_1fillArc
   392   (JNIEnv* aJniEnv , jclass, jint aHandle, jint aX, jint aY, jint aWidth, jint aHeight, jint aStartAngle, jint aArcAngle)
   405   (JNIEnv* aJniEnv , jclass, jint aHandle, jint aX, jint aY, jint aWidth, jint aHeight, jint aStartAngle, jint aArcAngle)
   393 {
   406 {
   394     GFX_TRY
   407     GFX_TRY
   395     {
   408     {