diff options
author | Rüdiger Timm <rt@openoffice.org> | 2005-03-30 07:30:55 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2005-03-30 07:30:55 +0000 |
commit | 9cb5f84c94d044fceba1072db8efb5f18d89f4e6 (patch) | |
tree | 7ad25d381ccd047156a009cccd8803155c4b2683 /cppcanvas/source | |
parent | 56598b22dc9a70e9d9d70b56d88acf741d32cc31 (diff) |
INTEGRATION: CWS presfixes02 (1.5.2); FILE MERGED
2005/03/14 16:04:53 thb 1.5.2.1: #i35136# #i36914# #i41113# #i44100# #i40115# #i41839# #i44404# Merge from presfixes01 patches
Diffstat (limited to 'cppcanvas/source')
-rw-r--r-- | cppcanvas/source/mtfrenderer/outdevstate.hxx | 68 |
1 files changed, 36 insertions, 32 deletions
diff --git a/cppcanvas/source/mtfrenderer/outdevstate.hxx b/cppcanvas/source/mtfrenderer/outdevstate.hxx index d2dfb0f7f24d..699df9e15a20 100644 --- a/cppcanvas/source/mtfrenderer/outdevstate.hxx +++ b/cppcanvas/source/mtfrenderer/outdevstate.hxx @@ -2,9 +2,9 @@ * * $RCSfile: outdevstate.hxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: vg $ $Date: 2005-03-10 13:25:26 $ + * last change: $Author: rt $ $Date: 2005-03-30 08:30:55 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -101,6 +101,9 @@ #ifndef _SV_OUTDEV_HXX #include <vcl/outdev.hxx> #endif +#ifndef _SV_OUTDEV_HXX +#include <vcl/outdev.hxx> +#endif namespace cppcanvas @@ -122,7 +125,7 @@ namespace cppcanvas xFont(), transform(), - fontTransform(), + fontRotation(0.0), textEmphasisMarkStyle(EMPHASISMARK_NONE), pushFlags(PUSH_ALL), @@ -132,6 +135,7 @@ namespace cppcanvas textReliefStyle(RELIEF_NONE), textUnderlineStyle(UNDERLINE_NONE), textStrikeoutStyle(STRIKEOUT_NONE), + textReferencePoint(ALIGN_BASELINE), isTextOutlineModeSet( false ), isTextEffectShadowSet( false ), @@ -143,44 +147,44 @@ namespace cppcanvas isTextLineColorSet( false ) { transform.identity(); - fontTransform.identity(); } - ::basegfx::B2DPolyPolygon clip; - ::Rectangle clipRect; - ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XPolyPolygon2D > xClipPoly; + ::basegfx::B2DPolyPolygon clip; + ::Rectangle clipRect; + ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XPolyPolygon2D > xClipPoly; - ::com::sun::star::uno::Sequence< double > lineColor; - ::com::sun::star::uno::Sequence< double > fillColor; - ::com::sun::star::uno::Sequence< double > textColor; - ::com::sun::star::uno::Sequence< double > textFillColor; - ::com::sun::star::uno::Sequence< double > textLineColor; + ::com::sun::star::uno::Sequence< double > lineColor; + ::com::sun::star::uno::Sequence< double > fillColor; + ::com::sun::star::uno::Sequence< double > textColor; + ::com::sun::star::uno::Sequence< double > textFillColor; + ::com::sun::star::uno::Sequence< double > textLineColor; /** Current font. @attention Beware, this member can be NULL, and nevertheless text output is generated. */ - ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XCanvasFont > xFont; - ::basegfx::B2DHomMatrix transform; - ::basegfx::B2DHomMatrix fontTransform; - - sal_uInt16 textEmphasisMarkStyle; - sal_uInt16 pushFlags; - sal_Int8 textDirection; - sal_Int8 textAlignment; - sal_Int8 textReliefStyle; - sal_Int8 textUnderlineStyle; - sal_Int8 textStrikeoutStyle; - - bool isTextOutlineModeSet; - bool isTextEffectShadowSet; - bool isTextWordUnderlineSet; - - bool isLineColorSet; - bool isFillColorSet; - bool isTextFillColorSet; - bool isTextLineColorSet; + ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XCanvasFont > xFont; + ::basegfx::B2DHomMatrix transform; + double fontRotation; + + sal_uInt16 textEmphasisMarkStyle; + sal_uInt16 pushFlags; + sal_Int8 textDirection; + sal_Int8 textAlignment; + sal_Int8 textReliefStyle; + sal_Int8 textUnderlineStyle; + sal_Int8 textStrikeoutStyle; + TextAlign textReferencePoint; + + bool isTextOutlineModeSet; + bool isTextEffectShadowSet; + bool isTextWordUnderlineSet; + + bool isLineColorSet; + bool isFillColorSet; + bool isTextFillColorSet; + bool isTextLineColorSet; }; } } |