summaryrefslogtreecommitdiff
path: root/vcl/generic
diff options
context:
space:
mode:
authorChr. Rossmanith <Chr.Rossmanith@gmx.de>2012-04-25 13:53:37 +0530
committerMuthu Subramanian <sumuthu@suse.com>2012-04-25 13:53:37 +0530
commit5708f2bfa70db0479ddbf9b454329cd81e0f509d (patch)
tree69b6b662f2460dab41dacb3986156d93943dd63d /vcl/generic
parentd6b2189fee1df979dfee53ac3824f101278facdf (diff)
Removed unused methods from psp::PrinterGfx
Diffstat (limited to 'vcl/generic')
-rw-r--r--vcl/generic/print/bitmap_gfx.cxx28
-rw-r--r--vcl/generic/print/common_gfx.cxx7
-rw-r--r--vcl/generic/print/text_gfx.cxx17
3 files changed, 0 insertions, 52 deletions
diff --git a/vcl/generic/print/bitmap_gfx.cxx b/vcl/generic/print/bitmap_gfx.cxx
index 3b19b51e9d59..cfabe70ba1c2 100644
--- a/vcl/generic/print/bitmap_gfx.cxx
+++ b/vcl/generic/print/bitmap_gfx.cxx
@@ -467,34 +467,6 @@ PrinterGfx::DrawBitmap (const Rectangle& rDest, const Rectangle& rSrc,
PSGRestore ();
}
-/* XXX does not work XXX */
-void
-PrinterGfx::DrawBitmap (const Rectangle& rDest, const Rectangle& rSrc,
- const PrinterBmp& /*rBitmap*/, const PrinterBmp& /*rTransBitmap*/)
-{
- double fScaleX = (double)rDest.GetWidth() / (double)rSrc.GetWidth();
- double fScaleY = (double)rDest.GetHeight() / (double)rSrc.GetHeight();
-
- PSGSave ();
- PSTranslate (rDest.BottomLeft());
- PSScale (fScaleX, fScaleY);
- PSGRestore ();
-}
-
-/* XXX does not work XXX */
-void
-PrinterGfx::DrawMask (const Rectangle& rDest, const Rectangle& rSrc,
- const PrinterBmp &/*rBitmap*/, PrinterColor& /*rMaskColor*/)
-{
- double fScaleX = (double)rDest.GetWidth() / (double)rSrc.GetWidth();
- double fScaleY = (double)rDest.GetHeight() / (double)rSrc.GetHeight();
-
- PSGSave ();
- PSTranslate (rDest.BottomLeft());
- PSScale (fScaleX, fScaleY);
- PSGRestore ();
-}
-
/*
*
* Implementation: PS Level 1
diff --git a/vcl/generic/print/common_gfx.cxx b/vcl/generic/print/common_gfx.cxx
index 662e696d91e9..d11ba20a7c40 100644
--- a/vcl/generic/print/common_gfx.cxx
+++ b/vcl/generic/print/common_gfx.cxx
@@ -104,13 +104,6 @@ PrinterGfx::Init (const JobData& rData)
return sal_True;
}
-void
-PrinterGfx::GetResolution (sal_Int32 &rDpiX, sal_Int32 &rDpiY) const
-{
- rDpiX = mnDpi;
- rDpiY = mnDpi;
-}
-
sal_uInt16
PrinterGfx::GetBitCount ()
{
diff --git a/vcl/generic/print/text_gfx.cxx b/vcl/generic/print/text_gfx.cxx
index 237bb1be2c0f..f7d9acb1e093 100644
--- a/vcl/generic/print/text_gfx.cxx
+++ b/vcl/generic/print/text_gfx.cxx
@@ -697,23 +697,6 @@ const ::std::list< KernPair >& PrinterGfx::getKernPairs( bool bVertical ) const
}
/*
- * advanced glyph handling
- */
-
-sal_Bool
-PrinterGfx::GetGlyphBoundRect (sal_Unicode /*c*/, Rectangle& /*rOutRect*/)
-{
- return 0;
-}
-
-sal_uInt32
-PrinterGfx::GetGlyphOutline (sal_Unicode /*c*/,
- sal_uInt16 **/*ppPolySizes*/, Point **/*ppPoints*/, sal_uInt8 **/*ppFlags*/)
-{
- return 0;
-}
-
-/*
* spool the converted truetype fonts to the page header after the page body is
* complete
* for Type1 fonts spool additional reencoding vectors that are necessary to access the