LibreOffice Module vcl (master)  1
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
GDIMetaFile Class Referencefinal

#include <gdimtf.hxx>

Collaboration diagram for GDIMetaFile:
[legend]

Public Member Functions

 GDIMetaFile ()
 
 GDIMetaFile (const GDIMetaFile &rMtf)
 
 ~GDIMetaFile ()
 
GDIMetaFileoperator= (const GDIMetaFile &rMtf)
 
bool operator== (const GDIMetaFile &rMtf) const
 
bool operator!= (const GDIMetaFile &rMtf) const
 
void Clear ()
 
void Mirror (BmpMirrorFlags nMirrorFlags)
 
void Move (tools::Long nX, tools::Long nY)
 
void Move (tools::Long nX, tools::Long nY, tools::Long nDPIX, tools::Long nDPIY)
 
void Scale (double fScaleX, double fScaleY)
 
void Scale (const Fraction &rScaleX, const Fraction &rScaleY)
 
void Rotate (Degree10 nAngle10)
 
void Clip (const tools::Rectangle &)
 
bool HasTransparentActions () const
 
tools::Rectangle GetBoundRect (OutputDevice &i_rReference, tools::Rectangle *pHairline=nullptr) const
 
void Adjust (short nLuminancePercent, short nContrastPercent, short nChannelRPercent=0, short nChannelGPercent=0, short nChannelBPercent=0, double fGamma=1.0, bool bInvert=false, bool msoBrightness=false)
 
void Convert (MtfConversion eConversion)
 
void ReplaceColors (const Color *pSearchColors, const Color *rReplaceColors, sal_uLong nColorCount)
 
GDIMetaFile GetMonochromeMtf (const Color &rCol) const
 
void Record (OutputDevice *pOutDev)
 
bool IsRecord () const
 
void Play (GDIMetaFile &rMtf)
 
void Play (OutputDevice *pOutDev, size_t nPos=GDI_METAFILE_END)
 
void Play (OutputDevice *pOutDev, const Point &rPos, const Size &rSize)
 
void Pause (bool bPause)
 
bool IsPause () const
 
void Stop ()
 
void WindStart ()
 
void WindPrev ()
 
size_t GetActionSize () const
 
void AddAction (const rtl::Reference< MetaAction > &pAction)
 
void AddAction (const rtl::Reference< MetaAction > &pAction, size_t nPos)
 
void push_back (const rtl::Reference< MetaAction > &pAction)
 
void ReplaceAction (rtl::Reference< MetaAction > pAction, size_t nAction)
 
MetaActionFirstAction ()
 
MetaActionNextAction ()
 
MetaActionGetAction (size_t nAction) const
 
MetaActionGetCurAction () const
 
const SizeGetPrefSize () const
 
void SetPrefSize (const Size &rSize)
 
const MapModeGetPrefMapMode () const
 
void SetPrefMapMode (const MapMode &rMapMode)
 
BitmapChecksum GetChecksum () const
 
sal_uLong GetSizeBytes () const
 
SvStreamRead (SvStream &rIStm)
 
SvStreamWrite (SvStream &rOStm)
 
bool CreateThumbnail (BitmapEx &rBitmapEx, BmpConversion nColorConversion=BmpConversion::N24Bit, BmpScaleFlag nScaleFlag=BmpScaleFlag::BestQuality) const
 Creates an antialiased thumbnail. More...
 
void UseCanvas (bool _bUseCanvas)
 
bool GetUseCanvas () const
 
void dumpAsXml (const char *pFileName=nullptr) const
 Dumps the meta actions as XML in metafile.xml. More...
 

Private Member Functions

SAL_DLLPRIVATE void ImplExchangeColors (ColorExchangeFnc pFncCol, const void *pColParam, BmpExchangeFnc pFncBmp, const void *pBmpParam)
 
SAL_DLLPRIVATE bool ImplPlayWithRenderer (OutputDevice *pOut, const Point &rPos, Size rLogicDestSize)
 
void Linker (OutputDevice *pOut, bool bLink)
 

Static Private Member Functions

static SAL_DLLPRIVATE Color ImplColAdjustFnc (const Color &rColor, const void *pColParam)
 
static SAL_DLLPRIVATE BitmapEx ImplBmpAdjustFnc (const BitmapEx &rBmpEx, const void *pBmpParam)
 
static SAL_DLLPRIVATE Color ImplColConvertFnc (const Color &rColor, const void *pColParam)
 
static SAL_DLLPRIVATE BitmapEx ImplBmpConvertFnc (const BitmapEx &rBmpEx, const void *pBmpParam)
 
static SAL_DLLPRIVATE Color ImplColMonoFnc (const Color &rColor, const void *pColParam)
 
static SAL_DLLPRIVATE BitmapEx ImplBmpMonoFnc (const BitmapEx &rBmpEx, const void *pBmpParam)
 
static SAL_DLLPRIVATE Color ImplColReplaceFnc (const Color &rColor, const void *pColParam)
 
static SAL_DLLPRIVATE BitmapEx ImplBmpReplaceFnc (const BitmapEx &rBmpEx, const void *pBmpParam)
 
static SAL_DLLPRIVATE Point ImplGetRotatedPoint (const Point &rPt, const Point &rRotatePt, const Size &rOffset, double fSin, double fCos)
 
static SAL_DLLPRIVATE tools::Polygon ImplGetRotatedPolygon (const tools::Polygon &rPoly, const Point &rRotatePt, const Size &rOffset, double fSin, double fCos)
 
static SAL_DLLPRIVATE tools::PolyPolygon ImplGetRotatedPolyPolygon (const tools::PolyPolygon &rPoly, const Point &rRotatePt, const Size &rOffset, double fSin, double fCos)
 
static SAL_DLLPRIVATE void ImplAddGradientEx (GDIMetaFile &rMtf, const OutputDevice &rMapDev, const tools::PolyPolygon &rPolyPoly, const Gradient &rGrad)
 

Private Attributes

::std::vector< rtl::Reference< MetaAction > > m_aList
 
size_t m_nCurrentActionElement
 
MapMode m_aPrefMapMode
 
Size m_aPrefSize
 
GDIMetaFilem_pPrev
 
GDIMetaFilem_pNext
 
VclPtr< OutputDevicem_pOutDev
 
bool m_bPause
 
bool m_bRecord
 
bool m_bUseCanvas
 

Friends

VCL_DLLPUBLIC SvStreamReadGDIMetaFile (SvStream &rIStm, GDIMetaFile &rGDIMetaFile, ImplMetaReadData *pReadData)
 
VCL_DLLPUBLIC SvStreamWriteGDIMetaFile (SvStream &rOStm, const GDIMetaFile &rGDIMetaFile)
 

Detailed Description

Definition at line 57 of file gdimtf.hxx.

Constructor & Destructor Documentation

GDIMetaFile::GDIMetaFile ( )

Definition at line 115 of file gdimtf.cxx.

GDIMetaFile::GDIMetaFile ( const GDIMetaFile rMtf)

Definition at line 127 of file gdimtf.cxx.

References GetAction(), GetActionSize(), i, m_aList, m_bPause, m_bRecord, m_pOutDev, n, Pause(), and Record().

GDIMetaFile::~GDIMetaFile ( )

Definition at line 152 of file gdimtf.cxx.

References Clear().

Member Function Documentation

void GDIMetaFile::AddAction ( const rtl::Reference< MetaAction > &  pAction)

Definition at line 566 of file gdimtf.cxx.

References AddAction(), m_aList, and m_pPrev.

Referenced by AddAction(), OutputDevice::AddGradientActions(), OutputDevice::AddHatchActions(), appendSubPage(), clipMetafileContentAgainstOwnRegions(), OutputDevice::DrawArc(), OutputDevice::DrawBitmap(), OutputDevice::DrawBitmapEx(), OutputDevice::DrawChord(), OutputDevice::DrawComplexGradientToMetafile(), OutputDevice::DrawEllipse(), OutputDevice::DrawEPS(), OutputDevice::DrawGradientToMetafile(), OutputDevice::DrawHatch(), OutputDevice::DrawHatchLine(), OutputDevice::DrawLine(), OutputDevice::DrawLinearGradientToMetafile(), OutputDevice::DrawMask(), OutputDevice::DrawOutDev(), OutputDevice::DrawPie(), OutputDevice::DrawPixel(), OutputDevice::DrawPolygon(), OutputDevice::DrawPolyLine(), OutputDevice::DrawPolyLineDirect(), OutputDevice::DrawPolyPolygon(), OutputDevice::DrawRect(), OutputDevice::DrawStretchText(), OutputDevice::DrawText(), OutputDevice::DrawTextArray(), OutputDevice::DrawTextLine(), OutputDevice::DrawTransparent(), OutputDevice::DrawWallpaper(), MetaCommentAction::Execute(), vcl::PrinterController::getFilteredPageFile(), ImplAddGradientEx(), SVMConverter::ImplConvertFromSVM1(), ImpGraphic::ImplGetGDIMetaFile(), ImplVectorizer::ImplVectorize(), OutputDevice::IntersectClipRegion(), OutputDevice::MoveClipRegion(), Play(), OutputDevice::Pop(), OutputDevice::Push(), ReadGDIMetaFile(), OutputDevice::RemoveTransparenciesFromMetaFile(), Rotate(), OutputDevice::SetClipRegion(), OutputDevice::SetDigitLanguage(), OutputDevice::SetFillColor(), OutputDevice::SetFont(), OutputDevice::SetLayoutMode(), OutputDevice::SetLineColor(), OutputDevice::SetMapMode(), OutputDevice::SetOverlineColor(), OutputDevice::SetRasterOp(), OutputDevice::SetRefPoint(), and OutputDevice::SetTextLineColor().

void GDIMetaFile::AddAction ( const rtl::Reference< MetaAction > &  pAction,
size_t  nPos 
)

Definition at line 576 of file gdimtf.cxx.

References AddAction(), m_aList, and m_pPrev.

void GDIMetaFile::Adjust ( short  nLuminancePercent,
short  nContrastPercent,
short  nChannelRPercent = 0,
short  nChannelGPercent = 0,
short  nChannelBPercent = 0,
double  fGamma = 1.0,
bool  bInvert = false,
bool  msoBrightness = false 
)
void GDIMetaFile::Clear ( )
void GDIMetaFile::Clip ( const tools::Rectangle i_rClipRect)
void GDIMetaFile::Convert ( MtfConversion  eConversion)
bool GDIMetaFile::CreateThumbnail ( BitmapEx rBitmapEx,
BmpConversion  nColorConversion = BmpConversion::N24Bit,
BmpScaleFlag  nScaleFlag = BmpScaleFlag::BestQuality 
) const
void GDIMetaFile::dumpAsXml ( const char *  pFileName = nullptr) const

Dumps the meta actions as XML in metafile.xml.

Definition at line 2858 of file gdimtf.cxx.

References assert(), MetafileXmlDump::dump(), and SvStream::good().

MetaAction * GDIMetaFile::FirstAction ( )

Definition at line 192 of file gdimtf.cxx.

References m_aList, and m_nCurrentActionElement.

Referenced by Clip(), HasTransparentActions(), ImplExchangeColors(), Move(), Rotate(), Scale(), and Write().

MetaAction * GDIMetaFile::GetAction ( size_t  nAction) const
size_t GDIMetaFile::GetActionSize ( ) const
tools::Rectangle GDIMetaFile::GetBoundRect ( OutputDevice i_rReference,
tools::Rectangle pHairline = nullptr 
) const

Definition at line 1307 of file gdimtf.cxx.

References a, ARC, aStr, BMP, BMPEX, BMPEXSCALE, BMPEXSCALEPART, BMPSCALE, BMPSCALEPART, CHORD, CLIPREGION, COMMENT, ELLIPSE, EPS, MetaAction::Execute(), FLOATTRANSPARENT, VclPtr< reference_type >::get(), GetAction(), GetActionSize(), MetaBmpAction::GetBitmap(), MetaMaskAction::GetBitmap(), MetaBmpExAction::GetBitmapEx(), tools::PolyPolygon::GetBoundRect(), MetaMaskScalePartAction::GetDestPoint(), MetaMaskScalePartAction::GetDestSize(), MetaLineAction::GetEndPoint(), MetaTextAction::GetIndex(), MetaStretchTextAction::GetIndex(), MetaTextAction::GetLen(), MetaStretchTextAction::GetLen(), MetaLineAction::GetLineInfo(), MetaPointAction::GetPoint(), MetaTextAction::GetPoint(), MetaStretchTextAction::GetPoint(), MetaBmpAction::GetPoint(), MetaBmpScaleAction::GetPoint(), MetaBmpExAction::GetPoint(), MetaBmpExScaleAction::GetPoint(), MetaMaskAction::GetPoint(), MetaFloatTransparentAction::GetPoint(), MetaEPSAction::GetPoint(), MetaHatchAction::GetPolyPolygon(), MetaTransparentAction::GetPolyPolygon(), GetPrefMapMode(), MetaRectAction::GetRect(), MetaTextRectAction::GetRect(), MetaGradientAction::GetRect(), MetaBmpScaleAction::GetSize(), MetaBmpExScaleAction::GetSize(), MetaFloatTransparentAction::GetSize(), MetaEPSAction::GetSize(), BitmapEx::GetSizePixel(), Bitmap::GetSizePixel(), MetaLineAction::GetStartPoint(), MetaTextLineAction::GetStartPoint(), MetaTextAction::GetText(), MetaStretchTextAction::GetText(), MetaAction::GetType(), MetaStretchTextAction::GetWidth(), MetaTextLineAction::GetWidth(), GRADIENT, GRADIENTEX, HATCH, ImplActionBounds(), tools::Rectangle::Intersection(), ISECTRECTCLIPREGION, ISECTREGIONCLIPREGION, tools::Rectangle::Left(), LINE, OutputDevice::LogicToLogic(), MASK, MASKSCALE, MASKSCALEPART, tools::Rectangle::Move(), MOVECLIPREGION, nCount, PIE, PIXEL, Point, POINT, POLYGON, POLYLINE, POLYPOLYGON, POP, PUSH, RECT, ROUNDRECT, tools::Rectangle::SetRight(), STRETCHTEXT, TEXT, TEXTARRAY, TEXTLINE, TEXTRECT, Transparent, and WALLPAPER.

Referenced by ImpGraphic::ImplGetBitmap().

BitmapChecksum GDIMetaFile::GetChecksum ( ) const
MetaAction* GDIMetaFile::GetCurAction ( ) const
inline

Definition at line 173 of file gdimtf.hxx.

Referenced by Play().

GDIMetaFile GDIMetaFile::GetMonochromeMtf ( const Color rCol) const

Definition at line 2206 of file gdimtf.cxx.

References ImplBmpMonoFnc(), ImplColMonoFnc(), and ImplExchangeColors().

Referenced by ImpGraphic::ImplGetBitmapEx().

const MapMode& GDIMetaFile::GetPrefMapMode ( ) const
inline
const Size& GDIMetaFile::GetPrefSize ( ) const
inline
sal_uLong GDIMetaFile::GetSizeBytes ( ) const
bool GDIMetaFile::GetUseCanvas ( ) const
inline

Definition at line 201 of file gdimtf.hxx.

Referenced by Play().

bool GDIMetaFile::HasTransparentActions ( ) const
void GDIMetaFile::ImplAddGradientEx ( GDIMetaFile rMtf,
const OutputDevice rMapDev,
const tools::PolyPolygon rPolyPoly,
const Gradient rGrad 
)
staticprivate

Definition at line 800 of file gdimtf.cxx.

References AddAction(), DEFAULT, VclPtr< reference_type >::get(), GetAction(), GetActionSize(), i, Record(), and Stop().

Referenced by Rotate().

BitmapEx GDIMetaFile::ImplBmpAdjustFnc ( const BitmapEx rBmpEx,
const void pBmpParam 
)
staticprivate

Definition at line 1737 of file gdimtf.cxx.

References BitmapEx::Adjust(), and p.

Referenced by Adjust().

BitmapEx GDIMetaFile::ImplBmpConvertFnc ( const BitmapEx rBmpEx,
const void pBmpParam 
)
staticprivate

Definition at line 1759 of file gdimtf.cxx.

References BitmapEx::Convert().

Referenced by Convert().

BitmapEx GDIMetaFile::ImplBmpMonoFnc ( const BitmapEx rBmpEx,
const void pBmpParam 
)
staticprivate
BitmapEx GDIMetaFile::ImplBmpReplaceFnc ( const BitmapEx rBmpEx,
const void pBmpParam 
)
staticprivate

Definition at line 1812 of file gdimtf.cxx.

References p, and BitmapEx::Replace().

Referenced by ReplaceColors().

Color GDIMetaFile::ImplColAdjustFnc ( const Color rColor,
const void pColParam 
)
staticprivate

Definition at line 1728 of file gdimtf.cxx.

References Color::GetBlue(), Color::GetGreen(), Color::GetRed(), and Color::GetTransparency().

Referenced by Adjust().

Color GDIMetaFile::ImplColConvertFnc ( const Color rColor,
const void pColParam 
)
staticprivate

Definition at line 1749 of file gdimtf.cxx.

References Color::GetLuminance(), Color::GetTransparency(), and N1BitThreshold.

Referenced by Convert().

Color GDIMetaFile::ImplColMonoFnc ( const Color rColor,
const void pColParam 
)
staticprivate

Definition at line 1768 of file gdimtf.cxx.

Referenced by GetMonochromeMtf().

Color GDIMetaFile::ImplColReplaceFnc ( const Color rColor,
const void pColParam 
)
staticprivate

Definition at line 1792 of file gdimtf.cxx.

References Color::GetBlue(), Color::GetGreen(), Color::GetRed(), i, and nCount.

Referenced by ReplaceColors().

void GDIMetaFile::ImplExchangeColors ( ColorExchangeFnc  pFncCol,
const void pColParam,
BmpExchangeFnc  pFncBmp,
const void pBmpParam 
)
private

Definition at line 1822 of file gdimtf.cxx.

References BMP, BMPEX, BMPEXSCALE, BMPEXSCALEPART, BMPSCALE, BMPSCALEPART, EPS, FILLCOLOR, FirstAction(), FLOATTRANSPARENT, FONT, MetaBmpScaleAction::GetBitmap(), MetaMaskScaleAction::GetBitmap(), MetaMaskScalePartAction::GetBitmap(), MetaBmpExScaleAction::GetBitmapEx(), MetaMaskScaleAction::GetColor(), MetaMaskScalePartAction::GetColor(), MetaLineColorAction::GetColor(), MetaFillColorAction::GetColor(), MetaMaskScalePartAction::GetDestPoint(), MetaMaskScalePartAction::GetDestSize(), MetaFloatTransparentAction::GetGDIMetaFile(), MetaGradientAction::GetGradient(), MetaFloatTransparentAction::GetGradient(), MetaHatchAction::GetHatch(), MetaEPSAction::GetLink(), MetaBmpScaleAction::GetPoint(), MetaBmpExScaleAction::GetPoint(), MetaMaskScaleAction::GetPoint(), MetaFloatTransparentAction::GetPoint(), MetaEPSAction::GetPoint(), MetaHatchAction::GetPolyPolygon(), MetaGradientAction::GetRect(), MetaBmpScaleAction::GetSize(), MetaBmpExScaleAction::GetSize(), MetaMaskScaleAction::GetSize(), MetaFloatTransparentAction::GetSize(), MetaEPSAction::GetSize(), MetaMaskScalePartAction::GetSrcPoint(), MetaMaskScalePartAction::GetSrcSize(), MetaEPSAction::GetSubstitute(), GRADIENT, GRADIENTEX, HATCH, ImplExchangeColors(), MetaLineColorAction::IsSetting(), MetaFillColorAction::IsSetting(), LINECOLOR, m_aPrefMapMode, m_aPrefSize, m_bUseCanvas, MASK, MASKSCALE, MASKSCALEPART, NextAction(), nType, OVERLINECOLOR, PIXEL, push_back(), Hatch::SetColor(), vcl::Font::SetColor(), Gradient::SetStartColor(), TEXTCOLOR, TEXTFILLCOLOR, TEXTLINECOLOR, and WALLPAPER.

Referenced by Adjust(), Convert(), GetMonochromeMtf(), ImplExchangeColors(), and ReplaceColors().

Point GDIMetaFile::ImplGetRotatedPoint ( const Point rPt,
const Point rRotatePt,
const Size rOffset,
double  fSin,
double  fCos 
)
staticprivate

Definition at line 768 of file gdimtf.cxx.

References FRound(), Size::Height(), Point, and Size::Width().

Referenced by Rotate().

tools::Polygon GDIMetaFile::ImplGetRotatedPolygon ( const tools::Polygon rPoly,
const Point rRotatePt,
const Size rOffset,
double  fSin,
double  fCos 
)
staticprivate

Definition at line 778 of file gdimtf.cxx.

References Size::Height(), tools::Polygon::Move(), tools::Polygon::Rotate(), and Size::Width().

Referenced by Rotate().

tools::PolyPolygon GDIMetaFile::ImplGetRotatedPolyPolygon ( const tools::PolyPolygon rPoly,
const Point rRotatePt,
const Size rOffset,
double  fSin,
double  fCos 
)
staticprivate

Definition at line 789 of file gdimtf.cxx.

References Size::Height(), tools::PolyPolygon::Move(), tools::PolyPolygon::Rotate(), and Size::Width().

Referenced by Rotate().

bool GDIMetaFile::ImplPlayWithRenderer ( OutputDevice pOut,
const Point rPos,
Size  rLogicDestSize 
)
private
bool GDIMetaFile::IsPause ( ) const
inline

Definition at line 152 of file gdimtf.hxx.

bool GDIMetaFile::IsRecord ( ) const
inline

Definition at line 144 of file gdimtf.hxx.

Referenced by Play().

void GDIMetaFile::Linker ( OutputDevice pOut,
bool  bLink 
)
private

Definition at line 281 of file gdimtf.cxx.

References OutputDevice::GetConnectMetaFile(), m_pNext, m_pPrev, and OutputDevice::SetConnectMetaFile().

Referenced by Pause(), Record(), and Stop().

void GDIMetaFile::Mirror ( BmpMirrorFlags  nMirrorFlags)
void GDIMetaFile::Move ( tools::Long  nX,
tools::Long  nY 
)
void GDIMetaFile::Move ( tools::Long  nX,
tools::Long  nY,
tools::Long  nDPIX,
tools::Long  nDPIY 
)
MetaAction * GDIMetaFile::NextAction ( )

Definition at line 198 of file gdimtf.cxx.

References m_aList, and m_nCurrentActionElement.

Referenced by Clip(), HasTransparentActions(), ImplExchangeColors(), Move(), Play(), Rotate(), Scale(), and Write().

bool GDIMetaFile::operator!= ( const GDIMetaFile rMtf) const
inline

Definition at line 110 of file gdimtf.hxx.

GDIMetaFile & GDIMetaFile::operator= ( const GDIMetaFile rMtf)
bool GDIMetaFile::operator== ( const GDIMetaFile rMtf) const
void GDIMetaFile::Pause ( bool  bPause)

Definition at line 521 of file gdimtf.cxx.

References Linker(), m_bPause, m_bRecord, and m_pOutDev.

Referenced by GDIMetaFile(), and operator=().

void GDIMetaFile::Play ( GDIMetaFile rMtf)
void GDIMetaFile::Play ( OutputDevice pOutDev,
size_t  nPos = GDI_METAFILE_END 
)
void GDIMetaFile::Play ( OutputDevice pOutDev,
const Point rPos,
const Size rSize 
)
void GDIMetaFile::push_back ( const rtl::Reference< MetaAction > &  pAction)

Definition at line 593 of file gdimtf.cxx.

References m_aList.

Referenced by ImplExchangeColors().

SvStream & GDIMetaFile::Read ( SvStream rIStm)

Definition at line 2738 of file gdimtf.cxx.

References Clear(), and ReadGDIMetaFile.

void GDIMetaFile::Record ( OutputDevice pOutDev)
void GDIMetaFile::ReplaceAction ( rtl::Reference< MetaAction pAction,
size_t  nAction 
)
Parameters
pActiontakes ownership
nActionthe action to replace

Definition at line 203 of file gdimtf.cxx.

References m_aList.

Referenced by SVMConverter::ImplConvertFromSVM1().

void GDIMetaFile::ReplaceColors ( const Color pSearchColors,
const Color rReplaceColors,
sal_uLong  nColorCount 
)
void GDIMetaFile::Rotate ( Degree10  nAngle10)

Definition at line 822 of file gdimtf.cxx.

References AddAction(), ARC, BMP, BMPEX, BMPEXSCALE, BMPEXSCALEPART, BMPSCALE, BMPSCALEPART, CHORD, CLIPREGION, COL_TRANSPARENT(), COMMENT, BitmapEx::Crop(), ELLIPSE, EPS, F_PI1800, FirstAction(), FLOATTRANSPARENT, FONT, o3tl::strong_int< UNDERLYING_TYPE, PHANTOM_TYPE >::get(), VclPtr< reference_type >::get(), vcl::Region::GetAsPolyPolygon(), MetaBmpScaleAction::GetBitmap(), MetaBmpExScaleAction::GetBitmapEx(), tools::Polygon::GetBoundRect(), MetaCommentAction::GetComment(), MetaCommentAction::GetData(), MetaCommentAction::GetDataSize(), MetaLineAction::GetEndPoint(), MetaFloatTransparentAction::GetGDIMetaFile(), MetaGradientAction::GetGradient(), MetaFloatTransparentAction::GetGradient(), MetaHatchAction::GetHatch(), MetaTextAction::GetIndex(), MetaStretchTextAction::GetIndex(), MetaTextAction::GetLen(), MetaStretchTextAction::GetLen(), MetaLineAction::GetLineInfo(), MetaEPSAction::GetLink(), MetaTextLineAction::GetOverline(), SvtGraphicStroke::getPath(), SvtGraphicFill::getPath(), MetaPointAction::GetPoint(), MetaTextAction::GetPoint(), MetaStretchTextAction::GetPoint(), MetaBmpScaleAction::GetPoint(), MetaBmpExScaleAction::GetPoint(), MetaFloatTransparentAction::GetPoint(), MetaEPSAction::GetPoint(), MetaHatchAction::GetPolyPolygon(), MetaTransparentAction::GetPolyPolygon(), GetPrefMapMode(), GetPrefSize(), MetaRectAction::GetRect(), MetaGradientAction::GetRect(), MetaBmpScaleAction::GetSize(), MetaBmpExScaleAction::GetSize(), MetaFloatTransparentAction::GetSize(), MetaEPSAction::GetSize(), MetaLineAction::GetStartPoint(), MetaTextLineAction::GetStartPoint(), MetaTextLineAction::GetStrikeout(), MetaEPSAction::GetSubstitute(), MetaTextAction::GetText(), MetaStretchTextAction::GetText(), MetaTransparentAction::GetTransparence(), MetaTextLineAction::GetUnderline(), MetaStretchTextAction::GetWidth(), MetaTextLineAction::GetWidth(), GRADIENT, GRADIENTEX, vcl::Region::HasPolyPolygonOrB2DPolyPolygon(), HATCH, ImplAddGradientEx(), ImplGetRotatedPoint(), ImplGetRotatedPolygon(), ImplGetRotatedPolyPolygon(), ISECTRECTCLIPREGION, ISECTREGIONCLIPREGION, LINE, OutputDevice::LogicToLogic(), m_aPrefMapMode, m_aPrefSize, MAPMODE, MASK, MASKSCALE, MASKSCALEPART, MOVECLIPREGION, NextAction(), nType, PIE, PIXEL, Point, POINT, POLYGON, POLYLINE, POLYPOLYGON, POP, PUSH, ReadSvtGraphicFill(), ReadSvtGraphicStroke(), RECT, REFPOINT, tools::Polygon::Rotate(), BitmapEx::Rotate(), ROUNDRECT, Hatch::SetAngle(), vcl::Font::SetOrientation(), SvtGraphicStroke::setPath(), SvtGraphicFill::setPath(), STRETCHTEXT, TEXT, TEXTARRAY, TEXTLINE, TEXTRECT, Transparent, WALLPAPER, WriteSvtGraphicFill(), WriteSvtGraphicStroke(), X, and Y.

void GDIMetaFile::Scale ( double  fScaleX,
double  fScaleY 
)
void GDIMetaFile::Scale ( const Fraction rScaleX,
const Fraction rScaleY 
)

Definition at line 732 of file gdimtf.cxx.

References Scale().

void GDIMetaFile::SetPrefMapMode ( const MapMode rMapMode)
inline
void GDIMetaFile::SetPrefSize ( const Size rSize)
inline
void GDIMetaFile::Stop ( )
void GDIMetaFile::UseCanvas ( bool  _bUseCanvas)

Definition at line 2853 of file gdimtf.cxx.

References m_bUseCanvas.

Referenced by Play(), and ReadGDIMetaFile().

void GDIMetaFile::WindPrev ( )

Definition at line 559 of file gdimtf.cxx.

References m_bRecord, and m_nCurrentActionElement.

void GDIMetaFile::WindStart ( )
SvStream & GDIMetaFile::Write ( SvStream rOStm)

Friends And Related Function Documentation

VCL_DLLPUBLIC SvStream& ReadGDIMetaFile ( SvStream rIStm,
GDIMetaFile rGDIMetaFile,
ImplMetaReadData pReadData 
)
friend

Definition at line 2645 of file gdimtf.cxx.

Referenced by Read().

VCL_DLLPUBLIC SvStream& WriteGDIMetaFile ( SvStream rOStm,
const GDIMetaFile rGDIMetaFile 
)
friend

Definition at line 2729 of file gdimtf.cxx.

Member Data Documentation

::std::vector< rtl::Reference<MetaAction> > GDIMetaFile::m_aList
private
MapMode GDIMetaFile::m_aPrefMapMode
private

Definition at line 63 of file gdimtf.hxx.

Referenced by ImplExchangeColors(), operator=(), operator==(), ReadGDIMetaFile(), Rotate(), and Write().

Size GDIMetaFile::m_aPrefSize
private

Definition at line 64 of file gdimtf.hxx.

Referenced by ImplExchangeColors(), operator=(), operator==(), ReadGDIMetaFile(), Rotate(), Scale(), and Write().

bool GDIMetaFile::m_bPause
private

Definition at line 68 of file gdimtf.hxx.

Referenced by GDIMetaFile(), operator=(), Pause(), and Stop().

bool GDIMetaFile::m_bRecord
private

Definition at line 69 of file gdimtf.hxx.

Referenced by Clear(), GDIMetaFile(), operator=(), Pause(), Play(), Record(), Stop(), WindPrev(), and WindStart().

bool GDIMetaFile::m_bUseCanvas
private

Definition at line 70 of file gdimtf.hxx.

Referenced by ImplExchangeColors(), ImplPlayWithRenderer(), operator=(), Play(), and UseCanvas().

size_t GDIMetaFile::m_nCurrentActionElement
private

Definition at line 61 of file gdimtf.hxx.

Referenced by Clip(), FirstAction(), Move(), NextAction(), Play(), Record(), Scale(), WindPrev(), and WindStart().

GDIMetaFile* GDIMetaFile::m_pNext
private

Definition at line 66 of file gdimtf.hxx.

Referenced by Linker(), and operator=().

VclPtr<OutputDevice> GDIMetaFile::m_pOutDev
private

Definition at line 67 of file gdimtf.hxx.

Referenced by GDIMetaFile(), operator=(), Pause(), Record(), and Stop().

GDIMetaFile* GDIMetaFile::m_pPrev
private

Definition at line 65 of file gdimtf.hxx.

Referenced by AddAction(), Linker(), and operator=().


The documentation for this class was generated from the following files: