1 /*******************************************************************************
2  * Copyright (c) 2000, 2019 IBM Corporation and others.
3  *
4  * This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License 2.0
6  * which accompanies this distribution, and is available at
7  * https://www.eclipse.org/legal/epl-2.0/
8  *
9  * SPDX-License-Identifier: EPL-2.0
10  *
11  * Contributors:
12  *    IBM Corporation - initial API and implementation
13  *******************************************************************************/
14 
15 /* Note: This file was auto-generated by org.eclipse.swt.tools.internal.JNIGenerator */
16 /* DO NOT EDIT - your changes will be lost. */
17 
18 #ifdef NATIVE_STATS
19 extern int Gdip_nativeFunctionCount;
20 extern int Gdip_nativeFunctionCallCount[];
21 extern char* Gdip_nativeFunctionNames[];
22 #define Gdip_NATIVE_ENTER(env, that, func) Gdip_nativeFunctionCallCount[func]++;
23 #define Gdip_NATIVE_EXIT(env, that, func)
24 #else
25 #ifndef Gdip_NATIVE_ENTER
26 #define Gdip_NATIVE_ENTER(env, that, func)
27 #endif
28 #ifndef Gdip_NATIVE_EXIT
29 #define Gdip_NATIVE_EXIT(env, that, func)
30 #endif
31 #endif
32 
33 typedef enum {
34 	BitmapData_1delete_FUNC,
35 	BitmapData_1new_FUNC,
36 	Bitmap_1GetHBITMAP_FUNC,
37 	Bitmap_1GetHICON_FUNC,
38 	Bitmap_1LockBits_FUNC,
39 	Bitmap_1UnlockBits_FUNC,
40 	Bitmap_1delete_FUNC,
41 	Bitmap_1new__IIIIJ_FUNC,
42 	Bitmap_1new__J_FUNC,
43 	Bitmap_1new__JJ_FUNC,
44 	Bitmap_1new___3CZ_FUNC,
45 	Brush_1Clone_FUNC,
46 	Brush_1GetType_FUNC,
47 	ColorPalette_1sizeof_FUNC,
48 	FontFamily_1GetFamilyName_FUNC,
49 	FontFamily_1IsAvailable_FUNC,
50 	FontFamily_1delete_FUNC,
51 	FontFamily_1new___FUNC,
52 	FontFamily_1new___3CJ_FUNC,
53 	Font_1GetFamily_FUNC,
54 	Font_1GetLogFontW_FUNC,
55 	Font_1GetSize_FUNC,
56 	Font_1GetStyle_FUNC,
57 	Font_1IsAvailable_FUNC,
58 	Font_1delete_FUNC,
59 	Font_1new__JFII_FUNC,
60 	Font_1new__JJ_FUNC,
61 	Font_1new___3CFIIJ_FUNC,
62 	GdiplusShutdown_FUNC,
63 	GdiplusStartup_FUNC,
64 	GdiplusStartupInput_1sizeof_FUNC,
65 	GraphicsPath_1AddArc_FUNC,
66 	GraphicsPath_1AddBezier_FUNC,
67 	GraphicsPath_1AddLine_FUNC,
68 	GraphicsPath_1AddPath_FUNC,
69 	GraphicsPath_1AddRectangle_FUNC,
70 	GraphicsPath_1AddString_FUNC,
71 	GraphicsPath_1Clone_FUNC,
72 	GraphicsPath_1CloseFigure_FUNC,
73 	GraphicsPath_1Flatten_FUNC,
74 	GraphicsPath_1GetBounds_FUNC,
75 	GraphicsPath_1GetLastPoint_FUNC,
76 	GraphicsPath_1GetPathPoints_FUNC,
77 	GraphicsPath_1GetPathTypes_FUNC,
78 	GraphicsPath_1GetPointCount_FUNC,
79 	GraphicsPath_1IsOutlineVisible_FUNC,
80 	GraphicsPath_1IsVisible_FUNC,
81 	GraphicsPath_1SetFillMode_FUNC,
82 	GraphicsPath_1StartFigure_FUNC,
83 	GraphicsPath_1Transform_FUNC,
84 	GraphicsPath_1delete_FUNC,
85 	GraphicsPath_1new__I_FUNC,
86 	GraphicsPath_1new___3I_3BII_FUNC,
87 	Graphics_1DrawArc_FUNC,
88 	Graphics_1DrawDriverString__JJIJJLorg_eclipse_swt_internal_gdip_PointF_2IJ_FUNC,
89 	Graphics_1DrawDriverString__JJIJJ_3FIJ_FUNC,
90 	Graphics_1DrawEllipse_FUNC,
91 	Graphics_1DrawImage__JJII_FUNC,
92 	Graphics_1DrawImage__JJLorg_eclipse_swt_internal_gdip_Rect_2IIIIIJJJ_FUNC,
93 	Graphics_1DrawLine_FUNC,
94 	Graphics_1DrawLines_FUNC,
95 	Graphics_1DrawPath_FUNC,
96 	Graphics_1DrawPolygon_FUNC,
97 	Graphics_1DrawRectangle_FUNC,
98 	Graphics_1DrawString__J_3CIJLorg_eclipse_swt_internal_gdip_PointF_2J_FUNC,
99 	Graphics_1DrawString__J_3CIJLorg_eclipse_swt_internal_gdip_PointF_2JJ_FUNC,
100 	Graphics_1FillEllipse_FUNC,
101 	Graphics_1FillPath_FUNC,
102 	Graphics_1FillPie_FUNC,
103 	Graphics_1FillPolygon_FUNC,
104 	Graphics_1FillRectangle_FUNC,
105 	Graphics_1Flush_FUNC,
106 	Graphics_1GetClip_FUNC,
107 	Graphics_1GetClipBounds__JLorg_eclipse_swt_internal_gdip_RectF_2_FUNC,
108 	Graphics_1GetClipBounds__JLorg_eclipse_swt_internal_gdip_Rect_2_FUNC,
109 	Graphics_1GetHDC_FUNC,
110 	Graphics_1GetInterpolationMode_FUNC,
111 	Graphics_1GetSmoothingMode_FUNC,
112 	Graphics_1GetTextRenderingHint_FUNC,
113 	Graphics_1GetTransform_FUNC,
114 	Graphics_1GetVisibleClipBounds_FUNC,
115 	Graphics_1MeasureDriverString_FUNC,
116 	Graphics_1MeasureString__J_3CIJLorg_eclipse_swt_internal_gdip_PointF_2JLorg_eclipse_swt_internal_gdip_RectF_2_FUNC,
117 	Graphics_1MeasureString__J_3CIJLorg_eclipse_swt_internal_gdip_PointF_2Lorg_eclipse_swt_internal_gdip_RectF_2_FUNC,
118 	Graphics_1ReleaseHDC_FUNC,
119 	Graphics_1ResetClip_FUNC,
120 	Graphics_1Restore_FUNC,
121 	Graphics_1Save_FUNC,
122 	Graphics_1ScaleTransform_FUNC,
123 	Graphics_1SetClip__JJI_FUNC,
124 	Graphics_1SetClip__JLorg_eclipse_swt_internal_gdip_Rect_2I_FUNC,
125 	Graphics_1SetClipPath__JJ_FUNC,
126 	Graphics_1SetClipPath__JJI_FUNC,
127 	Graphics_1SetCompositingQuality_FUNC,
128 	Graphics_1SetInterpolationMode_FUNC,
129 	Graphics_1SetPageUnit_FUNC,
130 	Graphics_1SetPixelOffsetMode_FUNC,
131 	Graphics_1SetSmoothingMode_FUNC,
132 	Graphics_1SetTextRenderingHint_FUNC,
133 	Graphics_1SetTransform_FUNC,
134 	Graphics_1TranslateTransform_FUNC,
135 	Graphics_1delete_FUNC,
136 	Graphics_1new_FUNC,
137 	HatchBrush_1delete_FUNC,
138 	HatchBrush_1new_FUNC,
139 	ImageAttributes_1SetColorMatrix_FUNC,
140 	ImageAttributes_1SetWrapMode_FUNC,
141 	ImageAttributes_1delete_FUNC,
142 	ImageAttributes_1new_FUNC,
143 	Image_1GetHeight_FUNC,
144 	Image_1GetLastStatus_FUNC,
145 	Image_1GetPalette_FUNC,
146 	Image_1GetPaletteSize_FUNC,
147 	Image_1GetPixelFormat_FUNC,
148 	Image_1GetWidth_FUNC,
149 	LinearGradientBrush_1ResetTransform_FUNC,
150 	LinearGradientBrush_1ScaleTransform_FUNC,
151 	LinearGradientBrush_1SetInterpolationColors_FUNC,
152 	LinearGradientBrush_1SetWrapMode_FUNC,
153 	LinearGradientBrush_1TranslateTransform_FUNC,
154 	LinearGradientBrush_1delete_FUNC,
155 	LinearGradientBrush_1new_FUNC,
156 	Matrix_1GetElements_FUNC,
157 	Matrix_1Invert_FUNC,
158 	Matrix_1IsIdentity_FUNC,
159 	Matrix_1Multiply_FUNC,
160 	Matrix_1Rotate_FUNC,
161 	Matrix_1Scale_FUNC,
162 	Matrix_1SetElements_FUNC,
163 	Matrix_1Shear_FUNC,
164 	Matrix_1TransformPoints__JLorg_eclipse_swt_internal_gdip_PointF_2I_FUNC,
165 	Matrix_1TransformPoints__J_3FI_FUNC,
166 	Matrix_1TransformVectors_FUNC,
167 	Matrix_1Translate_FUNC,
168 	Matrix_1delete_FUNC,
169 	Matrix_1new_FUNC,
170 	MoveMemory__Lorg_eclipse_swt_internal_gdip_BitmapData_2J_FUNC,
171 	MoveMemory__Lorg_eclipse_swt_internal_gdip_ColorPalette_2JI_FUNC,
172 	PathGradientBrush_1SetCenterColor_FUNC,
173 	PathGradientBrush_1SetCenterPoint_FUNC,
174 	PathGradientBrush_1SetGraphicsPath_FUNC,
175 	PathGradientBrush_1SetInterpolationColors_FUNC,
176 	PathGradientBrush_1SetSurroundColors_FUNC,
177 	PathGradientBrush_1SetWrapMode_FUNC,
178 	PathGradientBrush_1delete_FUNC,
179 	PathGradientBrush_1new_FUNC,
180 	Pen_1GetBrush_FUNC,
181 	Pen_1SetBrush_FUNC,
182 	Pen_1SetDashOffset_FUNC,
183 	Pen_1SetDashPattern_FUNC,
184 	Pen_1SetDashStyle_FUNC,
185 	Pen_1SetLineCap_FUNC,
186 	Pen_1SetLineJoin_FUNC,
187 	Pen_1SetMiterLimit_FUNC,
188 	Pen_1SetWidth_FUNC,
189 	Pen_1delete_FUNC,
190 	Pen_1new_FUNC,
191 	Point_1delete_FUNC,
192 	Point_1new_FUNC,
193 	PrivateFontCollection_1AddFontFile_FUNC,
194 	PrivateFontCollection_1delete_FUNC,
195 	PrivateFontCollection_1new_FUNC,
196 	Region_1GetHRGN_FUNC,
197 	Region_1IsInfinite_FUNC,
198 	Region_1delete_FUNC,
199 	Region_1new___FUNC,
200 	Region_1new__J_FUNC,
201 	Region_1newGraphicsPath_FUNC,
202 	SolidBrush_1delete_FUNC,
203 	SolidBrush_1new_FUNC,
204 	StringFormat_1Clone_FUNC,
205 	StringFormat_1GenericDefault_FUNC,
206 	StringFormat_1GenericTypographic_FUNC,
207 	StringFormat_1GetFormatFlags_FUNC,
208 	StringFormat_1SetFormatFlags_FUNC,
209 	StringFormat_1SetHotkeyPrefix_FUNC,
210 	StringFormat_1SetTabStops_FUNC,
211 	StringFormat_1delete_FUNC,
212 	TextureBrush_1ResetTransform_FUNC,
213 	TextureBrush_1ScaleTransform_FUNC,
214 	TextureBrush_1SetTransform_FUNC,
215 	TextureBrush_1TranslateTransform_FUNC,
216 	TextureBrush_1delete_FUNC,
217 	TextureBrush_1new_FUNC,
218 } Gdip_FUNCS;
219