equal
deleted
inserted
replaced
73 #define QVG_NO_RENDER_TO_MASK 1 |
73 #define QVG_NO_RENDER_TO_MASK 1 |
74 #endif |
74 #endif |
75 |
75 |
76 #if !defined(QVG_NO_DRAW_GLYPHS) |
76 #if !defined(QVG_NO_DRAW_GLYPHS) |
77 |
77 |
78 extern int qt_defaultDpiX(); |
78 Q_DECL_IMPORT extern int qt_defaultDpiX(); |
79 extern int qt_defaultDpiY(); |
79 Q_DECL_IMPORT extern int qt_defaultDpiY(); |
80 |
80 |
81 class QVGPaintEnginePrivate; |
81 class QVGPaintEnginePrivate; |
82 |
82 |
83 class QVGFontGlyphCache |
83 class QVGFontGlyphCache |
84 { |
84 { |
495 mat[7] = transform.m32(); |
495 mat[7] = transform.m32(); |
496 mat[8] = transform.m33(); |
496 mat[8] = transform.m33(); |
497 vgLoadMatrix(mat); |
497 vgLoadMatrix(mat); |
498 } |
498 } |
499 |
499 |
500 extern bool qt_scaleForTransform(const QTransform &transform, qreal *scale); |
500 Q_DECL_IMPORT extern bool qt_scaleForTransform(const QTransform &transform, qreal *scale); |
501 |
501 |
502 void QVGPaintEnginePrivate::updateTransform(QPaintDevice *pdev) |
502 void QVGPaintEnginePrivate::updateTransform(QPaintDevice *pdev) |
503 { |
503 { |
504 VGfloat devh = pdev->height(); |
504 VGfloat devh = pdev->height(); |
505 |
505 |
973 #endif |
973 #endif |
974 |
974 |
975 return vgpath; |
975 return vgpath; |
976 } |
976 } |
977 |
977 |
978 extern QImage qt_imageForBrush(int style, bool invert); |
978 Q_DECL_IMPORT extern QImage qt_imageForBrush(int style, bool invert); |
979 |
979 |
980 static QImage colorizeBitmap(const QImage &image, const QColor &color) |
980 static QImage colorizeBitmap(const QImage &image, const QColor &color) |
981 { |
981 { |
982 QImage sourceImage = image.convertToFormat(QImage::Format_MonoLSB); |
982 QImage sourceImage = image.convertToFormat(QImage::Format_MonoLSB); |
983 QImage dest = QImage(sourceImage.size(), QImage::Format_ARGB32_Premultiplied); |
983 QImage dest = QImage(sourceImage.size(), QImage::Format_ARGB32_Premultiplied); |