/***************************************************************************
                            qt_QPaintDevice.cpp -  description
                             -------------------
    begin                : Tue Nov 20 20:51:20 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Tue Nov 20 20:51:20 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

extern "C" {
#include "qt_QPaintDevice.h"
}

#include <qpaintdevice.h>

class QPaintDeviceBridge : public QPaintDevice
{
public:
	~QPaintDeviceBridge() {}
	QPaintDeviceBridge(uint devflags) : QPaintDevice(devflags) {}
	void protected_copyX11Data(const QPaintDevice* arg1) {
		QPaintDevice::copyX11Data(arg1);
		return;
	}
	void protected_cloneX11Data(const QPaintDevice* arg1) {
		QPaintDevice::cloneX11Data(arg1);
		return;
	}
	void protected_setX11Data(const QPaintDeviceX11Data* arg1) {
		QPaintDevice::setX11Data(arg1);
		return;
	}
	QPaintDeviceX11Data*  protected_getX11Data(bool def) {
		return (QPaintDeviceX11Data* ) QPaintDevice::getX11Data(def);
	}
	 bool  protected_cmd(int arg1, QPainter* arg2, QPDevCmdParam* arg3) {
		return ( bool ) QPaintDevice::cmd(arg1, arg2, arg3);
	}
	 int  protected_metric(int arg1) {
		return ( int ) QPaintDevice::metric(arg1);
	}
	 int  protected_fontMet(QFont* arg1, int arg2, const char* arg3, int arg4) {
		return ( int ) QPaintDevice::fontMet(arg1, arg2, arg3, arg4);
	}
	 int  protected_fontInf(QFont* arg1, int arg2) {
		return ( int ) QPaintDevice::fontInf(arg1, arg2);
	}
//	 CGContextRef  protected_macCGContext() {
//		return ( CGContextRef ) QPaintDevice::macCGContext();
//	}
//	void protected_unclippedScaledBitBlt(QPaintDevice* arg1, int arg2, int arg3, int arg4, int arg5, const QPaintDevice* arg6, int arg7, int arg8, int arg9, int arg10, Qt::RasterOp arg11, bool arg12) {
//		QPaintDevice::unclippedScaledBitBlt(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12);
//		return;
//	}
//	void protected_bitBlt(QPaintDevice* arg1, int arg2, int arg3, const QPaintDevice* arg4, int arg5, int arg6, int arg7, int arg8, Qt::RasterOp arg9, bool arg10) {
//		QPaintDevice::bitBlt(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10);
//		return;
//	}
//	void protected_qt_init_internal(int* arg1, char* * arg2, Display* arg3, Qt::HANDLE arg4, Qt::HANDLE arg5) {
//		QPaintDevice::qt_init_internal(arg1, arg2, arg3, arg4, arg5);
//		return;
//	}
};

void qt_del_QPaintDevice( qt_QPaintDevice* p ){
	delete (QPaintDeviceBridge*) p;
}
int qt_QPaintDevice_devType( qt_QPaintDevice* instPointer){
	return (int) ((QPaintDeviceBridge*)instPointer)->devType();
}
int qt_QPaintDevice_isExtDev( qt_QPaintDevice* instPointer){
	return (int) ((QPaintDeviceBridge*)instPointer)->isExtDev();
}
int qt_QPaintDevice_paintingActive( qt_QPaintDevice* instPointer){
	return (int) ((QPaintDeviceBridge*)instPointer)->paintingActive();
}
void qt_QPaintDevice_setResolution( qt_QPaintDevice* instPointer,int arg1){
	((QPaintDeviceBridge*)instPointer)->setResolution((int)arg1);
	return;
}
int qt_QPaintDevice_resolution( qt_QPaintDevice* instPointer){
	return (int) ((QPaintDeviceBridge*)instPointer)->resolution();
}
void * qt_QPaintDevice_handle( qt_QPaintDevice* instPointer){
	return (void *) ((QPaintDeviceBridge*)instPointer)->handle();
}
Qt::HANDLE qt_QPaintDevice_handle1( qt_QPaintDevice* instPointer){
	return (Qt::HANDLE) ((QPaintDeviceBridge*)instPointer)->handle();
}
Qt::HANDLE qt_QPaintDevice_x11RenderHandle( qt_QPaintDevice* instPointer){
	return (Qt::HANDLE) ((QPaintDeviceBridge*)instPointer)->x11RenderHandle();
}
Qt::HANDLE qt_QPaintDevice_handle2( qt_QPaintDevice* instPointer){
	return (Qt::HANDLE) ((QPaintDeviceBridge*)instPointer)->handle();
}
Qt::HANDLE qt_QPaintDevice_handle3( qt_QPaintDevice* instPointer){
	return (Qt::HANDLE) ((QPaintDeviceBridge*)instPointer)->handle();
}
Display* qt_QPaintDevice_x11Display( qt_QPaintDevice* instPointer){
	return (Display*) ((QPaintDeviceBridge*)instPointer)->x11Display();
}
int qt_QPaintDevice_x11Screen( qt_QPaintDevice* instPointer){
	return (int) ((QPaintDeviceBridge*)instPointer)->x11Screen();
}
int qt_QPaintDevice_x11Depth( qt_QPaintDevice* instPointer){
	return (int) ((QPaintDeviceBridge*)instPointer)->x11Depth();
}
int qt_QPaintDevice_x11Cells( qt_QPaintDevice* instPointer){
	return (int) ((QPaintDeviceBridge*)instPointer)->x11Cells();
}
Qt::HANDLE qt_QPaintDevice_x11Colormap( qt_QPaintDevice* instPointer){
	return (Qt::HANDLE) ((QPaintDeviceBridge*)instPointer)->x11Colormap();
}
int qt_QPaintDevice_x11DefaultColormap( qt_QPaintDevice* instPointer){
	return (int) ((QPaintDeviceBridge*)instPointer)->x11DefaultColormap();
}
void* qt_QPaintDevice_x11Visual( qt_QPaintDevice* instPointer){
	return (void*) ((QPaintDeviceBridge*)instPointer)->x11Visual();
}
int qt_QPaintDevice_x11DefaultVisual( qt_QPaintDevice* instPointer){
	return (int) ((QPaintDeviceBridge*)instPointer)->x11DefaultVisual();
}
//unsigned char* qt_QPaintDevice_scanLine( qt_QPaintDevice* instPointer,int arg1){
//	return (unsigned char*) ((QPaintDeviceBridge*)instPointer)->scanLine((int)arg1);
//}
//int qt_QPaintDevice_bytesPerLine( qt_QPaintDevice* instPointer){
//	return (int) ((QPaintDeviceBridge*)instPointer)->bytesPerLine();
//}
//qt_QGfx* qt_QPaintDevice_graphicsContext( qt_QPaintDevice* instPointer,int clip_children){
//	return (qt_QGfx*) ((QPaintDeviceBridge*)instPointer)->graphicsContext((bool)clip_children);
//}
//Display* qt_QPaintDevice_x11AppDisplay( ){
//	return (Display*) QPaintDeviceBridge::x11AppDisplay();
//}
int qt_QPaintDevice_x11AppScreen( ){
	return (int) QPaintDeviceBridge::x11AppScreen();
}
int qt_QPaintDevice_x11AppDepth( ){
	return (int) QPaintDeviceBridge::x11AppDepth();
}
int qt_QPaintDevice_x11AppCells( ){
	return (int) QPaintDeviceBridge::x11AppCells();
}
int qt_QPaintDevice_x11AppDpiX( ){
	return (int) QPaintDeviceBridge::x11AppDpiX();
}
int qt_QPaintDevice_x11AppDpiY( ){
	return (int) QPaintDeviceBridge::x11AppDpiY();
}
Qt::HANDLE qt_QPaintDevice_x11AppColormap( ){
	return (Qt::HANDLE) QPaintDeviceBridge::x11AppColormap();
}
int qt_QPaintDevice_x11AppDefaultColormap( ){
	return (int) QPaintDeviceBridge::x11AppDefaultColormap();
}
void* qt_QPaintDevice_x11AppVisual( ){
	return (void*) QPaintDeviceBridge::x11AppVisual();
}
int qt_QPaintDevice_x11AppDefaultVisual( ){
	return (int) QPaintDeviceBridge::x11AppDefaultVisual();
}
void qt_QPaintDevice_x11SetAppDpiX( int arg1){
	QPaintDeviceBridge::x11SetAppDpiX((int)arg1);
	return;
}
void qt_QPaintDevice_x11SetAppDpiY( int arg1){
	QPaintDeviceBridge::x11SetAppDpiY((int)arg1);
	return;
}
//qt_QWSDisplay* qt_QPaintDevice_qwsDisplay( ){
//	return (qt_QWSDisplay*) QPaintDeviceBridge::qwsDisplay();
//}
qt_QPaintDevice * qt_new_QPaintDevice(unsigned int devflags){
	return (qt_QPaintDevice *) new QPaintDeviceBridge((uint)devflags);
}
void qt_QPaintDevice_copyX11Data( qt_QPaintDevice* instPointer,qt_QPaintDevice * arg1){
	((QPaintDeviceBridge*)instPointer)->protected_copyX11Data((QPaintDevice*)arg1);
	return;
}
void qt_QPaintDevice_cloneX11Data( qt_QPaintDevice* instPointer,qt_QPaintDevice * arg1){
	((QPaintDeviceBridge*)instPointer)->protected_cloneX11Data((QPaintDevice*)arg1);
	return;
}
void qt_QPaintDevice_setX11Data( qt_QPaintDevice* instPointer,qt_QPaintDeviceX11Data* arg1){
	((QPaintDeviceBridge*)instPointer)->protected_setX11Data((QPaintDeviceX11Data*)arg1);
	return;
}
qt_QPaintDeviceX11Data* qt_QPaintDevice_getX11Data( qt_QPaintDevice* instPointer,int def){
	return (qt_QPaintDeviceX11Data*) ((QPaintDeviceBridge*)instPointer)->protected_getX11Data((bool)def);
}
int qt_QPaintDevice_cmd( qt_QPaintDevice* instPointer,int arg1, qt_QPainter * arg2, qt_QPDevCmdParam* arg3){
	return (int) ((QPaintDeviceBridge*)instPointer)->protected_cmd((int)arg1, (QPainter*)arg2, (QPDevCmdParam*)arg3);
}
int qt_QPaintDevice_metric( qt_QPaintDevice* instPointer,int arg1){
	return (int) ((QPaintDeviceBridge*)instPointer)->protected_metric((int)arg1);
}
int qt_QPaintDevice_fontMet( qt_QPaintDevice* instPointer,qt_QFont * arg1, int arg2, char* arg3, int arg4){
	return (int) ((QPaintDeviceBridge*)instPointer)->protected_fontMet((QFont*)arg1, (int)arg2, (char*)arg3, (int)arg4);
}
int qt_QPaintDevice_fontInf( qt_QPaintDevice* instPointer,qt_QFont * arg1, int arg2){
	return (int) ((QPaintDeviceBridge*)instPointer)->protected_fontInf((QFont*)arg1, (int)arg2);
}
//CGContextRef qt_QPaintDevice_macCGContext( qt_QPaintDevice* instPointer){
//	return (CGContextRef) ((QPaintDeviceBridge*)instPointer)->protected_macCGContext();
//}
//void qt_QPaintDevice_unclippedScaledBitBlt( qt_QPaintDevice* instPointer,qt_QPaintDevice * arg1, int arg2, int arg3, int arg4, int arg5, qt_QPaintDevice * arg6, int arg7, int arg8, int arg9, int arg10, int arg11, int arg12){
//	((QPaintDeviceBridge*)instPointer)->protected_unclippedScaledBitBlt((QPaintDevice*)arg1, (int)arg2, (int)arg3, (int)arg4, (int)arg5, (QPaintDevice*)arg6, (int)arg7, (int)arg8, (int)arg9, (int)arg10, (Qt::RasterOp)arg11, (bool)arg12);
//	return;
//}
void qt_QPaintDevice_bitBlt( qt_QPaintDevice * arg1, int arg2, int arg3, qt_QPaintDevice * arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10){
	bitBlt((QPaintDevice*)arg1, (int)arg2, (int)arg3, (QPaintDevice*)arg4, (int)arg5, (int)arg6, (int)arg7, (int)arg8, (Qt::RasterOp)arg9, (bool)arg10);
	return;
}
//void qt_QPaintDevice_qt_init_internal( qt_QPaintDevice* instPointer,int* arg1, char** arg2, Display* arg3, Qt::HANDLE arg4, Qt::HANDLE arg5){
//	((QPaintDeviceBridge*)instPointer)->protected_qt_init_internal((int*)arg1, (char**)arg2, (Display*)arg3, (Qt::HANDLE)arg4, (Qt::HANDLE)arg5);
//	return;
//}
