summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/unx/glyphcache.hxx1
-rw-r--r--vcl/inc/vcl/bitmapex.hxx3
-rw-r--r--vcl/source/gdi/bitmapex.cxx7
-rw-r--r--vcl/unx/generic/glyphs/glyphcache.cxx14
4 files changed, 0 insertions, 25 deletions
diff --git a/vcl/inc/unx/glyphcache.hxx b/vcl/inc/unx/glyphcache.hxx
index 164bc0cbffed..e46fba2de3f5 100644
--- a/vcl/inc/unx/glyphcache.hxx
+++ b/vcl/inc/unx/glyphcache.hxx
@@ -211,7 +211,6 @@ public:
int GetGlyphKernValue( int, int ) const;
const ImplFontCharMap* GetImplFontCharMap() const;
bool GetFontCapabilities(vcl::FontCapabilities &) const;
- Point TransformPoint( const Point& ) const;
GlyphData& GetGlyphData( int nGlyphIndex );
const GlyphMetric& GetGlyphMetric( int nGlyphIndex )
diff --git a/vcl/inc/vcl/bitmapex.hxx b/vcl/inc/vcl/bitmapex.hxx
index 9a6259fa61eb..c9e462723169 100644
--- a/vcl/inc/vcl/bitmapex.hxx
+++ b/vcl/inc/vcl/bitmapex.hxx
@@ -95,9 +95,6 @@ public:
const Point& rDestPt ) const;
void Draw( OutputDevice* pOutDev,
const Point& rDestPt, const Size& rDestSize ) const;
- void Draw( OutputDevice* pOutDev,
- const Point& rDestPt, const Size& rDestSize,
- const Point& rSrcPtPixel, const Size& rSrcSizePixel ) const;
sal_Bool IsTransparent() const;
TransparentType GetTransparentType() const { return eTransparent; }
diff --git a/vcl/source/gdi/bitmapex.cxx b/vcl/source/gdi/bitmapex.cxx
index 2e77b666f8c8..584eacf2c360 100644
--- a/vcl/source/gdi/bitmapex.cxx
+++ b/vcl/source/gdi/bitmapex.cxx
@@ -723,13 +723,6 @@ void BitmapEx::Draw( OutputDevice* pOutDev,
// ------------------------------------------------------------------
-void BitmapEx::Draw( OutputDevice* pOutDev,
- const Point& rDestPt, const Size& rDestSize,
- const Point& rSrcPtPixel, const Size& rSrcSizePixel ) const
-{
- pOutDev->DrawBitmapEx( rDestPt, rDestSize, rSrcPtPixel, rSrcSizePixel, *this );
-}
-
BitmapEx BitmapEx:: AutoScaleBitmap(BitmapEx & aBitmap, const long aStandardSize)
{
Point aEmptyPoint(0,0);
diff --git a/vcl/unx/generic/glyphs/glyphcache.cxx b/vcl/unx/generic/glyphs/glyphcache.cxx
index 51614966a68d..5322b6502310 100644
--- a/vcl/unx/generic/glyphs/glyphcache.cxx
+++ b/vcl/unx/generic/glyphs/glyphcache.cxx
@@ -406,20 +406,6 @@ void ServerFont::GarbageCollect( long nMinLruIndex )
}
}
-// -----------------------------------------------------------------------
-
-Point ServerFont::TransformPoint( const Point& rPoint ) const
-{
- if( mnCos == 0x10000 )
- return rPoint;
- // TODO: use 32x32=>64bit intermediate
- const double dCos = mnCos * (1.0 / 0x10000);
- const double dSin = mnSin * (1.0 / 0x10000);
- long nX = (long)(rPoint.X() * dCos + rPoint.Y() * dSin);
- long nY = (long)(rPoint.Y() * dCos - rPoint.X() * dSin);
- return Point( nX, nY );
-}
-
bool ServerFont::IsGlyphInvisible( int nGlyphIndex )
{
if (!mbCollectedZW)