diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-23 00:51:39 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-23 07:23:41 +1000 |
commit | 704e5abbe99b41859bb02d816ea1dc439180a5f6 (patch) | |
tree | bfc9053d99d806ecae0a1f619157aaa8aef02dd9 /include/vcl/print.hxx | |
parent | 1893ca5fd5fe66265af43473436b2943b35e1f2b (diff) |
Move bitmap functions in header, warn if calling GetBitmap() in Printer
Change-Id: Id2325822730d3d9167706c8c4118eaa3ca727195
Diffstat (limited to 'include/vcl/print.hxx')
-rw-r--r-- | include/vcl/print.hxx | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx index c29f8458113c..b02f739d4451 100644 --- a/include/vcl/print.hxx +++ b/include/vcl/print.hxx @@ -51,9 +51,6 @@ namespace vcl { } -// - Printer-Types - - - #define PAGEQUEUE_ALLPAGES 0xFFFF enum PrinterSupport { SUPPORT_SET_ORIENTATION, SUPPORT_SET_PAPERBIN, @@ -62,9 +59,6 @@ enum PrinterSupport { SUPPORT_SET_ORIENTATION, SUPPORT_SET_PAPERBIN, SUPPORT_SETUPDIALOG, SUPPORT_FAX, SUPPORT_PDF }; -// - PrinterPage - - - class VCL_DLLPUBLIC PrinterPage { GDIMetaFile* mpMtf; @@ -85,9 +79,6 @@ public: -// - QueueInfo - - - class VCL_DLLPUBLIC QueueInfo { friend class Printer; @@ -119,9 +110,6 @@ public: }; -// - PrinterOptions - - - enum PrinterTransparencyMode { PRINTER_TRANSPARENCY_AUTO = 0, @@ -208,9 +196,6 @@ public: }; -// - Printer - - - class VCL_DLLPUBLIC Printer : public OutputDevice { friend class OutputDevice; @@ -278,6 +263,7 @@ protected: public: void DrawGradientEx( OutputDevice* pOut, const Rectangle& rRect, const Gradient& rGradient ); + virtual Bitmap GetBitmap( const Point& rSrcPt, const Size& rSize ) const SAL_OVERRIDE; protected: |