diff options
author | Christof Pintaske <cp@openoffice.org> | 2001-05-18 12:54:39 +0000 |
---|---|---|
committer | Christof Pintaske <cp@openoffice.org> | 2001-05-18 12:54:39 +0000 |
commit | 4bd896ab4dcda78dc224065c099dfcadda7fa593 (patch) | |
tree | d6f2f492ed698d94ac9b5e17513eb7a75f11b5cb /psprint/inc | |
parent | 2967a9f4b2fb1e0d299fdcac263be17135a8be10 (diff) |
#87260# 1bit PS Images
Diffstat (limited to 'psprint/inc')
-rw-r--r-- | psprint/inc/psprint/printergfx.hxx | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/psprint/inc/psprint/printergfx.hxx b/psprint/inc/psprint/printergfx.hxx index f6049a4e8d71..35f34e237074 100644 --- a/psprint/inc/psprint/printergfx.hxx +++ b/psprint/inc/psprint/printergfx.hxx @@ -2,9 +2,9 @@ * * $RCSfile: printergfx.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: cp $ $Date: 2001-05-11 12:25:30 $ + * last change: $Author: cp $ $Date: 2001-05-18 13:54:39 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -192,6 +192,14 @@ public: virtual sal_uInt32 GetDepth () const = 0; }; +typedef enum { + InvalidType = 0, + TrueColorImage, + MonochromeImage, + PaletteImage, + GrayScaleImage +} ImageType; + /* * printer raster operations */ @@ -246,9 +254,12 @@ private: sal_Bool mbCompressBmp; void DrawPS1GrayImage (const PrinterBmp& rBitmap, const Rectangle& rArea); + void writePS2ImageHeader (const Rectangle& rArea, psp::ImageType nType); + void writePS2Colorspace (const PrinterBmp& rBitmap, psp::ImageType nType); void DrawPS2GrayImage (const PrinterBmp& rBitmap, const Rectangle& rArea); void DrawPS2PaletteImage (const PrinterBmp& rBitmap, const Rectangle& rArea); void DrawPS2TrueColorImage (const PrinterBmp& rBitmap, const Rectangle& rArea); + void DrawPS2MonoImage (const PrinterBmp& rBitmap, const Rectangle& rArea); /* clip region */ |