diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-05-31 10:22:55 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-05-31 10:48:36 +0200 |
commit | 66febd27cb3bacf5a4996f184725f318bce0f4fc (patch) | |
tree | b05f4303ccbbfd57bad0c9ec34dca97ed23023ac /src/gui/painting/qpaintengine_raster_p.h | |
parent | 589a562c0123544dece4bd5479083f1e23b3d932 (diff) |
Windows: Bring back the HDC to the raster engine, Q_OS_WIN.
Diffstat (limited to 'src/gui/painting/qpaintengine_raster_p.h')
-rw-r--r-- | src/gui/painting/qpaintengine_raster_p.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/painting/qpaintengine_raster_p.h b/src/gui/painting/qpaintengine_raster_p.h index 5c3f2dfd06..6d0388bfa3 100644 --- a/src/gui/painting/qpaintengine_raster_p.h +++ b/src/gui/painting/qpaintengine_raster_p.h @@ -224,10 +224,11 @@ public: CGContextRef getCGContext() const; #endif -#ifdef Q_WS_WIN +#ifdef Q_OS_WIN void setDC(HDC hdc); HDC getDC() const; void releaseDC(HDC hdc) const; + static bool clearTypeFontsEnabled(); #endif void alphaPenBlt(const void* src, int bpl, int depth, int rx,int ry,int w,int h); @@ -324,7 +325,7 @@ public: QScopedPointer<QOutlineMapper> outlineMapper; QScopedPointer<QRasterBuffer> rasterBuffer; -#if defined (Q_WS_WIN) +#if defined (Q_OS_WIN) HDC hdc; #elif defined(Q_WS_MAC) CGContextRef cgContext; @@ -352,7 +353,7 @@ public: uint mono_surface : 1; uint outlinemapper_xform_dirty : 1; -#ifdef Q_WS_WIN +#ifdef Q_OS_WIN uint isPlain45DegreeRotation : 1; #endif |