equal
deleted
inserted
replaced
201 |
201 |
202 void clip(const QVectorPath &path, Qt::ClipOperation op); |
202 void clip(const QVectorPath &path, Qt::ClipOperation op); |
203 void clip(const QRect &rect, Qt::ClipOperation op); |
203 void clip(const QRect &rect, Qt::ClipOperation op); |
204 void clip(const QRegion ®ion, Qt::ClipOperation op); |
204 void clip(const QRegion ®ion, Qt::ClipOperation op); |
205 |
205 |
|
206 void drawStaticTextItem(QStaticTextItem *textItem); |
|
207 |
206 enum ClipType { |
208 enum ClipType { |
207 RectClip, |
209 RectClip, |
208 ComplexClip |
210 ComplexClip |
209 }; |
211 }; |
210 ClipType clipType() const; |
212 ClipType clipType() const; |
255 void init(); |
257 void init(); |
256 |
258 |
257 void fillRect(const QRectF &rect, QSpanData *data); |
259 void fillRect(const QRectF &rect, QSpanData *data); |
258 void drawBitmap(const QPointF &pos, const QImage &image, QSpanData *fill); |
260 void drawBitmap(const QPointF &pos, const QImage &image, QSpanData *fill); |
259 |
261 |
260 void drawCachedGlyphs(const QPointF &p, const QTextItemInt &ti); |
262 void drawCachedGlyphs(int numGlyphs, const glyph_t *glyphs, const QFixedPoint *positions, |
|
263 QFontEngine *fontEngine); |
261 |
264 |
262 #if defined(Q_OS_SYMBIAN) && defined(QT_NO_FREETYPE) |
265 #if defined(Q_OS_SYMBIAN) && defined(QT_NO_FREETYPE) |
263 void drawGlyphsS60(const QPointF &p, const QTextItemInt &ti); |
266 void drawGlyphsS60(const QPointF &p, const QTextItemInt &ti); |
264 #endif // Q_OS_SYMBIAN && QT_NO_FREETYPE |
267 #endif // Q_OS_SYMBIAN && QT_NO_FREETYPE |
265 |
268 |
295 #endif |
298 #endif |
296 QRasterPaintEnginePrivate : public QPaintEngineExPrivate |
299 QRasterPaintEnginePrivate : public QPaintEngineExPrivate |
297 { |
300 { |
298 Q_DECLARE_PUBLIC(QRasterPaintEngine) |
301 Q_DECLARE_PUBLIC(QRasterPaintEngine) |
299 public: |
302 public: |
|
303 QRasterPaintEnginePrivate(); |
300 |
304 |
301 void rasterizeLine_dashed(QLineF line, qreal width, |
305 void rasterizeLine_dashed(QLineF line, qreal width, |
302 int *dashIndex, qreal *dashOffset, bool *inDash); |
306 int *dashIndex, qreal *dashOffset, bool *inDash); |
303 void rasterize(QT_FT_Outline *outline, ProcessSpans callback, QSpanData *spanData, QRasterBuffer *rasterBuffer); |
307 void rasterize(QT_FT_Outline *outline, ProcessSpans callback, QSpanData *spanData, QRasterBuffer *rasterBuffer); |
304 void rasterize(QT_FT_Outline *outline, ProcessSpans callback, void *userData, QRasterBuffer *rasterBuffer); |
308 void rasterize(QT_FT_Outline *outline, ProcessSpans callback, void *userData, QRasterBuffer *rasterBuffer); |
349 |
353 |
350 QStroker basicStroker; |
354 QStroker basicStroker; |
351 QScopedPointer<QDashStroker> dashStroker; |
355 QScopedPointer<QDashStroker> dashStroker; |
352 |
356 |
353 QScopedPointer<QT_FT_Raster> grayRaster; |
357 QScopedPointer<QT_FT_Raster> grayRaster; |
354 unsigned long rasterPoolSize; |
|
355 unsigned char *rasterPoolBase; |
|
356 |
358 |
357 QDataBuffer<QLineF> cachedLines; |
359 QDataBuffer<QLineF> cachedLines; |
358 QSpanData image_filler; |
360 QSpanData image_filler; |
359 QSpanData image_filler_xform; |
361 QSpanData image_filler_xform; |
360 QSpanData solid_color_filler; |
362 QSpanData solid_color_filler; |