
wt.org.eclipse.swt.win32.win32.x86.4.3.source-code.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 Show documentation
Show all versions of org.eclipse.swt.win32.win32.x86 Show documentation
SWT is an open source widget toolkit for Java designed to provide efficient, portable access to the user-interface facilities of the operating systems on which it is implemented.
The newest version!
/*******************************************************************************
* Copyright (c) 2000, 2008 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
*******************************************************************************/
#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
© 2015 - 2025 Weber Informatics LLC | Privacy Policy