summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/glyphs/glyphcache.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/generic/glyphs/glyphcache.cxx')
-rw-r--r--vcl/unx/generic/glyphs/glyphcache.cxx14
1 files changed, 0 insertions, 14 deletions
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)