| /******************************************************************************* |
| * Copyright (c) 2000, 2006 IBM Corporation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * IBM Corporation - initial API and implementation |
| *******************************************************************************/ |
| |
| #ifdef NATIVE_STATS |
| extern int Gdip_nativeFunctionCount; |
| extern int Gdip_nativeFunctionCallCount[]; |
| extern char* Gdip_nativeFunctionNames[]; |
| #define Gdip_NATIVE_ENTER(env, that, func) Gdip_nativeFunctionCallCount[func]++; |
| #define Gdip_NATIVE_EXIT(env, that, func) |
| #else |
| #define Gdip_NATIVE_ENTER(env, that, func) |
| #define Gdip_NATIVE_EXIT(env, that, func) |
| #endif |
| |
| typedef enum { |
| BitmapData_1delete_FUNC, |
| BitmapData_1new_FUNC, |
| Bitmap_1GetHBITMAP_FUNC, |
| Bitmap_1GetHICON_FUNC, |
| Bitmap_1LockBits_FUNC, |
| Bitmap_1UnlockBits_FUNC, |
| Bitmap_1delete_FUNC, |
| Bitmap_1new__I_FUNC, |
| Bitmap_1new__II_FUNC, |
| Bitmap_1new__IIIII_FUNC, |
| Bitmap_1new___3CZ_FUNC, |
| Brush_1Clone_FUNC, |
| Brush_1GetType_FUNC, |
| Color_1delete_FUNC, |
| Color_1new_FUNC, |
| FontFamily_1GetFamilyName_FUNC, |
| FontFamily_1delete_FUNC, |
| FontFamily_1new_FUNC, |
| Font_1GetFamily_FUNC, |
| Font_1GetSize_FUNC, |
| Font_1GetStyle_FUNC, |
| Font_1IsAvailable_FUNC, |
| Font_1delete_FUNC, |
| Font_1new__II_FUNC, |
| Font_1new___3CFIII_FUNC, |
| GdiplusShutdown_FUNC, |
| GdiplusStartup_FUNC, |
| GraphicsPath_1AddArc_FUNC, |
| GraphicsPath_1AddBezier_FUNC, |
| GraphicsPath_1AddLine_FUNC, |
| GraphicsPath_1AddPath_FUNC, |
| GraphicsPath_1AddRectangle_FUNC, |
| GraphicsPath_1AddString_FUNC, |
| GraphicsPath_1CloseFigure_FUNC, |
| GraphicsPath_1Flatten_FUNC, |
| GraphicsPath_1GetBounds_FUNC, |
| GraphicsPath_1GetLastPoint_FUNC, |
| GraphicsPath_1GetPathPoints_FUNC, |
| GraphicsPath_1GetPathTypes_FUNC, |
| GraphicsPath_1GetPointCount_FUNC, |
| GraphicsPath_1IsOutlineVisible_FUNC, |
| GraphicsPath_1IsVisible_FUNC, |
| GraphicsPath_1SetFillMode_FUNC, |
| GraphicsPath_1StartFigure_FUNC, |
| GraphicsPath_1Transform_FUNC, |
| GraphicsPath_1delete_FUNC, |
| GraphicsPath_1new_FUNC, |
| Graphics_1DrawArc_FUNC, |
| Graphics_1DrawEllipse_FUNC, |
| Graphics_1DrawImage__IIII_FUNC, |
| Graphics_1DrawImage__IILorg_eclipse_swt_internal_gdip_Rect_2IIIIIIII_FUNC, |
| Graphics_1DrawLine_FUNC, |
| Graphics_1DrawLines_FUNC, |
| Graphics_1DrawPath_FUNC, |
| Graphics_1DrawPolygon_FUNC, |
| Graphics_1DrawRectangle_FUNC, |
| Graphics_1DrawString__I_3CIILorg_eclipse_swt_internal_gdip_PointF_2I_FUNC, |
| Graphics_1DrawString__I_3CIILorg_eclipse_swt_internal_gdip_PointF_2II_FUNC, |
| Graphics_1FillEllipse_FUNC, |
| Graphics_1FillPath_FUNC, |
| Graphics_1FillPie_FUNC, |
| Graphics_1FillPolygon_FUNC, |
| Graphics_1FillRectangle_FUNC, |
| Graphics_1Flush_FUNC, |
| Graphics_1GetClip_FUNC, |
| Graphics_1GetClipBounds__ILorg_eclipse_swt_internal_gdip_RectF_2_FUNC, |
| Graphics_1GetClipBounds__ILorg_eclipse_swt_internal_gdip_Rect_2_FUNC, |
| Graphics_1GetHDC_FUNC, |
| Graphics_1GetInterpolationMode_FUNC, |
| Graphics_1GetSmoothingMode_FUNC, |
| Graphics_1GetTextRenderingHint_FUNC, |
| Graphics_1GetTransform_FUNC, |
| Graphics_1GetVisibleClipBounds_FUNC, |
| Graphics_1MeasureString__I_3CIILorg_eclipse_swt_internal_gdip_PointF_2ILorg_eclipse_swt_internal_gdip_RectF_2_FUNC, |
| Graphics_1MeasureString__I_3CIILorg_eclipse_swt_internal_gdip_PointF_2Lorg_eclipse_swt_internal_gdip_RectF_2_FUNC, |
| Graphics_1ReleaseHDC_FUNC, |
| Graphics_1ResetClip_FUNC, |
| Graphics_1Restore_FUNC, |
| Graphics_1Save_FUNC, |
| Graphics_1ScaleTransform_FUNC, |
| Graphics_1SetClip__II_FUNC, |
| Graphics_1SetClip__III_FUNC, |
| Graphics_1SetClip__ILorg_eclipse_swt_internal_gdip_RectF_2_FUNC, |
| Graphics_1SetCompositingQuality_FUNC, |
| Graphics_1SetInterpolationMode_FUNC, |
| Graphics_1SetPageUnit_FUNC, |
| Graphics_1SetPixelOffsetMode_FUNC, |
| Graphics_1SetSmoothingMode_FUNC, |
| Graphics_1SetTextRenderingHint_FUNC, |
| Graphics_1SetTransform_FUNC, |
| Graphics_1TranslateTransform_FUNC, |
| Graphics_1delete_FUNC, |
| Graphics_1new_FUNC, |
| HatchBrush_1delete_FUNC, |
| HatchBrush_1new_FUNC, |
| ImageAttributes_1SetColorMatrix_FUNC, |
| ImageAttributes_1SetWrapMode_FUNC, |
| ImageAttributes_1delete_FUNC, |
| ImageAttributes_1new_FUNC, |
| Image_1GetHeight_FUNC, |
| Image_1GetLastStatus_FUNC, |
| Image_1GetPalette_FUNC, |
| Image_1GetPaletteSize_FUNC, |
| Image_1GetPixelFormat_FUNC, |
| Image_1GetWidth_FUNC, |
| LinearGradientBrush_1SetInterpolationColors_FUNC, |
| LinearGradientBrush_1SetWrapMode_FUNC, |
| LinearGradientBrush_1delete_FUNC, |
| LinearGradientBrush_1new_FUNC, |
| Matrix_1GetElements_FUNC, |
| Matrix_1Invert_FUNC, |
| Matrix_1IsIdentity_FUNC, |
| Matrix_1Multiply_FUNC, |
| Matrix_1Rotate_FUNC, |
| Matrix_1Scale_FUNC, |
| Matrix_1SetElements_FUNC, |
| Matrix_1Shear_FUNC, |
| Matrix_1TransformPoints__ILorg_eclipse_swt_internal_gdip_PointF_2I_FUNC, |
| Matrix_1TransformPoints__I_3FI_FUNC, |
| Matrix_1Translate_FUNC, |
| Matrix_1delete_FUNC, |
| Matrix_1new_FUNC, |
| MoveMemory__Lorg_eclipse_swt_internal_gdip_BitmapData_2II_FUNC, |
| MoveMemory__Lorg_eclipse_swt_internal_gdip_ColorPalette_2II_FUNC, |
| PathGradientBrush_1SetCenterColor_FUNC, |
| PathGradientBrush_1SetCenterPoint_FUNC, |
| PathGradientBrush_1SetGraphicsPath_FUNC, |
| PathGradientBrush_1SetSurroundColors_FUNC, |
| PathGradientBrush_1delete_FUNC, |
| PathGradientBrush_1new_FUNC, |
| Pen_1GetBrush_FUNC, |
| Pen_1SetBrush_FUNC, |
| Pen_1SetDashPattern_FUNC, |
| Pen_1SetDashStyle_FUNC, |
| Pen_1SetLineCap_FUNC, |
| Pen_1SetLineJoin_FUNC, |
| Pen_1delete_FUNC, |
| Pen_1new_FUNC, |
| Point_1delete_FUNC, |
| Point_1new_FUNC, |
| Region_1GetHRGN_FUNC, |
| Region_1IsInfinite_FUNC, |
| Region_1delete_FUNC, |
| Region_1new___FUNC, |
| Region_1new__I_FUNC, |
| SolidBrush_1delete_FUNC, |
| SolidBrush_1new_FUNC, |
| StringFormat_1Clone_FUNC, |
| StringFormat_1GenericDefault_FUNC, |
| StringFormat_1GenericTypographic_FUNC, |
| StringFormat_1GetFormatFlags_FUNC, |
| StringFormat_1SetFormatFlags_FUNC, |
| StringFormat_1SetHotkeyPrefix_FUNC, |
| StringFormat_1SetTabStops_FUNC, |
| StringFormat_1delete_FUNC, |
| TextureBrush_1SetTransform_FUNC, |
| TextureBrush_1delete_FUNC, |
| TextureBrush_1new_FUNC, |
| } Gdip_FUNCS; |