diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-12-19 00:04:55 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2013-12-19 00:17:29 +0200 |
commit | 0d9c4baf86c502e7cc2b6072a530c6fad2179abe (patch) | |
tree | a51f92a2395691de03e11c94487c7b23791515bb /vcl/inc/quartz | |
parent | 2753bc1eff1bc595131a59518c1f7e131824b10d (diff) |
The "fake DPI scale" was always 1
Thanks to kendy for noticing.
Change-Id: I6b62d5a0c1dc5df374629a8f7c6e7d2f7cd7ffbd
Diffstat (limited to 'vcl/inc/quartz')
-rw-r--r-- | vcl/inc/quartz/salgdi.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/vcl/inc/quartz/salgdi.h b/vcl/inc/quartz/salgdi.h index 49140faf5451..e0b86c3c82eb 100644 --- a/vcl/inc/quartz/salgdi.h +++ b/vcl/inc/quartz/salgdi.h @@ -92,7 +92,7 @@ public: SalLayout* GetTextLayout( void ) const; - void GetFontMetric( float fPDIY, ImplFontMetricData& ) const; + void GetFontMetric( ImplFontMetricData& ) const; bool GetGlyphBoundRect( sal_GlyphId, Rectangle& ) const; bool GetGlyphOutline( sal_GlyphId, basegfx::B2DPolyPolygon& ) const; @@ -156,10 +156,6 @@ protected: /// device resolution of this graphics long mnRealDPIX; long mnRealDPIY; - /// some graphics implementations (e.g. AquaSalInfoPrinter) scale - /// everything down by a factor (see SetupPrinterGraphics for details) - /// so we have to compensate for it with the inverse factor - double mfFakeDPIScale; /// path representing current clip region CGMutablePathRef mxClipPath; @@ -194,7 +190,7 @@ public: bool IsBrushVisible() const { return maFillColor.IsVisible(); } void SetWindowGraphics( AquaSalFrame* pFrame ); - void SetPrinterGraphics( CGContextRef, long nRealDPIX, long nRealDPIY, double fFakeScale ); + void SetPrinterGraphics( CGContextRef, long nRealDPIX, long nRealDPIY ); void SetVirDevGraphics( CGLayerRef, CGContextRef, int nBitDepth = 0 ); void initResolution( NSWindow* ); |