/***************************************************************************
                            qt_QPaintDeviceMetrics.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_QPaintDeviceMetrics.h"
}

#include <qpaintdevicemetrics.h>

class QPaintDeviceMetricsBridge : public QPaintDeviceMetrics
{
public:
	QPaintDeviceMetricsBridge(const QPaintDevice* arg1) : QPaintDeviceMetrics(arg1) {}
};

qt_QPaintDeviceMetrics * qt_new_QPaintDeviceMetrics(qt_QPaintDevice * arg1){
	return (qt_QPaintDeviceMetrics *) new QPaintDeviceMetricsBridge((QPaintDevice*)arg1);
}
int qt_QPaintDeviceMetrics_width( qt_QPaintDeviceMetrics* instPointer){
	return (int) ((QPaintDeviceMetricsBridge*)instPointer)->width();
}
int qt_QPaintDeviceMetrics_height( qt_QPaintDeviceMetrics* instPointer){
	return (int) ((QPaintDeviceMetricsBridge*)instPointer)->height();
}
int qt_QPaintDeviceMetrics_widthMM( qt_QPaintDeviceMetrics* instPointer){
	return (int) ((QPaintDeviceMetricsBridge*)instPointer)->widthMM();
}
int qt_QPaintDeviceMetrics_heightMM( qt_QPaintDeviceMetrics* instPointer){
	return (int) ((QPaintDeviceMetricsBridge*)instPointer)->heightMM();
}
int qt_QPaintDeviceMetrics_logicalDpiX( qt_QPaintDeviceMetrics* instPointer){
	return (int) ((QPaintDeviceMetricsBridge*)instPointer)->logicalDpiX();
}
int qt_QPaintDeviceMetrics_logicalDpiY( qt_QPaintDeviceMetrics* instPointer){
	return (int) ((QPaintDeviceMetricsBridge*)instPointer)->logicalDpiY();
}
int qt_QPaintDeviceMetrics_physicalDpiX( qt_QPaintDeviceMetrics* instPointer){
	return (int) ((QPaintDeviceMetricsBridge*)instPointer)->physicalDpiX();
}
int qt_QPaintDeviceMetrics_physicalDpiY( qt_QPaintDeviceMetrics* instPointer){
	return (int) ((QPaintDeviceMetricsBridge*)instPointer)->physicalDpiY();
}
int qt_QPaintDeviceMetrics_numColors( qt_QPaintDeviceMetrics* instPointer){
	return (int) ((QPaintDeviceMetricsBridge*)instPointer)->numColors();
}
int qt_QPaintDeviceMetrics_depth( qt_QPaintDeviceMetrics* instPointer){
	return (int) ((QPaintDeviceMetricsBridge*)instPointer)->depth();
}
