equal
deleted
inserted
replaced
186 const QPixmap &pixmap) |
186 const QPixmap &pixmap) |
187 { |
187 { |
188 qDrawBorderPixmap(painter, target, margins, pixmap, pixmap.rect(), margins); |
188 qDrawBorderPixmap(painter, target, margins, pixmap, pixmap.rect(), margins); |
189 } |
189 } |
190 |
190 |
191 // For internal use only. |
|
192 namespace QDrawPixmaps |
|
193 { |
|
194 struct Data |
|
195 { |
|
196 QPointF point; |
|
197 QRectF source; |
|
198 qreal scaleX; |
|
199 qreal scaleY; |
|
200 qreal rotation; |
|
201 qreal opacity; |
|
202 }; |
|
203 |
|
204 enum DrawingHint |
|
205 { |
|
206 OpaqueHint = 0x01 |
|
207 }; |
|
208 |
|
209 Q_DECLARE_FLAGS(DrawingHints, DrawingHint) |
|
210 } |
|
211 |
|
212 // This function is private and may change without notice. Do not use outside Qt!!! |
|
213 Q_GUI_EXPORT void qDrawPixmaps(QPainter *painter, const QDrawPixmaps::Data *drawingData, |
|
214 int dataCount, const QPixmap &pixmap, QDrawPixmaps::DrawingHints hints = 0); |
|
215 |
|
216 QT_END_NAMESPACE |
191 QT_END_NAMESPACE |
217 |
192 |
218 QT_END_HEADER |
193 QT_END_HEADER |
219 |
194 |
220 #endif // QDRAWUTIL_H |
195 #endif // QDRAWUTIL_H |