summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2014-04-14 23:20:53 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2014-04-16 07:33:57 +1000
commit5a35cb3e7fdb67f4f75435ab8869f8d973ae5daf (patch)
tree85845a2524205726ab99d6db84a265eafd2721cd /include/vcl
parentd4bf419884994cdc0966e40468d44b94b68bb4e5 (diff)
Split outdev2.cxx
I have split outdev2.cxx into the following files: + alpha.cxx + bezier.cxx + bitmap.cxx + blend.cxx + gradient.cxx + hatch.cxx + pixel.cxx + polygon.cxx + line.cxx + polyline.cxx + rect.cxx + transparent.cxx I have also moved all the DrawDev functions into outdev.cxx Change-Id: Ica7057250526cd1ed680e5ec173c73265a586ea3
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/outdev.hxx25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index 0efbbcb05e31..ffe09b345a7f 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -125,6 +125,22 @@ struct ImplThresholdRes
long mnThresPixToLogY; // ""
};
+#define OUTDEV_INIT() \
+{ \
+ if ( !IsDeviceOutputNecessary() ) \
+ return; \
+ \
+ if ( !mpGraphics ) \
+ if ( !ImplGetGraphics() ) \
+ return; \
+ \
+ if ( mbInitClipRegion ) \
+ ImplInitClipRegion(); \
+ \
+ if ( mbOutputClipped ) \
+ return; \
+}
+
// OutputDevice-Types
// Flags for Push()
@@ -256,6 +272,15 @@ const char* ImplDbgCheckOutputDevice( const void* pObj );
Polygon ImplSubdivideBezier( const Polygon& rPoly );
PolyPolygon ImplSubdivideBezier( const PolyPolygon& rPolyPoly );
+sal_uLong ImplAdjustTwoRect( SalTwoRect& rTwoRect, const Size& rSizePix );
+void ImplAdjustTwoRect( SalTwoRect& rTwoRect, const Rectangle& rValidSrcRect );
+
+extern const sal_uLong nVCLRLut[ 6 ];
+extern const sal_uLong nVCLGLut[ 6 ];
+extern const sal_uLong nVCLBLut[ 6 ];
+extern const sal_uLong nVCLDitherLut[ 256 ];
+extern const sal_uLong nVCLLut[ 256 ];
+
class VCL_DLLPUBLIC OutputDevice
{
friend class Application;