LibreOffice Module vcl (master) 1
Macros | Functions
TypeSerializer.cxx File Reference
#include <vcl/TypeSerializer.hxx>
#include <tools/vcompat.hxx>
#include <tools/fract.hxx>
#include <sal/log.hxx>
#include <comphelper/fileformat.h>
#include <vcl/filter/SvmReader.hxx>
#include <vcl/filter/SvmWriter.hxx>
#include <vcl/gdimtf.hxx>
#include <vcl/dibtools.hxx>
Include dependency graph for TypeSerializer.cxx:

Go to the source code of this file.

Macros

#define NATIVE_FORMAT_50   COMPAT_FORMAT('N', 'A', 'T', '5')
 

Functions

bool TooLargeScaleForMapMode (const Fraction &rScale, int nDPI)
 
static bool UselessScaleForMapMode (const Fraction &rScale)
 

Macro Definition Documentation

◆ NATIVE_FORMAT_50

#define NATIVE_FORMAT_50   COMPAT_FORMAT('N', 'A', 'T', '5')

Definition at line 161 of file TypeSerializer.cxx.

Function Documentation

◆ TooLargeScaleForMapMode()

bool TooLargeScaleForMapMode ( const Fraction rScale,
int  nDPI 
)

Definition at line 423 of file TypeSerializer.cxx.

References Fraction::GetNumerator().

Referenced by GDIMetaFile::Play().

◆ UselessScaleForMapMode()

static bool UselessScaleForMapMode ( const Fraction rScale)
static

Definition at line 434 of file TypeSerializer.cxx.

References Fraction::IsValid().

Referenced by TypeSerializer::readMapMode().