GDIMetaFile Class Reference

#include <gdimtf.hxx>

Collaboration diagram for GDIMetaFile:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 GDIMetaFile ()
 GDIMetaFile (const GDIMetaFile &rMtf)
virtual ~GDIMetaFile ()
GDIMetaFileoperator= (const GDIMetaFile &rMtf)
BOOL operator== (const GDIMetaFile &rMtf) const
BOOL operator!= (const GDIMetaFile &rMtf) const
void Clear ()
sal_Bool IsEqual (const GDIMetaFile &rMtf) const
BOOL Mirror (ULONG nMirrorFlags)
void Move (long nX, long nY)
void Scale (double fScaleX, double fScaleY)
void Scale (const Fraction &rScaleX, const Fraction &rScaleY)
void Rotate (long nAngle10)
Rectangle GetBoundRect (OutputDevice &i_rReference)
void Adjust (short nLuminancePercent=0, short nContrastPercent=0, short nChannelRPercent=0, short nChannelGPercent=0, short nChannelBPercent=0, double fGamma=1.0, BOOL bInvert=FALSE)
void Convert (MtfConversion eConversion)
void ReplaceColors (const Color &rSearchColor, const Color &rReplaceColor, ULONG nTol=0)
void ReplaceColors (const Color *pSearchColors, const Color *rReplaceColors, ULONG nColorCount, ULONG *pTols=NULL)
GDIMetaFile GetMonochromeMtf (const Color &rCol) const
void Record (OutputDevice *pOutDev)
BOOL IsRecord () const
void Play (GDIMetaFile &rMtf, ULONG nPos=GDI_METAFILE_END)
void Play (OutputDevice *pOutDev, ULONG nPos=GDI_METAFILE_END)
void Play (OutputDevice *pOutDev, const Point &rPos, const Size &rSize, ULONG nPos=GDI_METAFILE_END)
void Pause (BOOL bPause)
BOOL IsPause () const
void Stop ()
void WindStart ()
void WindEnd ()
void Wind (ULONG nAction)
void WindPrev ()
void WindNext ()
ULONG GetActionCount () const
void AddAction (MetaAction *pAction)
void AddAction (MetaAction *pAction, ULONG nPos)
void RemoveAction (ULONG nPos)
MetaActionCopyAction (ULONG nPos) const
MetaActionGetCurAction () const
MetaActionGetAction (ULONG nAction) const
MetaActionFirstAction ()
MetaActionNextAction ()
MetaActionReplaceAction (MetaAction *pAction, ULONG nAction)
ULONG GetActionPos (const String &rLabel)
BOOL InsertLabel (const String &rLabel, ULONG nActionPos)
void RemoveLabel (const String &rLabel)
void RenameLabel (const String &rLabel, const String &rNewLabel)
ULONG GetLabelCount () const
String GetLabel (ULONG nLabel)
BOOL SaveStatus ()
const Size & GetPrefSize () const
void SetPrefSize (const Size &rSize)
const MapModeGetPrefMapMode () const
void SetPrefMapMode (const MapMode &rMapMode)
void SetHookHdl (const Link &rLink)
const Link & GetHookHdl () const
ULONG GetChecksum () const
ULONG GetSizeBytes () const
SvStream & Read (SvStream &rIStm)
SvStream & Write (SvStream &rOStm)
BOOL CreateThumbnail (sal_uInt32 nMaximumExtent, BitmapEx &rBmpEx, const BitmapEx *pOverlay=NULL, const Rectangle *pOverlayRect=NULL) const
void UseCanvas (BOOL _bUseCanvas)

Protected Member Functions

virtual void Linker (OutputDevice *pOut, BOOL bLink)
virtual long Hook ()

Private Member Functions

SAL_DLLPRIVATE void ImplExchangeColors (ColorExchangeFnc pFncCol, const void *pColParam, BmpExchangeFnc pFncBmp, const void *pBmpParam)
SAL_DLLPRIVATE Point ImplGetRotatedPoint (const Point &rPt, const Point &rRotatePt, const Size &rOffset, double fSin, double fCos)
SAL_DLLPRIVATE Polygon ImplGetRotatedPolygon (const Polygon &rPoly, const Point &rRotatePt, const Size &rOffset, double fSin, double fCos)
SAL_DLLPRIVATE PolyPolygon ImplGetRotatedPolyPolygon (const PolyPolygon &rPoly, const Point &rRotatePt, const Size &rOffset, double fSin, double fCos)
SAL_DLLPRIVATE void ImplAddGradientEx (GDIMetaFile &rMtf, const OutputDevice &rMapDev, const PolyPolygon &rPolyPoly, const Gradient &rGrad)
SAL_DLLPRIVATE bool ImplPlayWithRenderer (OutputDevice *pOut, const Point &rPos, Size rDestSize)
SAL_DLLPRIVATE void ImplDelegate2PluggableRenderer (const MetaCommentAction *pAct, OutputDevice *pOut)

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)

Private Attributes

MapMode aPrefMapMode
Size aPrefSize
Link aHookHdlLink
GDIMetaFilepPrev
GDIMetaFilepNext
OutputDevicepOutDev
ImpLabelListpLabelList
BOOL bPause
BOOL bRecord
BOOL bUseCanvas

Friends

VCL_DLLPUBLIC SvStream & operator>> (SvStream &rIStm, GDIMetaFile &rGDIMetaFile)
VCL_DLLPUBLIC SvStream & operator<< (SvStream &rOStm, const GDIMetaFile &rGDIMetaFile)


Detailed Description

Definition at line 98 of file gdimtf.hxx.


Constructor & Destructor Documentation

GDIMetaFile::GDIMetaFile (  ) 

Definition at line 211 of file gdimtf.cxx.

GDIMetaFile::GDIMetaFile ( const GDIMetaFile rMtf  ) 

Definition at line 226 of file gdimtf.cxx.

References bPause, bRecord, Pause(), pLabelList, pOutDev, and Record().

GDIMetaFile::~GDIMetaFile (  )  [virtual]

Definition at line 258 of file gdimtf.cxx.

References Clear().


Member Function Documentation

Color GDIMetaFile::ImplColAdjustFnc ( const Color &  rColor,
const void *  pColParam 
) [static, private]

Definition at line 2006 of file gdimtf.cxx.

Referenced by Adjust().

BitmapEx GDIMetaFile::ImplBmpAdjustFnc ( const BitmapEx rBmpEx,
const void *  pBmpParam 
) [static, private]

Color GDIMetaFile::ImplColConvertFnc ( const Color &  rColor,
const void *  pColParam 
) [static, private]

Definition at line 2031 of file gdimtf.cxx.

References MTF_CONVERSION_1BIT_THRESHOLD.

Referenced by Convert().

BitmapEx GDIMetaFile::ImplBmpConvertFnc ( const BitmapEx rBmpEx,
const void *  pBmpParam 
) [static, private]

Definition at line 2043 of file gdimtf.cxx.

References BitmapEx::Convert().

Referenced by Convert().

Color GDIMetaFile::ImplColMonoFnc ( const Color &  rColor,
const void *  pColParam 
) [static, private]

Definition at line 2054 of file gdimtf.cxx.

Referenced by GetMonochromeMtf().

BitmapEx GDIMetaFile::ImplBmpMonoFnc ( const BitmapEx rBmpEx,
const void *  pBmpParam 
) [static, private]

Color GDIMetaFile::ImplColReplaceFnc ( const Color &  rColor,
const void *  pColParam 
) [static, private]

Definition at line 2082 of file gdimtf.cxx.

Referenced by ReplaceColors().

BitmapEx GDIMetaFile::ImplBmpReplaceFnc ( const BitmapEx rBmpEx,
const void *  pBmpParam 
) [static, private]

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

Definition at line 2116 of file gdimtf.cxx.

References aPrefMapMode, aPrefSize, MetaAction::Duplicate(), MetaMaskScalePartAction::GetBitmap(), MetaMaskScaleAction::GetBitmap(), MetaBmpScalePartAction::GetBitmap(), MetaBmpScaleAction::GetBitmap(), MetaBmpExScalePartAction::GetBitmapEx(), MetaBmpExScaleAction::GetBitmapEx(), MetaMaskScalePartAction::GetColor(), MetaMaskScaleAction::GetColor(), MetaOverlineColorAction::GetColor(), MetaTextLineColorAction::GetColor(), MetaTextFillColorAction::GetColor(), MetaTextColorAction::GetColor(), MetaFillColorAction::GetColor(), MetaLineColorAction::GetColor(), MetaPixelAction::GetColor(), MetaMaskScalePartAction::GetDestPoint(), MetaBmpExScalePartAction::GetDestPoint(), MetaBmpScalePartAction::GetDestPoint(), MetaMaskScalePartAction::GetDestSize(), MetaBmpExScalePartAction::GetDestSize(), MetaBmpScalePartAction::GetDestSize(), MetaFontAction::GetFont(), MetaFloatTransparentAction::GetGDIMetaFile(), MetaFloatTransparentAction::GetGradient(), MetaGradientExAction::GetGradient(), MetaGradientAction::GetGradient(), MetaHatchAction::GetHatch(), MetaEPSAction::GetLink(), MetaEPSAction::GetPoint(), MetaFloatTransparentAction::GetPoint(), MetaMaskScaleAction::GetPoint(), MetaBmpExScaleAction::GetPoint(), MetaBmpScaleAction::GetPoint(), MetaPixelAction::GetPoint(), MetaHatchAction::GetPolyPolygon(), MetaGradientExAction::GetPolyPolygon(), MetaGradientAction::GetRect(), MetaWallpaperAction::GetRect(), MetaEPSAction::GetSize(), MetaFloatTransparentAction::GetSize(), MetaMaskScaleAction::GetSize(), MetaBmpExScaleAction::GetSize(), MetaBmpScaleAction::GetSize(), MetaMaskScalePartAction::GetSrcPoint(), MetaBmpExScalePartAction::GetSrcPoint(), MetaBmpScalePartAction::GetSrcPoint(), MetaMaskScalePartAction::GetSrcSize(), MetaBmpExScalePartAction::GetSrcSize(), MetaBmpScalePartAction::GetSrcSize(), MetaEPSAction::GetSubstitute(), MetaWallpaperAction::GetWallpaper(), ImplExchangeColors(), MetaOverlineColorAction::IsSetting(), MetaTextLineColorAction::IsSetting(), MetaTextFillColorAction::IsSetting(), MetaFillColorAction::IsSetting(), MetaLineColorAction::IsSetting(), META_BMP_ACTION, META_BMPEX_ACTION, META_BMPEXSCALE_ACTION, META_BMPEXSCALEPART_ACTION, META_BMPSCALE_ACTION, META_BMPSCALEPART_ACTION, META_EPS_ACTION, META_FILLCOLOR_ACTION, META_FLOATTRANSPARENT_ACTION, META_FONT_ACTION, META_GRADIENT_ACTION, META_GRADIENTEX_ACTION, META_HATCH_ACTION, META_LINECOLOR_ACTION, META_MASK_ACTION, META_MASKSCALE_ACTION, META_MASKSCALEPART_ACTION, META_OVERLINECOLOR_ACTION, META_PIXEL_ACTION, META_TEXTCOLOR_ACTION, META_TEXTFILLCOLOR_ACTION, META_TEXTLINECOLOR_ACTION, and META_WALLPAPER_ACTION.

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

Point GDIMetaFile::ImplGetRotatedPoint ( const Point &  rPt,
const Point &  rRotatePt,
const Size &  rOffset,
double  fSin,
double  fCos 
) [private]

Definition at line 1049 of file gdimtf.cxx.

References FRound().

Referenced by Rotate().

Polygon GDIMetaFile::ImplGetRotatedPolygon ( const Polygon &  rPoly,
const Point &  rRotatePt,
const Size &  rOffset,
double  fSin,
double  fCos 
) [private]

Definition at line 1061 of file gdimtf.cxx.

Referenced by Rotate().

PolyPolygon GDIMetaFile::ImplGetRotatedPolyPolygon ( const PolyPolygon &  rPoly,
const Point &  rRotatePt,
const Size &  rOffset,
double  fSin,
double  fCos 
) [private]

Definition at line 1074 of file gdimtf.cxx.

Referenced by Rotate().

void GDIMetaFile::ImplAddGradientEx ( GDIMetaFile rMtf,
const OutputDevice rMapDev,
const PolyPolygon &  rPolyPoly,
const Gradient rGrad 
) [private]

bool GDIMetaFile::ImplPlayWithRenderer ( OutputDevice pOut,
const Point &  rPos,
Size  rDestSize 
) [private]

void GDIMetaFile::ImplDelegate2PluggableRenderer ( const MetaCommentAction pAct,
OutputDevice pOut 
) [private]

void GDIMetaFile::Linker ( OutputDevice pOut,
BOOL  bLink 
) [protected, virtual]

long GDIMetaFile::Hook (  )  [protected, virtual]

Definition at line 413 of file gdimtf.cxx.

References aHookHdlLink.

Referenced by Play().

GDIMetaFile & GDIMetaFile::operator= ( const GDIMetaFile rMtf  ) 

BOOL GDIMetaFile::operator== ( const GDIMetaFile rMtf  )  const

Definition at line 306 of file gdimtf.cxx.

References aPrefMapMode, aPrefSize, GetActionCount(), GetPrefMapMode(), and GetPrefSize().

BOOL GDIMetaFile::operator!= ( const GDIMetaFile rMtf  )  const [inline]

Definition at line 159 of file gdimtf.hxx.

References operator!=().

void GDIMetaFile::Clear (  ) 

sal_Bool GDIMetaFile::IsEqual ( const GDIMetaFile rMtf  )  const

Definition at line 334 of file gdimtf.cxx.

References aPrefMapMode, aPrefSize, GetActionCount(), GetPrefMapMode(), and GetPrefSize().

BOOL GDIMetaFile::Mirror ( ULONG  nMirrorFlags  ) 

Definition at line 951 of file gdimtf.cxx.

References GetPrefSize(), Move(), MTF_MIRROR_HORZ, MTF_MIRROR_VERT, Scale(), and SetPrefSize().

void GDIMetaFile::Move ( long  nX,
long  nY 
)

void GDIMetaFile::Scale ( double  fScaleX,
double  fScaleY 
)

void GDIMetaFile::Scale ( const Fraction &  rScaleX,
const Fraction &  rScaleY 
)

Definition at line 1042 of file gdimtf.cxx.

References Scale().

void GDIMetaFile::Rotate ( long  nAngle10  ) 

Definition at line 1113 of file gdimtf.cxx.

References AddAction(), aPrefMapMode, aPrefSize, OutputDevice::EnableOutput(), F_PI1800, MetaBmpScalePartAction::GetBitmap(), MetaBmpScaleAction::GetBitmap(), MetaBmpExScalePartAction::GetBitmapEx(), MetaBmpExScaleAction::GetBitmapEx(), MetaPixelAction::GetColor(), MetaCommentAction::GetComment(), MetaCommentAction::GetData(), MetaCommentAction::GetDataSize(), MetaBmpExScalePartAction::GetDestPoint(), MetaBmpScalePartAction::GetDestPoint(), MetaBmpExScalePartAction::GetDestSize(), MetaBmpScalePartAction::GetDestSize(), MetaTextArrayAction::GetDXArray(), MetaChordAction::GetEndPoint(), MetaPieAction::GetEndPoint(), MetaArcAction::GetEndPoint(), MetaLineAction::GetEndPoint(), MetaFontAction::GetFont(), MetaFloatTransparentAction::GetGDIMetaFile(), MetaFloatTransparentAction::GetGradient(), MetaGradientExAction::GetGradient(), MetaGradientAction::GetGradient(), MetaHatchAction::GetHatch(), MetaRoundRectAction::GetHorzRound(), MetaStretchTextAction::GetIndex(), MetaTextArrayAction::GetIndex(), MetaTextAction::GetIndex(), MetaStretchTextAction::GetLen(), MetaTextArrayAction::GetLen(), MetaTextAction::GetLen(), MetaPolyLineAction::GetLineInfo(), MetaLineAction::GetLineInfo(), MetaEPSAction::GetLink(), OutputDevice::GetMapMode(), MetaTextLineAction::GetOverline(), SvtGraphicFill::getPath(), SvtGraphicStroke::getPath(), MetaEPSAction::GetPoint(), MetaFloatTransparentAction::GetPoint(), MetaBmpExScaleAction::GetPoint(), MetaBmpScaleAction::GetPoint(), MetaStretchTextAction::GetPoint(), MetaTextArrayAction::GetPoint(), MetaTextAction::GetPoint(), MetaPointAction::GetPoint(), MetaPixelAction::GetPoint(), MetaPolygonAction::GetPolygon(), MetaPolyLineAction::GetPolygon(), Region::GetPolyPolygon(), MetaTransparentAction::GetPolyPolygon(), MetaHatchAction::GetPolyPolygon(), MetaGradientExAction::GetPolyPolygon(), MetaPolyPolygonAction::GetPolyPolygon(), GetPrefMapMode(), GetPrefSize(), MetaISectRectClipRegionAction::GetRect(), MetaGradientAction::GetRect(), MetaChordAction::GetRect(), MetaPieAction::GetRect(), MetaArcAction::GetRect(), MetaEllipseAction::GetRect(), MetaRoundRectAction::GetRect(), MetaRectAction::GetRect(), MetaRefPointAction::GetRefPoint(), MetaISectRegionClipRegionAction::GetRegion(), MetaClipRegionAction::GetRegion(), MetaEPSAction::GetSize(), MetaFloatTransparentAction::GetSize(), MetaBmpExScaleAction::GetSize(), MetaBmpScaleAction::GetSize(), MetaBmpExScalePartAction::GetSrcPoint(), MetaBmpScalePartAction::GetSrcPoint(), MetaBmpExScalePartAction::GetSrcSize(), MetaBmpScalePartAction::GetSrcSize(), MetaTextLineAction::GetStartPoint(), MetaChordAction::GetStartPoint(), MetaPieAction::GetStartPoint(), MetaArcAction::GetStartPoint(), MetaLineAction::GetStartPoint(), MetaTextLineAction::GetStrikeout(), MetaEPSAction::GetSubstitute(), MetaStretchTextAction::GetText(), MetaTextArrayAction::GetText(), MetaTextAction::GetText(), MetaTransparentAction::GetTransparence(), MetaTextLineAction::GetUnderline(), MetaRoundRectAction::GetVertRound(), MetaTextLineAction::GetWidth(), MetaStretchTextAction::GetWidth(), Region::HasPolyPolygon(), ImplAddGradientEx(), ImplGetRotatedPoint(), ImplGetRotatedPolygon(), ImplGetRotatedPolyPolygon(), MetaClipRegionAction::IsClipping(), MetaRefPointAction::IsSetting(), OutputDevice::LogicToLogic(), META_ARC_ACTION, META_BMP_ACTION, META_BMPEX_ACTION, META_BMPEXSCALE_ACTION, META_BMPEXSCALEPART_ACTION, META_BMPSCALE_ACTION, META_BMPSCALEPART_ACTION, META_CHORD_ACTION, META_CLIPREGION_ACTION, META_COMMENT_ACTION, META_ELLIPSE_ACTION, META_EPS_ACTION, META_FLOATTRANSPARENT_ACTION, META_FONT_ACTION, META_GRADIENT_ACTION, META_GRADIENTEX_ACTION, META_HATCH_ACTION, META_ISECTRECTCLIPREGION_ACTION, META_ISECTREGIONCLIPREGION_ACTION, META_LINE_ACTION, META_MAPMODE_ACTION, META_MASK_ACTION, META_MASKSCALE_ACTION, META_MASKSCALEPART_ACTION, META_MOVECLIPREGION_ACTION, META_PIE_ACTION, META_PIXEL_ACTION, META_POINT_ACTION, META_POLYGON_ACTION, META_POLYLINE_ACTION, META_POLYPOLYGON_ACTION, META_POP_ACTION, META_PUSH_ACTION, META_RECT_ACTION, META_REFPOINT_ACTION, META_ROUNDRECT_ACTION, META_STRETCHTEXT_ACTION, META_TEXT_ACTION, META_TEXTARRAY_ACTION, META_TEXTLINE_ACTION, META_TEXTRECT_ACTION, META_TRANSPARENT_ACTION, META_WALLPAPER_ACTION, OutputDevice::SetMapMode(), and X.

Rectangle GDIMetaFile::GetBoundRect ( OutputDevice i_rReference  ) 

Definition at line 1592 of file gdimtf.cxx.

References OutputDevice::EnableOutput(), MetaMaskAction::GetBitmap(), MetaBmpAction::GetBitmap(), MetaBmpExAction::GetBitmapEx(), Region::GetBoundRect(), MetaMaskScalePartAction::GetDestPoint(), MetaBmpExScalePartAction::GetDestPoint(), MetaBmpScalePartAction::GetDestPoint(), MetaMaskScalePartAction::GetDestSize(), MetaBmpExScalePartAction::GetDestSize(), MetaBmpScalePartAction::GetDestSize(), MetaTextArrayAction::GetDXArray(), MetaLineAction::GetEndPoint(), MetaPushAction::GetFlags(), MetaFloatTransparentAction::GetGDIMetaFile(), MetaMoveClipRegionAction::GetHorzMove(), MetaStretchTextAction::GetIndex(), MetaTextArrayAction::GetIndex(), MetaTextAction::GetIndex(), MetaStretchTextAction::GetLen(), MetaTextArrayAction::GetLen(), MetaTextAction::GetLen(), OutputDevice::GetMapMode(), MetaMaskAction::GetPoint(), MetaBmpExAction::GetPoint(), MetaBmpAction::GetPoint(), MetaEPSAction::GetPoint(), MetaBmpExScaleAction::GetPoint(), MetaBmpScaleAction::GetPoint(), MetaStretchTextAction::GetPoint(), MetaTextArrayAction::GetPoint(), MetaTextAction::GetPoint(), MetaPointAction::GetPoint(), MetaPixelAction::GetPoint(), MetaPolygonAction::GetPolygon(), MetaPolyLineAction::GetPolygon(), MetaTransparentAction::GetPolyPolygon(), MetaHatchAction::GetPolyPolygon(), MetaGradientExAction::GetPolyPolygon(), MetaPolyPolygonAction::GetPolyPolygon(), GetPrefMapMode(), MetaTextRectAction::GetRect(), MetaWallpaperAction::GetRect(), MetaISectRectClipRegionAction::GetRect(), MetaGradientAction::GetRect(), MetaChordAction::GetRect(), MetaPieAction::GetRect(), MetaArcAction::GetRect(), MetaEllipseAction::GetRect(), MetaRoundRectAction::GetRect(), MetaRectAction::GetRect(), MetaISectRegionClipRegionAction::GetRegion(), MetaClipRegionAction::GetRegion(), MetaEPSAction::GetSize(), MetaFloatTransparentAction::GetSize(), MetaBmpExScaleAction::GetSize(), MetaBmpScaleAction::GetSize(), BitmapEx::GetSizePixel(), Bitmap::GetSizePixel(), MetaTextLineAction::GetStartPoint(), MetaLineAction::GetStartPoint(), MetaStretchTextAction::GetText(), MetaTextArrayAction::GetText(), MetaTextAction::GetText(), OutputDevice::GetTextBoundRect(), MetaMoveClipRegionAction::GetVertMove(), MetaTextLineAction::GetWidth(), MetaStretchTextAction::GetWidth(), ImplActionBounds(), MetaClipRegionAction::IsClipping(), OutputDevice::LogicToLogic(), META_ARC_ACTION, META_BMP_ACTION, META_BMPEX_ACTION, META_BMPEXSCALE_ACTION, META_BMPEXSCALEPART_ACTION, META_BMPSCALE_ACTION, META_BMPSCALEPART_ACTION, META_CHORD_ACTION, META_CLIPREGION_ACTION, META_COMMENT_ACTION, META_ELLIPSE_ACTION, META_EPS_ACTION, META_FLOATTRANSPARENT_ACTION, META_GRADIENT_ACTION, META_GRADIENTEX_ACTION, META_HATCH_ACTION, META_ISECTRECTCLIPREGION_ACTION, META_ISECTREGIONCLIPREGION_ACTION, META_LINE_ACTION, META_MASK_ACTION, META_MASKSCALE_ACTION, META_MASKSCALEPART_ACTION, META_MOVECLIPREGION_ACTION, META_PIE_ACTION, META_PIXEL_ACTION, META_POINT_ACTION, META_POLYGON_ACTION, META_POLYLINE_ACTION, META_POLYPOLYGON_ACTION, META_POP_ACTION, META_PUSH_ACTION, META_RECT_ACTION, META_ROUNDRECT_ACTION, META_STRETCHTEXT_ACTION, META_TEXT_ACTION, META_TEXTARRAY_ACTION, META_TEXTLINE_ACTION, META_TEXTRECT_ACTION, META_TRANSPARENT_ACTION, META_WALLPAPER_ACTION, OutputDevice::PixelToLogic(), PUSH_CLIPREGION, and OutputDevice::SetMapMode().

void GDIMetaFile::Adjust ( short  nLuminancePercent = 0,
short  nContrastPercent = 0,
short  nChannelRPercent = 0,
short  nChannelGPercent = 0,
short  nChannelBPercent = 0,
double  fGamma = 1.0,
BOOL  bInvert = FALSE 
)

void GDIMetaFile::Convert ( MtfConversion  eConversion  ) 

void GDIMetaFile::ReplaceColors ( const Color &  rSearchColor,
const Color &  rReplaceColor,
ULONG  nTol = 0 
)

Definition at line 2475 of file gdimtf.cxx.

void GDIMetaFile::ReplaceColors ( const Color *  pSearchColors,
const Color *  rReplaceColors,
ULONG  nColorCount,
ULONG *  pTols = NULL 
)

GDIMetaFile GDIMetaFile::GetMonochromeMtf ( const Color &  rCol  )  const

void GDIMetaFile::Record ( OutputDevice pOutDev  ) 

Definition at line 420 of file gdimtf.cxx.

References bRecord, Linker(), pOutDev, and Stop().

Referenced by GDIMetaFile(), ImplAddGradientEx(), operator=(), and Printer::StartPage().

BOOL GDIMetaFile::IsRecord (  )  const [inline]

Definition at line 188 of file gdimtf.hxx.

Referenced by Play().

void GDIMetaFile::Play ( GDIMetaFile rMtf,
ULONG  nPos = GDI_METAFILE_END 
)

void GDIMetaFile::Play ( OutputDevice pOutDev,
ULONG  nPos = GDI_METAFILE_END 
)

void GDIMetaFile::Play ( OutputDevice pOutDev,
const Point &  rPos,
const Size &  rSize,
ULONG  nPos = GDI_METAFILE_END 
)

void GDIMetaFile::Pause ( BOOL  bPause  ) 

Definition at line 713 of file gdimtf.cxx.

References bPause, bRecord, Linker(), and pOutDev.

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

BOOL GDIMetaFile::IsPause (  )  const [inline]

Definition at line 196 of file gdimtf.hxx.

void GDIMetaFile::Stop (  ) 

Definition at line 734 of file gdimtf.cxx.

References bPause, bRecord, Linker(), and pOutDev.

Referenced by Clear(), Printer::EndPage(), ImplAddGradientEx(), and Record().

void GDIMetaFile::WindStart (  ) 

Definition at line 749 of file gdimtf.cxx.

References bRecord.

Referenced by CreateThumbnail(), Printer::EndPage(), and Window::ImplPaintToDevice().

void GDIMetaFile::WindEnd (  ) 

Definition at line 757 of file gdimtf.cxx.

References bRecord.

void GDIMetaFile::Wind ( ULONG  nAction  ) 

Definition at line 765 of file gdimtf.cxx.

References bRecord.

void GDIMetaFile::WindPrev (  ) 

Definition at line 773 of file gdimtf.cxx.

References bRecord.

void GDIMetaFile::WindNext (  ) 

Definition at line 781 of file gdimtf.cxx.

References bRecord.

ULONG GDIMetaFile::GetActionCount (  )  const [inline]

void GDIMetaFile::AddAction ( MetaAction pAction  ) 

Definition at line 789 of file gdimtf.cxx.

References AddAction(), MetaAction::Duplicate(), and pPrev.

Referenced by AddAction(), OutputDevice::AddGradientActions(), OutputDevice::AddHatchActions(), OutputDevice::DrawArc(), OutputDevice::DrawChord(), OutputDevice::DrawEllipse(), OutputDevice::DrawEPS(), OutputDevice::DrawGradient(), OutputDevice::DrawHatch(), OutputDevice::DrawLine(), OutputDevice::DrawOutDev(), OutputDevice::DrawPie(), OutputDevice::DrawPixel(), OutputDevice::DrawPolygon(), OutputDevice::DrawPolyLine(), OutputDevice::DrawPolyPolygon(), OutputDevice::DrawRect(), OutputDevice::DrawTextLine(), OutputDevice::DrawTransparent(), OutputDevice::DrawWallpaper(), MetaCommentAction::Execute(), OutputDevice::GetSysTextLayoutData(), ImplAddGradientEx(), GraphicConverter::ImplConvert(), SVMConverter::ImplConvertFromSVM1(), ImplConvertTransparentAction(), OutputDevice::ImplDrawBitmap(), OutputDevice::ImplDrawBitmapEx(), OutputDevice::ImplDrawComplexGradient(), OutputDevice::ImplDrawHatchLine(), OutputDevice::ImplDrawLinearGradient(), OutputDevice::ImplDrawMask(), ImplVectorizer::ImplVectorize(), OutputDevice::IntersectClipRegion(), OutputDevice::MoveClipRegion(), operator>>(), Play(), OutputDevice::Pop(), OutputDevice::Push(), OutputDevice::RemoveTransparenciesFromMetaFile(), Rotate(), SaveStatus(), OutputDevice::SetClipRegion(), OutputDevice::SetDigitLanguage(), OutputDevice::SetFillColor(), OutputDevice::SetFont(), OutputDevice::SetLayoutMode(), OutputDevice::SetLineColor(), OutputDevice::SetMapMode(), OutputDevice::SetOverlineColor(), OutputDevice::SetRasterOp(), OutputDevice::SetRefPoint(), OutputDevice::SetTextAlign(), OutputDevice::SetTextColor(), OutputDevice::SetTextFillColor(), OutputDevice::SetTextLineColor(), and OutputDevice::SetTriangleClipRegion().

void GDIMetaFile::AddAction ( MetaAction pAction,
ULONG  nPos 
)

Definition at line 802 of file gdimtf.cxx.

References AddAction(), MetaAction::Duplicate(), and pPrev.

void GDIMetaFile::RemoveAction ( ULONG  nPos  ) 

Definition at line 816 of file gdimtf.cxx.

References pPrev, and RemoveAction().

Referenced by RemoveAction().

MetaAction * GDIMetaFile::CopyAction ( ULONG  nPos  )  const

Definition at line 826 of file gdimtf.cxx.

References MetaAction::Clone().

MetaAction* GDIMetaFile::GetCurAction (  )  const [inline]

Definition at line 211 of file gdimtf.hxx.

Referenced by Play().

MetaAction* GDIMetaFile::GetAction ( ULONG  nAction  )  const [inline]

MetaAction* GDIMetaFile::FirstAction (  )  [inline]

Definition at line 213 of file gdimtf.hxx.

Referenced by ImplQPrinter::ImplPrintMtf().

MetaAction* GDIMetaFile::NextAction (  )  [inline]

Definition at line 214 of file gdimtf.hxx.

Referenced by ImplQPrinter::ImplPrintMtf().

MetaAction* GDIMetaFile::ReplaceAction ( MetaAction pAction,
ULONG  nAction 
) [inline]

Definition at line 215 of file gdimtf.hxx.

ULONG GDIMetaFile::GetActionPos ( const String &  rLabel  ) 

BOOL GDIMetaFile::InsertLabel ( const String &  rLabel,
ULONG  nActionPos 
)

void GDIMetaFile::RemoveLabel ( const String &  rLabel  ) 

void GDIMetaFile::RenameLabel ( const String &  rLabel,
const String &  rNewLabel 
)

ULONG GDIMetaFile::GetLabelCount (  )  const

Definition at line 891 of file gdimtf.cxx.

References ImpLabelList::ImplCount(), and pLabelList.

String GDIMetaFile::GetLabel ( ULONG  nLabel  ) 

Definition at line 898 of file gdimtf.cxx.

References ImpLabel::aLabelName, ImpLabelList::ImplGetLabel(), and pLabelList.

BOOL GDIMetaFile::SaveStatus (  ) 

const Size& GDIMetaFile::GetPrefSize (  )  const [inline]

void GDIMetaFile::SetPrefSize ( const Size &  rSize  )  [inline]

const MapMode& GDIMetaFile::GetPrefMapMode (  )  const [inline]

void GDIMetaFile::SetPrefMapMode ( const MapMode rMapMode  )  [inline]

void GDIMetaFile::SetHookHdl ( const Link &  rLink  )  [inline]

Definition at line 232 of file gdimtf.hxx.

const Link& GDIMetaFile::GetHookHdl (  )  const [inline]

Definition at line 233 of file gdimtf.hxx.

ULONG GDIMetaFile::GetChecksum (  )  const

Definition at line 2549 of file gdimtf.cxx.

References GetAction(), GetActionCount(), MetaMaskScalePartAction::GetBitmap(), MetaMaskScaleAction::GetBitmap(), MetaMaskAction::GetBitmap(), MetaBmpScalePartAction::GetBitmap(), MetaBmpScaleAction::GetBitmap(), MetaBmpAction::GetBitmap(), MetaBmpExScalePartAction::GetBitmapEx(), MetaBmpExScaleAction::GetBitmapEx(), MetaBmpExAction::GetBitmapEx(), BitmapEx::GetChecksum(), Bitmap::GetChecksum(), MetaMaskScalePartAction::GetColor(), MetaMaskScaleAction::GetColor(), MetaMaskAction::GetColor(), GfxLink::GetData(), GfxLink::GetDataSize(), MetaMaskScalePartAction::GetDestPoint(), MetaBmpExScalePartAction::GetDestPoint(), MetaBmpScalePartAction::GetDestPoint(), MetaMaskScalePartAction::GetDestSize(), MetaBmpExScalePartAction::GetDestSize(), MetaBmpScalePartAction::GetDestSize(), MetaEPSAction::GetLink(), MetaMaskScaleAction::GetPoint(), MetaMaskAction::GetPoint(), MetaBmpExScaleAction::GetPoint(), MetaBmpExAction::GetPoint(), MetaBmpScaleAction::GetPoint(), MetaBmpAction::GetPoint(), MetaMaskScaleAction::GetSize(), MetaBmpExScaleAction::GetSize(), MetaBmpScaleAction::GetSize(), MetaMaskScalePartAction::GetSrcPoint(), MetaBmpExScalePartAction::GetSrcPoint(), MetaBmpScalePartAction::GetSrcPoint(), MetaMaskScalePartAction::GetSrcSize(), MetaBmpExScalePartAction::GetSrcSize(), MetaBmpScalePartAction::GetSrcSize(), MetaAction::GetType(), ImplMetaWriteData::meActualCharSet, META_BMP_ACTION, META_BMPEX_ACTION, META_BMPEXSCALE_ACTION, META_BMPEXSCALEPART_ACTION, META_BMPSCALE_ACTION, META_BMPSCALEPART_ACTION, META_EPS_ACTION, META_MASK_ACTION, META_MASKSCALE_ACTION, META_MASKSCALEPART_ACTION, and MetaAction::Write().

Referenced by ImpGraphic::ImplGetChecksum().

ULONG GDIMetaFile::GetSizeBytes (  )  const

SvStream & GDIMetaFile::Read ( SvStream &  rIStm  ) 

Definition at line 2969 of file gdimtf.cxx.

References Clear().

SvStream & GDIMetaFile::Write ( SvStream &  rOStm  ) 

BOOL GDIMetaFile::CreateThumbnail ( sal_uInt32  nMaximumExtent,
BitmapEx rBmpEx,
const BitmapEx pOverlay = NULL,
const Rectangle *  pOverlayRect = NULL 
) const

void GDIMetaFile::UseCanvas ( BOOL  _bUseCanvas  ) 

Definition at line 3131 of file gdimtf.cxx.

References bUseCanvas.


Friends And Related Function Documentation

VCL_DLLPUBLIC SvStream& operator>> ( SvStream &  rIStm,
GDIMetaFile rGDIMetaFile 
) [friend]

Definition at line 2890 of file gdimtf.cxx.

VCL_DLLPUBLIC SvStream& operator<< ( SvStream &  rOStm,
const GDIMetaFile rGDIMetaFile 
) [friend]

Definition at line 2954 of file gdimtf.cxx.


Member Data Documentation

Definition at line 102 of file gdimtf.hxx.

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

Size GDIMetaFile::aPrefSize [private]

Link GDIMetaFile::aHookHdlLink [private]

Definition at line 104 of file gdimtf.hxx.

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

Definition at line 105 of file gdimtf.hxx.

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

Definition at line 106 of file gdimtf.hxx.

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

Definition at line 107 of file gdimtf.hxx.

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

BOOL GDIMetaFile::bPause [private]

Definition at line 109 of file gdimtf.hxx.

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

BOOL GDIMetaFile::bRecord [private]

BOOL GDIMetaFile::bUseCanvas [private]

Definition at line 111 of file gdimtf.hxx.

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


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

Generated on Thu Apr 29 13:59:33 2010 for ooo-build Module vcl (ooo/OOO320_m15) by  doxygen 1.5.6