Changeset 846 for trunk/src/gui/painting/qpaintbuffer_p.h
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/src/gui/painting/qpaintbuffer_p.h
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation (qt-info@nokia.com) … … 79 79 80 80 void draw(QPainter *painter, int frame = 0) const; 81 82 int frameStartIndex(int frame) const; 83 int frameEndIndex(int frame) const; 84 int processCommands(QPainter *painter, int begin, int end) const; 85 #ifndef QT_NO_DEBUG_STREAM 86 QString commandDescription(int command) const; 87 #endif 88 81 89 void setBoundingRect(const QRectF &rect); 82 90 QRectF boundingRect() const; … … 184 192 185 193 Cmd_SystemStateChanged, 194 Cmd_Translate, 195 Cmd_DrawStaticText, 196 197 // new commands must be added above this line 186 198 187 199 Cmd_LastCommand … … 314 326 void setupTransform(QPainter *painter); 315 327 virtual void process(const QPaintBufferCommand &cmd); 316 void draw(const QPaintBuffer &buffer, QPainter *painter, int frame);328 void processCommands(const QPaintBuffer &buffer, QPainter *painter, int begin, int end); 317 329 318 330 protected: … … 395 407 396 408 virtual void drawTextItem(const QPointF &pos, const QTextItem &ti); 409 virtual void drawStaticTextItem(QStaticTextItem *staticTextItem); 397 410 398 411 virtual void setState(QPainterState *s);
Note:
See TracChangeset
for help on using the changeset viewer.