LibreOffice Module vcl (master)  1
Functions
gdimetafiletools.cxx File Reference
#include <vcl/gdimetafiletools.hxx>
#include <vcl/metaact.hxx>
#include <vcl/canvastools.hxx>
#include <basegfx/polygon/b2dpolygonclipper.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
#include <basegfx/polygon/b2dpolypolygontools.hxx>
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <vcl/virdev.hxx>
#include <vcl/svapp.hxx>
#include <vcl/graphictools.hxx>
#include <osl/diagnose.h>
#include <tools/stream.hxx>
Include dependency graph for gdimetafiletools.cxx:

Go to the source code of this file.

Functions

void clipMetafileContentAgainstOwnRegions (GDIMetaFile &rSource)
 
bool usesClipActions (const GDIMetaFile &rSource)
 

Function Documentation

void clipMetafileContentAgainstOwnRegions ( GDIMetaFile rSource)

Definition at line 263 of file gdimetafiletools.cxx.

References GDIMetaFile::AddAction(), basegfx::B2DPolygon::append(), ARC, vcl::unotools::b2DRectangleFromRectangle(), BMP, BMPEX, BMPEXSCALE, BMPEXSCALEPART, BMPSCALE, BMPSCALEPART, CHORD, basegfx::utils::clipPolygonOnPolyPolygon(), basegfx::utils::clipPolyPolygonOnPolyPolygon(), basegfx::utils::clipPolyPolygonOnRange(), CLIPREGION, COMMENT, tools::PolyPolygon::Count(), basegfx::utils::createPolygonFromEllipse(), basegfx::utils::createPolygonFromRect(), basegfx::utils::createTranslateB2DHomMatrix(), BitmapEx::Crop(), Bitmap::Crop(), ELLIPSE, GDIMetaFile::GetAction(), GDIMetaFile::GetActionSize(), vcl::Region::GetAsB2DPolyPolygon(), tools::Polygon::getB2DPolygon(), tools::PolyPolygon::getB2DPolyPolygon(), MetaBmpAction::GetBitmap(), MetaBmpScaleAction::GetBitmap(), MetaBmpScalePartAction::GetBitmap(), MetaBmpExAction::GetBitmapEx(), MetaBmpExScaleAction::GetBitmapEx(), MetaBmpExScalePartAction::GetBitmapEx(), basegfx::B2DRange::getCenter(), MetaCommentAction::GetComment(), MetaCommentAction::GetData(), MetaCommentAction::GetDataSize(), Application::GetDefaultDevice(), MetaBmpScalePartAction::GetDestPoint(), MetaBmpExScalePartAction::GetDestPoint(), MetaBmpScalePartAction::GetDestSize(), MetaBmpExScalePartAction::GetDestSize(), MetaLineAction::GetEndPoint(), MetaArcAction::GetEndPoint(), MetaPieAction::GetEndPoint(), MetaChordAction::GetEndPoint(), MetaPushAction::GetFlags(), MetaGradientAction::GetGradient(), MetaGradientExAction::GetGradient(), basegfx::B2DRange::getHeight(), MetaMoveClipRegionAction::GetHorzMove(), MetaRoundRectAction::GetHorzRound(), MetaMapModeAction::GetMapMode(), MapMode::GetMapUnit(), SvtGraphicStroke::getPath(), SvtGraphicFill::getPath(), MetaPixelAction::GetPoint(), MetaPointAction::GetPoint(), MetaBmpAction::GetPoint(), MetaBmpScaleAction::GetPoint(), MetaBmpExAction::GetPoint(), MetaBmpExScaleAction::GetPoint(), MetaPolyLineAction::GetPolygon(), MetaPolygonAction::GetPolygon(), MetaPolyPolygonAction::GetPolyPolygon(), MetaGradientExAction::GetPolyPolygon(), BitmapEx::GetPrefMapMode(), Bitmap::GetPrefMapMode(), GDIMetaFile::GetPrefMapMode(), BitmapEx::GetPrefSize(), Bitmap::GetPrefSize(), GDIMetaFile::GetPrefSize(), MetaRectAction::GetRect(), MetaRoundRectAction::GetRect(), MetaEllipseAction::GetRect(), MetaArcAction::GetRect(), MetaPieAction::GetRect(), MetaChordAction::GetRect(), MetaGradientAction::GetRect(), MetaISectRectClipRegionAction::GetRect(), MetaClipRegionAction::GetRegion(), MetaISectRegionClipRegionAction::GetRegion(), tools::Polygon::GetSize(), MetaBmpScaleAction::GetSize(), MetaBmpExScaleAction::GetSize(), MetaBmpScalePartAction::GetSrcPoint(), MetaBmpExScalePartAction::GetSrcPoint(), MetaBmpScalePartAction::GetSrcSize(), MetaBmpExScalePartAction::GetSrcSize(), MetaLineAction::GetStartPoint(), MetaArcAction::GetStartPoint(), MetaPieAction::GetStartPoint(), MetaChordAction::GetStartPoint(), MetaMoveClipRegionAction::GetVertMove(), MetaRoundRectAction::GetVertRound(), basegfx::B2DRange::getWidth(), GRADIENT, GRADIENTEX, i, MetaClipRegionAction::IsClipping(), ISECTRECTCLIPREGION, ISECTREGIONCLIPREGION, tools::Rectangle::IsEmpty(), BitmapEx::IsEmpty(), vcl::Region::IsEmpty(), Bitmap::IsEmpty(), basegfx::utils::isInside(), LINE, OutputDevice::LogicToLogic(), MAPMODE, MOVECLIPREGION, nType, PIE, PIXEL, OutputDevice::PixelToLogic(), POINT, POLYGON, POLYLINE, POLYPOLYGON, POP, PUSH, ReadSvtGraphicFill(), ReadSvtGraphicStroke(), RECT, ROUNDRECT, SvtGraphicStroke::setPath(), SvtGraphicFill::setPath(), GDIMetaFile::SetPrefMapMode(), GDIMetaFile::SetPrefSize(), Point::X(), and Point::Y().

Referenced by ConvertGDIMetaFileToEMF(), and ConvertGDIMetaFileToWMF().

bool usesClipActions ( const GDIMetaFile rSource)