Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti2008-07-29 21:53:32 +0000
committerSilenio Quarti2008-07-29 21:53:32 +0000
commitaef2c7cc9b54adfc6942047d5d8e79a0f558f990 (patch)
treedd11830cffee252fb2adf05f7bea02f01e04c9ca /bundles/org.eclipse.swt/Eclipse SWT PI/win32/library
parent5b48fd4b75a5db8c379f9dbcbb0a8aac07e455ee (diff)
downloadeclipse.platform.swt-aef2c7cc9b54adfc6942047d5d8e79a0f558f990.tar.gz
eclipse.platform.swt-aef2c7cc9b54adfc6942047d5d8e79a0f558f990.tar.xz
eclipse.platform.swt-aef2c7cc9b54adfc6942047d5d8e79a0f558f990.zip
*** empty log message ***
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/win32/library')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip.cpp17
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_stats.cpp5
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_stats.h1
3 files changed, 21 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip.cpp b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip.cpp
index 17cd181cc0..08b4fe561e 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip.cpp
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip.cpp
@@ -701,6 +701,23 @@ JNIEXPORT jint JNICALL Gdip_NATIVE(Graphics_1DrawArc)
}
#endif
+#ifndef NO_Graphics_1DrawDriverString
+extern "C" JNIEXPORT jint JNICALL Gdip_NATIVE(Graphics_1DrawDriverString)(JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4, jobject arg5, jint arg6, jint arg7);
+JNIEXPORT jint JNICALL Gdip_NATIVE(Graphics_1DrawDriverString)
+ (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4, jobject arg5, jint arg6, jint arg7)
+{
+ PointF _arg5(25.0f,70.0f), *lparg5=NULL;
+ jint rc = 0;
+ Gdip_NATIVE_ENTER(env, that, Graphics_1DrawDriverString_FUNC);
+ if (arg5) if ((lparg5 = getPointFFields(env, arg5, &_arg5)) == NULL) goto fail;
+ rc = (jint)((Graphics *)arg0)->DrawDriverString((const UINT16 *)arg1, arg2, (const Font *)arg3, (const Brush *)arg4, (const PointF *)lparg5, arg6, (const Matrix *)arg7);
+fail:
+ if (arg5 && lparg5) setPointFFields(env, arg5, lparg5);
+ Gdip_NATIVE_EXIT(env, that, Graphics_1DrawDriverString_FUNC);
+ return rc;
+}
+#endif
+
#ifndef NO_Graphics_1DrawEllipse
extern "C" JNIEXPORT jint JNICALL Gdip_NATIVE(Graphics_1DrawEllipse)(JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4, jint arg5);
JNIEXPORT jint JNICALL Gdip_NATIVE(Graphics_1DrawEllipse)
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_stats.cpp b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_stats.cpp
index 81fdb2a82e..43c5a554e6 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_stats.cpp
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_stats.cpp
@@ -14,8 +14,8 @@
#ifdef NATIVE_STATS
-int Gdip_nativeFunctionCount = 175;
-int Gdip_nativeFunctionCallCount[175];
+int Gdip_nativeFunctionCount = 176;
+int Gdip_nativeFunctionCallCount[176];
char * Gdip_nativeFunctionNames[] = {
"BitmapData_1delete",
"BitmapData_1new",
@@ -69,6 +69,7 @@ char * Gdip_nativeFunctionNames[] = {
"GraphicsPath_1new__I",
"GraphicsPath_1new___3I_3BII",
"Graphics_1DrawArc",
+ "Graphics_1DrawDriverString",
"Graphics_1DrawEllipse",
"Graphics_1DrawImage__IIII",
"Graphics_1DrawImage__IILorg_eclipse_swt_internal_gdip_Rect_2IIIIIIII",
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_stats.h b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_stats.h
index 177ae50433..6ab33c0a18 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_stats.h
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_stats.h
@@ -77,6 +77,7 @@ typedef enum {
GraphicsPath_1new__I_FUNC,
GraphicsPath_1new___3I_3BII_FUNC,
Graphics_1DrawArc_FUNC,
+ Graphics_1DrawDriverString_FUNC,
Graphics_1DrawEllipse_FUNC,
Graphics_1DrawImage__IIII_FUNC,
Graphics_1DrawImage__IILorg_eclipse_swt_internal_gdip_Rect_2IIIIIIII_FUNC,

Back to the top