LibreOffice Module vcl (master)  1
Classes | Macros | Functions
gdimtf.cxx File Reference
#include <cstdlib>
#include <memory>
#include <sal/log.hxx>
#include <osl/diagnose.h>
#include <tools/diagnose_ex.h>
#include <tools/helpers.hxx>
#include <tools/stream.hxx>
#include <tools/vcompat.hxx>
#include <tools/fract.hxx>
#include <vcl/BitmapPalette.hxx>
#include <vcl/metaact.hxx>
#include <vcl/outdev.hxx>
#include <vcl/window.hxx>
#include <vcl/virdev.hxx>
#include <vcl/svapp.hxx>
#include <vcl/gdimtf.hxx>
#include <vcl/graphictools.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
#include <vcl/canvastools.hxx>
#include <vcl/mtfxmldump.hxx>
#include <svmconverter.hxx>
#include <TypeSerializer.hxx>
#include <com/sun/star/beans/XFastPropertySet.hpp>
#include <com/sun/star/rendering/MtfRenderer.hpp>
#include <com/sun/star/rendering/XBitmapCanvas.hpp>
#include <com/sun/star/rendering/XCanvas.hpp>
#include <comphelper/processfactory.hxx>
Include dependency graph for gdimtf.cxx:

Go to the source code of this file.

Classes

struct  ImplColAdjustParam
 
struct  ImplBmpAdjustParam
 
struct  ImplColConvertParam
 
struct  ImplBmpConvertParam
 
struct  ImplColMonoParam
 
struct  ImplBmpMonoParam
 
struct  ImplColReplaceParam
 
struct  ImplBmpReplaceParam
 

Macros

#define GAMMA(_def_cVal, _def_InvGamma)    (static_cast<sal_uInt8>(MinMax(FRound(pow( _def_cVal/255.0,_def_InvGamma)*255.0),0,255)))
 

Functions

static void ImplActionBounds (tools::Rectangle &o_rOutBounds, const tools::Rectangle &i_rInBounds, const std::vector< tools::Rectangle > &i_rClipStack, tools::Rectangle *o_pHairline)
 
SvStreamReadGDIMetaFile (SvStream &rIStm, GDIMetaFile &rGDIMetaFile, ImplMetaReadData *pData)
 
SvStreamWriteGDIMetaFile (SvStream &rOStm, const GDIMetaFile &rGDIMetaFile)
 

Macro Definition Documentation

#define GAMMA (   _def_cVal,
  _def_InvGamma 
)    (static_cast<sal_uInt8>(MinMax(FRound(pow( _def_cVal/255.0,_def_InvGamma)*255.0),0,255)))

Definition at line 52 of file gdimtf.cxx.

Referenced by GDIMetaFile::Adjust().

Function Documentation

static void ImplActionBounds ( tools::Rectangle o_rOutBounds,
const tools::Rectangle i_rInBounds,
const std::vector< tools::Rectangle > &  i_rClipStack,
tools::Rectangle o_pHairline 
)
static
SvStream& ReadGDIMetaFile ( SvStream rIStm,
GDIMetaFile rGDIMetaFile,
ImplMetaReadData pData 
)
SvStream& WriteGDIMetaFile ( SvStream rOStm,
const GDIMetaFile rGDIMetaFile 
)

Definition at line 2705 of file gdimtf.cxx.

References SvStream::GetError(), and Write.

Referenced by WriteImpGraphic().