Eneboo - Documentación para desarrolladores
|
00001 /*************************************************************************** 00002 AQSPainter_p.h 00003 ------------------- 00004 begin : 14/02/2011 00005 copyright : (C) 2003-2011 by InfoSiAL S.L. 00006 email : mail@infosial.com 00007 ***************************************************************************/ 00008 /*************************************************************************** 00009 * This program is free software; you can redistribute it and/or modify * 00010 * it under the terms of the GNU General Public License as published by * 00011 * the Free Software Foundation; version 2 of the License. * 00012 ***************************************************************************/ 00013 /*************************************************************************** 00014 Este programa es software libre. Puede redistribuirlo y/o modificarlo 00015 bajo los términos de la Licencia Pública General de GNU en su 00016 versión 2, publicada por la Free Software Foundation. 00017 ***************************************************************************/ 00018 00019 #ifndef AQSPAINTER_P_H_ 00020 #define AQSPAINTER_P_H_ 00021 00022 #include "AQSImage_p.h" 00023 #include "AQSPen_p.h" 00024 #include "AQSBrush_p.h" 00025 #include "AQSFontMetrics_p.h" 00026 #include "AQSPicture_p.h" 00027 #include <qpainter.h> 00028 00029 // @AQ_PTR_INDIRECTION@ 00030 00031 class AQSPainter : public AQSVoidPtr 00032 { 00033 Q_OBJECT 00034 00035 Q_ENUMS(BGMode) 00036 Q_ENUMS(RasterOp) 00037 Q_ENUMS(BrushStyle) 00038 00039 AQ_DECLARE_AQS_VOID(Painter, VoidPtr); 00040 00041 public slots: 00042 void setNoPen() { 00043 AQ_CALL_VOID(setPen(Qt::NoPen)); 00044 } 00045 00046 void setNoBrush() { 00047 AQ_CALL_VOID(setBrush(Qt::NoBrush)); 00048 } 00049 00050 //@AQ_BEGIN_DEF_PUB_SLOTS@ 00051 public slots: 00052 bool begin(const QPaintDevice *, bool = FALSE); 00053 bool begin(const QPaintDevice *, const QWidget *, bool = FALSE); 00054 bool end(); 00055 QPaintDevice *device() const; 00056 bool isActive() const; 00057 void flush(QRegion *, uint = QPainter::CoordDevice); 00058 void flush(AQSRegion *, uint = QPainter::CoordDevice); 00059 void flush(); 00060 void save(); 00061 void restore(); 00062 QFontMetrics *fontMetrics() const; 00063 const QFont &font() const; 00064 void setFont(const QFont &); 00065 QPen *pen() const; 00066 void setPen(QPen *); 00067 void setPen(AQSPen *); 00068 void setPen(uint); 00069 void setPen(QColor *); 00070 void setPen(AQSColor *); 00071 QBrush *brush() const; 00072 void setBrush(QBrush *); 00073 void setBrush(AQSBrush *); 00074 void setBrush(BrushStyle); 00075 void setBrush(QColor *); 00076 void setBrush(AQSColor *); 00077 QColor *backgroundColor() const; 00078 void setBackgroundColor(QColor *); 00079 void setBackgroundColor(AQSColor *); 00080 void setBackgroundMode(BGMode); 00081 void setRasterOp(RasterOp); 00082 QPoint brushOrigin() const; 00083 void setBrushOrigin(int, int); 00084 void setBrushOrigin(const QPoint &); 00085 bool hasViewXForm() const; 00086 bool hasWorldXForm() const; 00087 void setViewXForm(bool); 00088 QRect window() const; 00089 void setWindow(const QRect &); 00090 void setWindow(int, int, int, int); 00091 QRect viewport() const; 00092 void setViewport(const QRect &); 00093 void setViewport(int, int, int, int); 00094 void setWorldXForm(bool); 00095 QWMatrix *worldMatrix() const; 00096 void setWorldMatrix(QWMatrix *, bool = FALSE); 00097 void setWorldMatrix(AQSWMatrix *, bool = FALSE); 00098 void scale(double, double); 00099 void shear(double, double); 00100 void rotate(double); 00101 void translate(double, double); 00102 void resetXForm(); 00103 QPoint xForm(const QPoint &) const; 00104 QRect xForm(const QRect &) const; 00105 QPointArray *xForm(QPointArray *) const; 00106 QPointArray *xForm(AQSPointArray *) const; 00107 QPointArray *xForm(QPointArray *, int, int) const; 00108 QPointArray *xForm(AQSPointArray *, int, int) const; 00109 QPoint xFormDev(const QPoint &) const; 00110 QRect xFormDev(const QRect &) const; 00111 QPointArray *xFormDev(QPointArray *) const; 00112 QPointArray *xFormDev(AQSPointArray *) const; 00113 QPointArray *xFormDev(QPointArray *, int, int) const; 00114 QPointArray *xFormDev(AQSPointArray *, int, int) const; 00115 void setClipping(bool); 00116 bool hasClipping() const; 00117 QRegion *clipRegion(uint = QPainter::CoordDevice) const; 00118 void setClipRect(const QRect &, uint = QPainter::CoordDevice); 00119 void setClipRect(int, int, int, int, uint = QPainter::CoordDevice); 00120 void setClipRegion(QRegion *, uint = QPainter::CoordDevice); 00121 void setClipRegion(AQSRegion *, uint = QPainter::CoordDevice); 00122 void drawPoint(int, int); 00123 void drawPoint(const QPoint &); 00124 void drawPoints(QPointArray *, int = 0, int = -1); 00125 void drawPoints(AQSPointArray *, int = 0, int = -1); 00126 void drawLine(int, int, int, int); 00127 void drawLine(const QPoint &, const QPoint &); 00128 void drawRect(int, int, int, int); 00129 void drawRect(const QRect &); 00130 void drawWinFocusRect(int, int, int, int); 00131 void drawWinFocusRect(int, int, int, int, QColor *); 00132 void drawWinFocusRect(int, int, int, int, AQSColor *); 00133 void drawWinFocusRect(const QRect &); 00134 void drawWinFocusRect(const QRect &, QColor *); 00135 void drawWinFocusRect(const QRect &, AQSColor *); 00136 void drawRoundRect(int, int, int, int, int = 25, int = 25); 00137 void drawRoundRect(const QRect &, int = 25, int = 25); 00138 void drawEllipse(int, int, int, int); 00139 void drawEllipse(const QRect &); 00140 void drawArc(int, int, int, int, int, int); 00141 void drawArc(const QRect &, int, int); 00142 void drawPie(int, int, int, int, int, int); 00143 void drawPie(const QRect &, int, int); 00144 void drawChord(int, int, int, int, int, int); 00145 void drawChord(const QRect &, int, int); 00146 void drawLineSegments(QPointArray *, int = 0, int = -1); 00147 void drawLineSegments(AQSPointArray *, int = 0, int = -1); 00148 void drawPolyline(QPointArray *, int = 0, int = -1); 00149 void drawPolyline(AQSPointArray *, int = 0, int = -1); 00150 void drawPolygon(QPointArray *, bool = FALSE, int = 0, int = -1); 00151 void drawPolygon(AQSPointArray *, bool = FALSE, int = 0, int = -1); 00152 void drawConvexPolygon(QPointArray *, int = 0, int = -1); 00153 void drawConvexPolygon(AQSPointArray *, int = 0, int = -1); 00154 void drawCubicBezier(QPointArray *, int = 0); 00155 void drawCubicBezier(AQSPointArray *, int = 0); 00156 void drawPixmap(int, int, QPixmap *, int = 0, int = 0, int = -1, int = -1); 00157 void drawPixmap(int, int, AQSPixmap *, int = 0, int = 0, int = -1, int = -1); 00158 void drawPixmap(const QPoint &, QPixmap *, const QRect &); 00159 void drawPixmap(const QPoint &, AQSPixmap *, const QRect &); 00160 void drawPixmap(const QPoint &, QPixmap *); 00161 void drawPixmap(const QPoint &, AQSPixmap *); 00162 void drawPixmap(const QRect &, QPixmap *); 00163 void drawPixmap(const QRect &, AQSPixmap *); 00164 void drawImage(int, int, QImage *, int = 0, int = 0, int = -1, int = -1, int = 0); 00165 void drawImage(int, int, AQSImage *, int = 0, int = 0, int = -1, int = -1, int = 0); 00166 void drawImage(const QPoint &, QImage *, const QRect &, int = 0); 00167 void drawImage(const QPoint &, AQSImage *, const QRect &, int = 0); 00168 void drawImage(const QPoint &, QImage *, int = 0); 00169 void drawImage(const QPoint &, AQSImage *, int = 0); 00170 void drawImage(const QRect &, QImage *); 00171 void drawImage(const QRect &, AQSImage *); 00172 void drawTiledPixmap(int, int, int, int, QPixmap *, int = 0, int = 0); 00173 void drawTiledPixmap(int, int, int, int, AQSPixmap *, int = 0, int = 0); 00174 void drawTiledPixmap(const QRect &, QPixmap *, const QPoint &); 00175 void drawTiledPixmap(const QRect &, AQSPixmap *, const QPoint &); 00176 void drawTiledPixmap(const QRect &, QPixmap *); 00177 void drawTiledPixmap(const QRect &, AQSPixmap *); 00178 void drawPicture(int, int, QPicture *); 00179 void drawPicture(int, int, AQSPicture *); 00180 void drawPicture(const QPoint &, QPicture *); 00181 void drawPicture(const QPoint &, AQSPicture *); 00182 void fillRect(int, int, int, int, QBrush *); 00183 void fillRect(int, int, int, int, AQSBrush *); 00184 void fillRect(const QRect &, QBrush *); 00185 void fillRect(const QRect &, AQSBrush *); 00186 void eraseRect(int, int, int, int); 00187 void eraseRect(const QRect &); 00188 void drawText(int, int, const QString &, int = -1, uint = QPainter::Auto); 00189 void drawText(const QPoint &, const QString &, int = -1, uint = QPainter::Auto); 00190 void drawText(int, int, const QString &, int, int, uint = QPainter::Auto); 00191 void drawText(const QPoint &, const QString &, int, int, uint = QPainter::Auto); 00192 void drawText(int, int, int, int, int, const QString &, int = -1, QRect* = 0, QTextParag ** = 0); 00193 void drawText(const QRect &, int, const QString &, int = -1, QRect* = 0, QTextParag ** = 0); 00194 QRect boundingRect(int, int, int, int, int, const QString &, int = -1, QTextParag ** = 0); 00195 QRect boundingRect(const QRect &, int, const QString &, int = -1, QTextParag ** = 0); 00196 int tabStops() const; 00197 void setTabStops(int); 00198 int *tabArray() const; 00199 void setTabArray(int *); 00200 00201 protected: 00202 static void *construct(const QSArgumentList &args) { 00203 QMap<int, QStringList> candidates; 00204 candidates[0].append(QString::null); 00205 candidates[1].append(QString::fromLatin1("QPaintDevice*")); 00206 candidates[2].append(QString::fromLatin1("QPaintDevice*,bool")); 00207 candidates[2].append(QString::fromLatin1("QPaintDevice*,QWidget*")); 00208 candidates[3].append(QString::fromLatin1("QPaintDevice*,QWidget*,bool")); 00209 QString sgt(castArgsSignature(args, candidates)); 00210 if (sgt.isEmpty()) 00211 return new QPainter; 00212 if (sgt == QString::fromLatin1("QPaintDevice*")) 00213 return new QPainter(argValue<QPaintDevice *>(args[0])); 00214 if (sgt == QString::fromLatin1("QPaintDevice*,bool")) 00215 return new QPainter(argValue<QPaintDevice *>(args[0]), 00216 args[1].variant().toBool()); 00217 if (sgt == QString::fromLatin1("QPaintDevice*,QWidget*")) 00218 return new QPainter(argValue<QPaintDevice *>(args[0]), 00219 argValue<QWidget *>(args[1])); 00220 if (sgt == QString::fromLatin1("QPaintDevice*,QWidget*,bool")) 00221 return new QPainter(argValue<QPaintDevice *>(args[0]), 00222 argValue<QWidget *>(args[1]), 00223 args[2].variant().toBool()); 00224 return 0; 00225 } 00226 00227 public: 00228 static QMap<int, QStringList> candidateConstructors() { 00229 QMap<int, QStringList> candidates; 00230 candidates[0].append(QString::null); 00231 candidates[1].append(QString::fromLatin1("QPaintDevice*")); 00232 candidates[2].append(QString::fromLatin1("QPaintDevice*,bool")); 00233 candidates[2].append(QString::fromLatin1("QPaintDevice*,QWidget*")); 00234 candidates[3].append(QString::fromLatin1("QPaintDevice*,QWidget*,bool")); 00235 return candidates; 00236 } 00237 //@AQ_END_DEF_PUB_SLOTS@ 00238 }; 00239 00240 //@AQ_BEGIN_IMP_PUB_SLOTS@ 00241 inline bool AQSPainter::begin(const QPaintDevice *arg0, bool arg1) 00242 { 00243 AQ_CALL_RET_V(begin(arg0, arg1), bool); 00244 } 00245 inline bool AQSPainter::begin(const QPaintDevice *arg0, const QWidget *arg1, bool arg2) 00246 { 00247 AQ_CALL_RET_V(begin(arg0, arg1, arg2), bool); 00248 } 00249 inline bool AQSPainter::end() 00250 { 00251 AQ_CALL_RET_V(end(), bool); 00252 } 00253 inline QPaintDevice *AQSPainter::device() const 00254 { 00255 AQ_CALL_RET(device()); 00256 } 00257 inline bool AQSPainter::isActive() const 00258 { 00259 AQ_CALL_RET_V(isActive(), bool); 00260 } 00261 inline void AQSPainter::flush(QRegion *arg0, uint arg1) 00262 { 00263 AQ_CALL_VOID(flush(*arg0, static_cast<QPainter::CoordinateMode>(arg1))); 00264 } 00265 inline void AQSPainter::flush(AQSRegion *arg0, uint arg1) 00266 { 00267 AQ_CALL_VOID(flush(*arg0, static_cast<QPainter::CoordinateMode>(arg1))); 00268 } 00269 inline void AQSPainter::flush() 00270 { 00271 AQ_CALL_VOID(flush()); 00272 } 00273 inline void AQSPainter::save() 00274 { 00275 AQ_CALL_VOID(save()); 00276 } 00277 inline void AQSPainter::restore() 00278 { 00279 AQ_CALL_VOID(restore()); 00280 } 00281 inline QFontMetrics *AQSPainter::fontMetrics() const 00282 { 00283 AQ_CALL_RET_PTR(fontMetrics(), QFontMetrics); 00284 } 00285 inline const QFont &AQSPainter::font() const 00286 { 00287 AQ_CALL_RET_V(font(), QFont); 00288 } 00289 inline void AQSPainter::setFont(const QFont &arg0) 00290 { 00291 AQ_CALL_VOID(setFont(arg0)); 00292 } 00293 inline QPen *AQSPainter::pen() const 00294 { 00295 AQ_CALL_RET_PTR(pen(), QPen); 00296 } 00297 inline void AQSPainter::setPen(QPen *arg0) 00298 { 00299 AQ_CALL_VOID(setPen(*arg0)); 00300 } 00301 inline void AQSPainter::setPen(AQSPen *arg0) 00302 { 00303 AQ_CALL_VOID(setPen(*arg0)); 00304 } 00305 inline void AQSPainter::setPen(uint arg0) 00306 { 00307 AQ_CALL_VOID(setPen(arg0)); 00308 } 00309 inline void AQSPainter::setPen(QColor *arg0) 00310 { 00311 AQ_CALL_VOID(setPen(*arg0)); 00312 } 00313 inline void AQSPainter::setPen(AQSColor *arg0) 00314 { 00315 AQ_CALL_VOID(setPen(*arg0)); 00316 } 00317 inline QBrush *AQSPainter::brush() const 00318 { 00319 AQ_CALL_RET_PTR(brush(), QBrush); 00320 } 00321 inline void AQSPainter::setBrush(QBrush *arg0) 00322 { 00323 AQ_CALL_VOID(setBrush(*arg0)); 00324 } 00325 inline void AQSPainter::setBrush(AQSBrush *arg0) 00326 { 00327 AQ_CALL_VOID(setBrush(*arg0)); 00328 } 00329 inline void AQSPainter::setBrush(BrushStyle arg0) 00330 { 00331 AQ_CALL_VOID(setBrush(arg0)); 00332 } 00333 inline void AQSPainter::setBrush(QColor *arg0) 00334 { 00335 AQ_CALL_VOID(setBrush(*arg0)); 00336 } 00337 inline void AQSPainter::setBrush(AQSColor *arg0) 00338 { 00339 AQ_CALL_VOID(setBrush(*arg0)); 00340 } 00341 inline QColor *AQSPainter::backgroundColor() const 00342 { 00343 AQ_CALL_RET_PTR(backgroundColor(), QColor); 00344 } 00345 inline void AQSPainter::setBackgroundColor(QColor *arg0) 00346 { 00347 AQ_CALL_VOID(setBackgroundColor(*arg0)); 00348 } 00349 inline void AQSPainter::setBackgroundColor(AQSColor *arg0) 00350 { 00351 AQ_CALL_VOID(setBackgroundColor(*arg0)); 00352 } 00353 inline void AQSPainter::setBackgroundMode(BGMode arg0) 00354 { 00355 AQ_CALL_VOID(setBackgroundMode(arg0)); 00356 } 00357 inline void AQSPainter::setRasterOp(RasterOp arg0) 00358 { 00359 AQ_CALL_VOID(setRasterOp(arg0)); 00360 } 00361 inline QPoint AQSPainter::brushOrigin() const 00362 { 00363 AQ_CALL_RET_V(brushOrigin(), QPoint); 00364 } 00365 inline void AQSPainter::setBrushOrigin(int arg0, int arg1) 00366 { 00367 AQ_CALL_VOID(setBrushOrigin(arg0, arg1)); 00368 } 00369 inline void AQSPainter::setBrushOrigin(const QPoint &arg0) 00370 { 00371 AQ_CALL_VOID(setBrushOrigin(arg0)); 00372 } 00373 inline bool AQSPainter::hasViewXForm() const 00374 { 00375 AQ_CALL_RET_V(hasViewXForm(), bool); 00376 } 00377 inline bool AQSPainter::hasWorldXForm() const 00378 { 00379 AQ_CALL_RET_V(hasWorldXForm(), bool); 00380 } 00381 inline void AQSPainter::setViewXForm(bool arg0) 00382 { 00383 AQ_CALL_VOID(setViewXForm(arg0)); 00384 } 00385 inline QRect AQSPainter::window() const 00386 { 00387 AQ_CALL_RET_V(window(), QRect); 00388 } 00389 inline void AQSPainter::setWindow(const QRect &arg0) 00390 { 00391 AQ_CALL_VOID(setWindow(arg0)); 00392 } 00393 inline void AQSPainter::setWindow(int arg0, int arg1, int arg2, int arg3) 00394 { 00395 AQ_CALL_VOID(setWindow(arg0, arg1, arg2, arg3)); 00396 } 00397 inline QRect AQSPainter::viewport() const 00398 { 00399 AQ_CALL_RET_V(viewport(), QRect); 00400 } 00401 inline void AQSPainter::setViewport(const QRect &arg0) 00402 { 00403 AQ_CALL_VOID(setViewport(arg0)); 00404 } 00405 inline void AQSPainter::setViewport(int arg0, int arg1, int arg2, int arg3) 00406 { 00407 AQ_CALL_VOID(setViewport(arg0, arg1, arg2, arg3)); 00408 } 00409 inline void AQSPainter::setWorldXForm(bool arg0) 00410 { 00411 AQ_CALL_VOID(setWorldXForm(arg0)); 00412 } 00413 inline QWMatrix *AQSPainter::worldMatrix() const 00414 { 00415 AQ_CALL_RET_PTR(worldMatrix(), QWMatrix); 00416 } 00417 inline void AQSPainter::setWorldMatrix(QWMatrix *arg0, bool arg1) 00418 { 00419 AQ_CALL_VOID(setWorldMatrix(*arg0, arg1)); 00420 } 00421 inline void AQSPainter::setWorldMatrix(AQSWMatrix *arg0, bool arg1) 00422 { 00423 AQ_CALL_VOID(setWorldMatrix(*arg0, arg1)); 00424 } 00425 inline void AQSPainter::scale(double arg0, double arg1) 00426 { 00427 AQ_CALL_VOID(scale(arg0, arg1)); 00428 } 00429 inline void AQSPainter::shear(double arg0, double arg1) 00430 { 00431 AQ_CALL_VOID(shear(arg0, arg1)); 00432 } 00433 inline void AQSPainter::rotate(double arg0) 00434 { 00435 AQ_CALL_VOID(rotate(arg0)); 00436 } 00437 inline void AQSPainter::translate(double arg0, double arg1) 00438 { 00439 AQ_CALL_VOID(translate(arg0, arg1)); 00440 } 00441 inline void AQSPainter::resetXForm() 00442 { 00443 AQ_CALL_VOID(resetXForm()); 00444 } 00445 inline QPoint AQSPainter::xForm(const QPoint &arg0) const 00446 { 00447 AQ_CALL_RET_V(xForm(arg0), QPoint); 00448 } 00449 inline QRect AQSPainter::xForm(const QRect &arg0) const 00450 { 00451 AQ_CALL_RET_V(xForm(arg0), QRect); 00452 } 00453 inline QPointArray *AQSPainter::xForm(QPointArray *arg0) const 00454 { 00455 AQ_CALL_RET_PTR(xForm(*arg0), QPointArray); 00456 } 00457 inline QPointArray *AQSPainter::xForm(AQSPointArray *arg0) const 00458 { 00459 AQ_CALL_RET_PTR(xForm(*arg0), QPointArray); 00460 } 00461 inline QPointArray *AQSPainter::xForm(QPointArray *arg0, int arg1, int arg2) const 00462 { 00463 AQ_CALL_RET_PTR(xForm(*arg0, arg1, arg2), QPointArray); 00464 } 00465 inline QPointArray *AQSPainter::xForm(AQSPointArray *arg0, int arg1, int arg2) const 00466 { 00467 AQ_CALL_RET_PTR(xForm(*arg0, arg1, arg2), QPointArray); 00468 } 00469 inline QPoint AQSPainter::xFormDev(const QPoint &arg0) const 00470 { 00471 AQ_CALL_RET_V(xFormDev(arg0), QPoint); 00472 } 00473 inline QRect AQSPainter::xFormDev(const QRect &arg0) const 00474 { 00475 AQ_CALL_RET_V(xFormDev(arg0), QRect); 00476 } 00477 inline QPointArray *AQSPainter::xFormDev(QPointArray *arg0) const 00478 { 00479 AQ_CALL_RET_PTR(xFormDev(*arg0), QPointArray); 00480 } 00481 inline QPointArray *AQSPainter::xFormDev(AQSPointArray *arg0) const 00482 { 00483 AQ_CALL_RET_PTR(xFormDev(*arg0), QPointArray); 00484 } 00485 inline QPointArray *AQSPainter::xFormDev(QPointArray *arg0, int arg1, int arg2) const 00486 { 00487 AQ_CALL_RET_PTR(xFormDev(*arg0, arg1, arg2), QPointArray); 00488 } 00489 inline QPointArray *AQSPainter::xFormDev(AQSPointArray *arg0, int arg1, int arg2) const 00490 { 00491 AQ_CALL_RET_PTR(xFormDev(*arg0, arg1, arg2), QPointArray); 00492 } 00493 inline void AQSPainter::setClipping(bool arg0) 00494 { 00495 AQ_CALL_VOID(setClipping(arg0)); 00496 } 00497 inline bool AQSPainter::hasClipping() const 00498 { 00499 AQ_CALL_RET_V(hasClipping(), bool); 00500 } 00501 inline QRegion *AQSPainter::clipRegion(uint arg0) const 00502 { 00503 AQ_CALL_RET_PTR(clipRegion(static_cast<QPainter::CoordinateMode>(arg0)), QRegion); 00504 } 00505 inline void AQSPainter::setClipRect(const QRect &arg0, uint arg1) 00506 { 00507 AQ_CALL_VOID(setClipRect(arg0, static_cast<QPainter::CoordinateMode>(arg1))); 00508 } 00509 inline void AQSPainter::setClipRect(int arg0, int arg1, int arg2, int arg3, uint arg4) 00510 { 00511 AQ_CALL_VOID(setClipRect(arg0, arg1, arg2, arg3, static_cast<QPainter::CoordinateMode>(arg4))); 00512 } 00513 inline void AQSPainter::setClipRegion(QRegion *arg0, uint arg1) 00514 { 00515 AQ_CALL_VOID(setClipRegion(*arg0, static_cast<QPainter::CoordinateMode>(arg1))); 00516 } 00517 inline void AQSPainter::setClipRegion(AQSRegion *arg0, uint arg1) 00518 { 00519 AQ_CALL_VOID(setClipRegion(*arg0, static_cast<QPainter::CoordinateMode>(arg1))); 00520 } 00521 inline void AQSPainter::drawPoint(int arg0, int arg1) 00522 { 00523 AQ_CALL_VOID(drawPoint(arg0, arg1)); 00524 } 00525 inline void AQSPainter::drawPoint(const QPoint &arg0) 00526 { 00527 AQ_CALL_VOID(drawPoint(arg0)); 00528 } 00529 inline void AQSPainter::drawPoints(QPointArray *arg0, int arg1, int arg2) 00530 { 00531 AQ_CALL_VOID(drawPoints(*arg0, arg1, arg2)); 00532 } 00533 inline void AQSPainter::drawPoints(AQSPointArray *arg0, int arg1, int arg2) 00534 { 00535 AQ_CALL_VOID(drawPoints(*arg0, arg1, arg2)); 00536 } 00537 inline void AQSPainter::drawLine(int arg0, int arg1, int arg2, int arg3) 00538 { 00539 AQ_CALL_VOID(drawLine(arg0, arg1, arg2, arg3)); 00540 } 00541 inline void AQSPainter::drawLine(const QPoint &arg0, const QPoint &arg1) 00542 { 00543 AQ_CALL_VOID(drawLine(arg0, arg1)); 00544 } 00545 inline void AQSPainter::drawRect(int arg0, int arg1, int arg2, int arg3) 00546 { 00547 AQ_CALL_VOID(drawRect(arg0, arg1, arg2, arg3)); 00548 } 00549 inline void AQSPainter::drawRect(const QRect &arg0) 00550 { 00551 AQ_CALL_VOID(drawRect(arg0)); 00552 } 00553 inline void AQSPainter::drawWinFocusRect(int arg0, int arg1, int arg2, int arg3) 00554 { 00555 AQ_CALL_VOID(drawWinFocusRect(arg0, arg1, arg2, arg3)); 00556 } 00557 inline void AQSPainter::drawWinFocusRect(int arg0, int arg1, int arg2, int arg3, QColor *arg4) 00558 { 00559 AQ_CALL_VOID(drawWinFocusRect(arg0, arg1, arg2, arg3, *arg4)); 00560 } 00561 inline void AQSPainter::drawWinFocusRect(int arg0, int arg1, int arg2, int arg3, AQSColor *arg4) 00562 { 00563 AQ_CALL_VOID(drawWinFocusRect(arg0, arg1, arg2, arg3, *arg4)); 00564 } 00565 inline void AQSPainter::drawWinFocusRect(const QRect &arg0) 00566 { 00567 AQ_CALL_VOID(drawWinFocusRect(arg0)); 00568 } 00569 inline void AQSPainter::drawWinFocusRect(const QRect &arg0, QColor *arg1) 00570 { 00571 AQ_CALL_VOID(drawWinFocusRect(arg0, *arg1)); 00572 } 00573 inline void AQSPainter::drawWinFocusRect(const QRect &arg0, AQSColor *arg1) 00574 { 00575 AQ_CALL_VOID(drawWinFocusRect(arg0, *arg1)); 00576 } 00577 inline void AQSPainter::drawRoundRect(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5) 00578 { 00579 AQ_CALL_VOID(drawRoundRect(arg0, arg1, arg2, arg3, arg4, arg5)); 00580 } 00581 inline void AQSPainter::drawRoundRect(const QRect &arg0, int arg1, int arg2) 00582 { 00583 AQ_CALL_VOID(drawRoundRect(arg0, arg1, arg2)); 00584 } 00585 inline void AQSPainter::drawEllipse(int arg0, int arg1, int arg2, int arg3) 00586 { 00587 AQ_CALL_VOID(drawEllipse(arg0, arg1, arg2, arg3)); 00588 } 00589 inline void AQSPainter::drawEllipse(const QRect &arg0) 00590 { 00591 AQ_CALL_VOID(drawEllipse(arg0)); 00592 } 00593 inline void AQSPainter::drawArc(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5) 00594 { 00595 AQ_CALL_VOID(drawArc(arg0, arg1, arg2, arg3, arg4, arg5)); 00596 } 00597 inline void AQSPainter::drawArc(const QRect &arg0, int arg1, int arg2) 00598 { 00599 AQ_CALL_VOID(drawArc(arg0, arg1, arg2)); 00600 } 00601 inline void AQSPainter::drawPie(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5) 00602 { 00603 AQ_CALL_VOID(drawPie(arg0, arg1, arg2, arg3, arg4, arg5)); 00604 } 00605 inline void AQSPainter::drawPie(const QRect &arg0, int arg1, int arg2) 00606 { 00607 AQ_CALL_VOID(drawPie(arg0, arg1, arg2)); 00608 } 00609 inline void AQSPainter::drawChord(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5) 00610 { 00611 AQ_CALL_VOID(drawChord(arg0, arg1, arg2, arg3, arg4, arg5)); 00612 } 00613 inline void AQSPainter::drawChord(const QRect &arg0, int arg1, int arg2) 00614 { 00615 AQ_CALL_VOID(drawChord(arg0, arg1, arg2)); 00616 } 00617 inline void AQSPainter::drawLineSegments(QPointArray *arg0, int arg1, int arg2) 00618 { 00619 AQ_CALL_VOID(drawLineSegments(*arg0, arg1, arg2)); 00620 } 00621 inline void AQSPainter::drawLineSegments(AQSPointArray *arg0, int arg1, int arg2) 00622 { 00623 AQ_CALL_VOID(drawLineSegments(*arg0, arg1, arg2)); 00624 } 00625 inline void AQSPainter::drawPolyline(QPointArray *arg0, int arg1, int arg2) 00626 { 00627 AQ_CALL_VOID(drawPolyline(*arg0, arg1, arg2)); 00628 } 00629 inline void AQSPainter::drawPolyline(AQSPointArray *arg0, int arg1, int arg2) 00630 { 00631 AQ_CALL_VOID(drawPolyline(*arg0, arg1, arg2)); 00632 } 00633 inline void AQSPainter::drawPolygon(QPointArray *arg0, bool arg1, int arg2, int arg3) 00634 { 00635 AQ_CALL_VOID(drawPolygon(*arg0, arg1, arg2, arg3)); 00636 } 00637 inline void AQSPainter::drawPolygon(AQSPointArray *arg0, bool arg1, int arg2, int arg3) 00638 { 00639 AQ_CALL_VOID(drawPolygon(*arg0, arg1, arg2, arg3)); 00640 } 00641 inline void AQSPainter::drawConvexPolygon(QPointArray *arg0, int arg1, int arg2) 00642 { 00643 AQ_CALL_VOID(drawConvexPolygon(*arg0, arg1, arg2)); 00644 } 00645 inline void AQSPainter::drawConvexPolygon(AQSPointArray *arg0, int arg1, int arg2) 00646 { 00647 AQ_CALL_VOID(drawConvexPolygon(*arg0, arg1, arg2)); 00648 } 00649 inline void AQSPainter::drawCubicBezier(QPointArray *arg0, int arg1) 00650 { 00651 AQ_CALL_VOID(drawCubicBezier(*arg0, arg1)); 00652 } 00653 inline void AQSPainter::drawCubicBezier(AQSPointArray *arg0, int arg1) 00654 { 00655 AQ_CALL_VOID(drawCubicBezier(*arg0, arg1)); 00656 } 00657 inline void AQSPainter::drawPixmap(int arg0, int arg1, QPixmap *arg2, int arg3, int arg4, int arg5, int arg6) 00658 { 00659 AQ_CALL_VOID(drawPixmap(arg0, arg1, *arg2, arg3, arg4, arg5, arg6)); 00660 } 00661 inline void AQSPainter::drawPixmap(int arg0, int arg1, AQSPixmap *arg2, int arg3, int arg4, int arg5, int arg6) 00662 { 00663 AQ_CALL_VOID(drawPixmap(arg0, arg1, *arg2, arg3, arg4, arg5, arg6)); 00664 } 00665 inline void AQSPainter::drawPixmap(const QPoint &arg0, QPixmap *arg1, const QRect &arg2) 00666 { 00667 AQ_CALL_VOID(drawPixmap(arg0, *arg1, arg2)); 00668 } 00669 inline void AQSPainter::drawPixmap(const QPoint &arg0, AQSPixmap *arg1, const QRect &arg2) 00670 { 00671 AQ_CALL_VOID(drawPixmap(arg0, *arg1, arg2)); 00672 } 00673 inline void AQSPainter::drawPixmap(const QPoint &arg0, QPixmap *arg1) 00674 { 00675 AQ_CALL_VOID(drawPixmap(arg0, *arg1)); 00676 } 00677 inline void AQSPainter::drawPixmap(const QPoint &arg0, AQSPixmap *arg1) 00678 { 00679 AQ_CALL_VOID(drawPixmap(arg0, *arg1)); 00680 } 00681 inline void AQSPainter::drawPixmap(const QRect &arg0, QPixmap *arg1) 00682 { 00683 AQ_CALL_VOID(drawPixmap(arg0, *arg1)); 00684 } 00685 inline void AQSPainter::drawPixmap(const QRect &arg0, AQSPixmap *arg1) 00686 { 00687 AQ_CALL_VOID(drawPixmap(arg0, *arg1)); 00688 } 00689 inline void AQSPainter::drawImage(int arg0, int arg1, QImage *arg2, int arg3, int arg4, int arg5, int arg6, int arg7) 00690 { 00691 AQ_CALL_VOID(drawImage(arg0, arg1, *arg2, arg3, arg4, arg5, arg6, arg7)); 00692 } 00693 inline void AQSPainter::drawImage(int arg0, int arg1, AQSImage *arg2, int arg3, int arg4, int arg5, int arg6, int arg7) 00694 { 00695 AQ_CALL_VOID(drawImage(arg0, arg1, *arg2, arg3, arg4, arg5, arg6, arg7)); 00696 } 00697 inline void AQSPainter::drawImage(const QPoint &arg0, QImage *arg1, const QRect &arg2, int arg3) 00698 { 00699 AQ_CALL_VOID(drawImage(arg0, *arg1, arg2, arg3)); 00700 } 00701 inline void AQSPainter::drawImage(const QPoint &arg0, AQSImage *arg1, const QRect &arg2, int arg3) 00702 { 00703 AQ_CALL_VOID(drawImage(arg0, *arg1, arg2, arg3)); 00704 } 00705 inline void AQSPainter::drawImage(const QPoint &arg0, QImage *arg1, int arg2) 00706 { 00707 AQ_CALL_VOID(drawImage(arg0, *arg1, arg2)); 00708 } 00709 inline void AQSPainter::drawImage(const QPoint &arg0, AQSImage *arg1, int arg2) 00710 { 00711 AQ_CALL_VOID(drawImage(arg0, *arg1, arg2)); 00712 } 00713 inline void AQSPainter::drawImage(const QRect &arg0, QImage *arg1) 00714 { 00715 AQ_CALL_VOID(drawImage(arg0, *arg1)); 00716 } 00717 inline void AQSPainter::drawImage(const QRect &arg0, AQSImage *arg1) 00718 { 00719 AQ_CALL_VOID(drawImage(arg0, *arg1)); 00720 } 00721 inline void AQSPainter::drawTiledPixmap(int arg0, int arg1, int arg2, int arg3, QPixmap *arg4, int arg5, int arg6) 00722 { 00723 AQ_CALL_VOID(drawTiledPixmap(arg0, arg1, arg2, arg3, *arg4, arg5, arg6)); 00724 } 00725 inline void AQSPainter::drawTiledPixmap(int arg0, int arg1, int arg2, int arg3, AQSPixmap *arg4, int arg5, int arg6) 00726 { 00727 AQ_CALL_VOID(drawTiledPixmap(arg0, arg1, arg2, arg3, *arg4, arg5, arg6)); 00728 } 00729 inline void AQSPainter::drawTiledPixmap(const QRect &arg0, QPixmap *arg1, const QPoint &arg2) 00730 { 00731 AQ_CALL_VOID(drawTiledPixmap(arg0, *arg1, arg2)); 00732 } 00733 inline void AQSPainter::drawTiledPixmap(const QRect &arg0, AQSPixmap *arg1, const QPoint &arg2) 00734 { 00735 AQ_CALL_VOID(drawTiledPixmap(arg0, *arg1, arg2)); 00736 } 00737 inline void AQSPainter::drawTiledPixmap(const QRect &arg0, QPixmap *arg1) 00738 { 00739 AQ_CALL_VOID(drawTiledPixmap(arg0, *arg1)); 00740 } 00741 inline void AQSPainter::drawTiledPixmap(const QRect &arg0, AQSPixmap *arg1) 00742 { 00743 AQ_CALL_VOID(drawTiledPixmap(arg0, *arg1)); 00744 } 00745 inline void AQSPainter::drawPicture(int arg0, int arg1, QPicture *arg2) 00746 { 00747 AQ_CALL_VOID(drawPicture(arg0, arg1, *arg2)); 00748 } 00749 inline void AQSPainter::drawPicture(int arg0, int arg1, AQSPicture *arg2) 00750 { 00751 AQ_CALL_VOID(drawPicture(arg0, arg1, *arg2)); 00752 } 00753 inline void AQSPainter::drawPicture(const QPoint &arg0, QPicture *arg1) 00754 { 00755 AQ_CALL_VOID(drawPicture(arg0, *arg1)); 00756 } 00757 inline void AQSPainter::drawPicture(const QPoint &arg0, AQSPicture *arg1) 00758 { 00759 AQ_CALL_VOID(drawPicture(arg0, *arg1)); 00760 } 00761 inline void AQSPainter::fillRect(int arg0, int arg1, int arg2, int arg3, QBrush *arg4) 00762 { 00763 AQ_CALL_VOID(fillRect(arg0, arg1, arg2, arg3, *arg4)); 00764 } 00765 inline void AQSPainter::fillRect(int arg0, int arg1, int arg2, int arg3, AQSBrush *arg4) 00766 { 00767 AQ_CALL_VOID(fillRect(arg0, arg1, arg2, arg3, *arg4)); 00768 } 00769 inline void AQSPainter::fillRect(const QRect &arg0, QBrush *arg1) 00770 { 00771 AQ_CALL_VOID(fillRect(arg0, *arg1)); 00772 } 00773 inline void AQSPainter::fillRect(const QRect &arg0, AQSBrush *arg1) 00774 { 00775 AQ_CALL_VOID(fillRect(arg0, *arg1)); 00776 } 00777 inline void AQSPainter::eraseRect(int arg0, int arg1, int arg2, int arg3) 00778 { 00779 AQ_CALL_VOID(eraseRect(arg0, arg1, arg2, arg3)); 00780 } 00781 inline void AQSPainter::eraseRect(const QRect &arg0) 00782 { 00783 AQ_CALL_VOID(eraseRect(arg0)); 00784 } 00785 inline void AQSPainter::drawText(int arg0, int arg1, const QString &arg2, int arg3, uint arg4) 00786 { 00787 AQ_CALL_VOID(drawText(arg0, arg1, arg2, arg3, static_cast<QPainter::TextDirection>(arg4))); 00788 } 00789 inline void AQSPainter::drawText(const QPoint &arg0, const QString &arg1, int arg2, uint arg3) 00790 { 00791 AQ_CALL_VOID(drawText(arg0, arg1, arg2, static_cast<QPainter::TextDirection>(arg3))); 00792 } 00793 inline void AQSPainter::drawText(int arg0, int arg1, const QString &arg2, int arg3, int arg4, uint arg5) 00794 { 00795 AQ_CALL_VOID(drawText(arg0, arg1, arg2, arg3, arg4, static_cast<QPainter::TextDirection>(arg5))); 00796 } 00797 inline void AQSPainter::drawText(const QPoint &arg0, const QString &arg1, int arg2, int arg3, uint arg4) 00798 { 00799 AQ_CALL_VOID(drawText(arg0, arg1, arg2, arg3, static_cast<QPainter::TextDirection>(arg4))); 00800 } 00801 inline void AQSPainter::drawText(int arg0, int arg1, int arg2, int arg3, int arg4, const QString &arg5, int arg6, QRect *arg7, QTextParag **arg8) 00802 { 00803 AQ_CALL_VOID(drawText(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8)); 00804 } 00805 inline void AQSPainter::drawText(const QRect &arg0, int arg1, const QString &arg2, int arg3, QRect *arg4, QTextParag **arg5) 00806 { 00807 AQ_CALL_VOID(drawText(arg0, arg1, arg2, arg3, arg4, arg5)); 00808 } 00809 inline QRect AQSPainter::boundingRect(int arg0, int arg1, int arg2, int arg3, int arg4, const QString &arg5, int arg6, QTextParag **arg7) 00810 { 00811 AQ_CALL_RET_V(boundingRect(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7), QRect); 00812 } 00813 inline QRect AQSPainter::boundingRect(const QRect &arg0, int arg1, const QString &arg2, int arg3, QTextParag **arg4) 00814 { 00815 AQ_CALL_RET_V(boundingRect(arg0, arg1, arg2, arg3, arg4), QRect); 00816 } 00817 inline int AQSPainter::tabStops() const 00818 { 00819 AQ_CALL_RET_V(tabStops(), int); 00820 } 00821 inline void AQSPainter::setTabStops(int arg0) 00822 { 00823 AQ_CALL_VOID(setTabStops(arg0)); 00824 } 00825 inline int *AQSPainter::tabArray() const 00826 { 00827 AQ_CALL_RET(tabArray()); 00828 } 00829 inline void AQSPainter::setTabArray(int *arg0) 00830 { 00831 AQ_CALL_VOID(setTabArray(arg0)); 00832 } 00833 //@AQ_END_IMP_PUB_SLOTS@ 00834 00835 #endif /* AQSPAINTER_P_H_ */ 00836 // @AQSVOIDPTR@