INTEGRATION: CWS canvas05 (1.2.2); FILE MERGED

2008/04/21 07:29:14 thb 1.2.2.2: RESYNC: (1.2-1.3); FILE MERGED
2008/01/22 00:25:24 thb 1.2.2.1: #i81092# Making gdiplus and dx canvas more independent
This commit is contained in:
Kurt Zenker 2008-06-24 09:40:37 +00:00
parent e64d063885
commit a37b6df864

View File

@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: dx_textlayout_drawhelper.hxx,v $
* $Revision: 1.3 $
* $Revision: 1.4 $
*
* This file is part of OpenOffice.org.
*
@ -44,9 +44,11 @@
class ::com::sun::star::rendering::XCanvasFont;
namespace Gdiplus { class Graphics; }
namespace dxcanvas
{
class DXBitmap;
struct Bitmap;
class TextLayoutDrawHelper
{
public:
@ -55,15 +57,16 @@ namespace dxcanvas
~TextLayoutDrawHelper();
// draw text
void drawText( const ::boost::shared_ptr< DXBitmap > &rBitmap,
const ::com::sun::star::rendering::ViewState& rViewState,
void drawText( const boost::shared_ptr<Gdiplus::Graphics>& rGraphics,
const ::com::sun::star::rendering::ViewState& rViewState,
const ::com::sun::star::rendering::RenderState& rRenderState,
const ::basegfx::B2ISize& rOutputOffset,
const ::com::sun::star::rendering::StringContext& rText,
const ::com::sun::star::uno::Sequence< double >& rLogicalAdvancements,
const ::com::sun::star::uno::Reference<
::com::sun::star::rendering::XCanvasFont >& rCanvasFont,
const ::com::sun::star::geometry::Matrix2D& rFontMatrix );
const ::com::sun::star::geometry::Matrix2D& rFontMatrix,
bool bAlphaSurface );
::com::sun::star::geometry::RealRectangle2D queryTextBounds(
const ::com::sun::star::rendering::StringContext& rText,