173 DRAW_RECTS = 0x0001, DRAW_LINES = 0x0002, DRAW_IMAGE = 0x0004, |
173 DRAW_RECTS = 0x0001, DRAW_LINES = 0x0002, DRAW_IMAGE = 0x0004, |
174 DRAW_PIXMAP = 0x0008, DRAW_TILED_PIXMAP = 0x0010, STROKE_PATH = 0x0020, |
174 DRAW_PIXMAP = 0x0008, DRAW_TILED_PIXMAP = 0x0010, STROKE_PATH = 0x0020, |
175 DRAW_PATH = 0x0040, DRAW_POINTS = 0x0080, DRAW_ELLIPSE = 0x0100, |
175 DRAW_PATH = 0x0040, DRAW_POINTS = 0x0080, DRAW_ELLIPSE = 0x0100, |
176 DRAW_POLYGON = 0x0200, DRAW_TEXT = 0x0400, FILL_PATH = 0x0800, |
176 DRAW_POLYGON = 0x0200, DRAW_TEXT = 0x0400, FILL_PATH = 0x0800, |
177 FILL_RECT = 0x1000, DRAW_COLORSPANS = 0x2000, DRAW_ROUNDED_RECT = 0x4000, |
177 FILL_RECT = 0x1000, DRAW_COLORSPANS = 0x2000, DRAW_ROUNDED_RECT = 0x4000, |
178 ALL = 0xffff |
178 DRAW_STATICTEXT = 0x8000, ALL = 0xffff |
179 }; |
179 }; |
180 |
180 |
181 #ifdef QT_DEBUG |
181 #ifdef QT_DEBUG |
182 static void initRasterFallbacksMasks(int *warningMask, int *disableMask) |
182 static void initRasterFallbacksMasks(int *warningMask, int *disableMask) |
183 { |
183 { |
793 { |
793 { |
794 RASTERFALLBACK(DRAW_ROUNDED_RECT, rect, xrad, yrad); |
794 RASTERFALLBACK(DRAW_ROUNDED_RECT, rect, xrad, yrad); |
795 Q_D(QDirectFBPaintEngine); |
795 Q_D(QDirectFBPaintEngine); |
796 d->lock(); |
796 d->lock(); |
797 QRasterPaintEngine::drawRoundedRect(rect, xrad, yrad, mode); |
797 QRasterPaintEngine::drawRoundedRect(rect, xrad, yrad, mode); |
|
798 } |
|
799 |
|
800 void QDirectFBPaintEngine::drawStaticTextItem(QStaticTextItem *item) |
|
801 { |
|
802 RASTERFALLBACK(DRAW_STATICTEXT, item, VOID_ARG(), VOID_ARG()); |
|
803 Q_D(QDirectFBPaintEngine); |
|
804 d->lock(); |
|
805 QRasterPaintEngine::drawStaticTextItem(item); |
798 } |
806 } |
799 |
807 |
800 void QDirectFBPaintEngine::fillRect(const QRectF &rect, const QBrush &brush) |
808 void QDirectFBPaintEngine::fillRect(const QRectF &rect, const QBrush &brush) |
801 { |
809 { |
802 Q_D(QDirectFBPaintEngine); |
810 Q_D(QDirectFBPaintEngine); |