Kaydet (Commit) d92ee5d8 authored tarafından Chris Sherlock's avatar Chris Sherlock

Split outdev3.cxx

Split outdev3.cxx into font and text functions

Change-Id: I535dbbce055246865d4d5b62fb1ea5b991fb4663
üst 5a35cb3e
......@@ -41,6 +41,28 @@
#include <vector>
#if defined UNX
#define GLYPH_FONT_HEIGHT 128
#else
#define GLYPH_FONT_HEIGHT 256
#endif
#define OUTDEV_INIT() \
{ \
if ( !IsDeviceOutputNecessary() ) \
return; \
\
if ( !mpGraphics ) \
if ( !ImplGetGraphics() ) \
return; \
\
if ( mbInitClipRegion ) \
ImplInitClipRegion(); \
\
if ( mbOutputClipped ) \
return; \
}
struct ImplOutDevData;
class ImplFontEntry;
struct ImplObjStack;
......@@ -125,22 +147,6 @@ 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()
......@@ -275,6 +281,9 @@ PolyPolygon ImplSubdivideBezier( const PolyPolygon& rPolyPoly );
sal_uLong ImplAdjustTwoRect( SalTwoRect& rTwoRect, const Size& rSizePix );
void ImplAdjustTwoRect( SalTwoRect& rTwoRect, const Rectangle& rValidSrcRect );
void ImplRotatePos( long nOriginX, long nOriginY, long& rX, long& rY,
int nOrientation );
extern const sal_uLong nVCLRLut[ 6 ];
extern const sal_uLong nVCLGLut[ 6 ];
extern const sal_uLong nVCLBLut[ 6 ];
......
......@@ -242,7 +242,8 @@ $(eval $(call gb_Library_add_exception_objects,vcl,\
vcl/source/outdev/blend \
vcl/source/outdev/mask \
vcl/source/outdev/bitmap \
vcl/source/outdev/outdev3 \
vcl/source/outdev/font \
vcl/source/outdev/text \
vcl/source/outdev/pixel \
vcl/source/outdev/rect \
vcl/source/outdev/line \
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment