library.gdip_structs.h Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.eclipse.swt.win32.win32.x86_64 Show documentation
Show all versions of org.eclipse.swt.win32.win32.x86_64 Show documentation
Standard Widget Toolkit for Windows
The newest version!
/*******************************************************************************
* Copyright (c) 2000, 2016 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
/* Note: This file was auto-generated by org.eclipse.swt.tools.internal.JNIGenerator */
/* DO NOT EDIT - your changes will be lost. */
#include "gdip.h"
#ifndef NO_BitmapData
void cacheBitmapDataFields(JNIEnv *env, jobject lpObject);
BitmapData *getBitmapDataFields(JNIEnv *env, jobject lpObject, BitmapData *lpStruct);
void setBitmapDataFields(JNIEnv *env, jobject lpObject, BitmapData *lpStruct);
#define BitmapData_sizeof() sizeof(BitmapData)
#else
#define cacheBitmapDataFields(a,b)
#define getBitmapDataFields(a,b,c) NULL
#define setBitmapDataFields(a,b,c)
#define BitmapData_sizeof() 0
#endif
#ifndef NO_ColorPalette
void cacheColorPaletteFields(JNIEnv *env, jobject lpObject);
ColorPalette *getColorPaletteFields(JNIEnv *env, jobject lpObject, ColorPalette *lpStruct);
void setColorPaletteFields(JNIEnv *env, jobject lpObject, ColorPalette *lpStruct);
#define ColorPalette_sizeof() sizeof(ColorPalette)
#else
#define cacheColorPaletteFields(a,b)
#define getColorPaletteFields(a,b,c) NULL
#define setColorPaletteFields(a,b,c)
#define ColorPalette_sizeof() 0
#endif
#ifndef NO_GdiplusStartupInput
void cacheGdiplusStartupInputFields(JNIEnv *env, jobject lpObject);
GdiplusStartupInput *getGdiplusStartupInputFields(JNIEnv *env, jobject lpObject, GdiplusStartupInput *lpStruct);
void setGdiplusStartupInputFields(JNIEnv *env, jobject lpObject, GdiplusStartupInput *lpStruct);
#define GdiplusStartupInput_sizeof() sizeof(GdiplusStartupInput)
#else
#define cacheGdiplusStartupInputFields(a,b)
#define getGdiplusStartupInputFields(a,b,c) NULL
#define setGdiplusStartupInputFields(a,b,c)
#define GdiplusStartupInput_sizeof() 0
#endif
#ifndef NO_PointF
void cachePointFFields(JNIEnv *env, jobject lpObject);
PointF *getPointFFields(JNIEnv *env, jobject lpObject, PointF *lpStruct);
void setPointFFields(JNIEnv *env, jobject lpObject, PointF *lpStruct);
#define PointF_sizeof() sizeof(PointF)
#else
#define cachePointFFields(a,b)
#define getPointFFields(a,b,c) NULL
#define setPointFFields(a,b,c)
#define PointF_sizeof() 0
#endif
#ifndef NO_Rect
void cacheRectFields(JNIEnv *env, jobject lpObject);
Rect *getRectFields(JNIEnv *env, jobject lpObject, Rect *lpStruct);
void setRectFields(JNIEnv *env, jobject lpObject, Rect *lpStruct);
#define Rect_sizeof() sizeof(Rect)
#else
#define cacheRectFields(a,b)
#define getRectFields(a,b,c) NULL
#define setRectFields(a,b,c)
#define Rect_sizeof() 0
#endif
#ifndef NO_RectF
void cacheRectFFields(JNIEnv *env, jobject lpObject);
RectF *getRectFFields(JNIEnv *env, jobject lpObject, RectF *lpStruct);
void setRectFFields(JNIEnv *env, jobject lpObject, RectF *lpStruct);
#define RectF_sizeof() sizeof(RectF)
#else
#define cacheRectFFields(a,b)
#define getRectFFields(a,b,c) NULL
#define setRectFFields(a,b,c)
#define RectF_sizeof() 0
#endif