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 164 of file TypeSerializer.cxx.

Function Documentation

◆ TooLargeScaleForMapMode()

bool TooLargeScaleForMapMode ( const Fraction rScale,
int  nDPI 
)

Definition at line 428 of file TypeSerializer.cxx.

References Fraction::GetNumerator().

Referenced by GDIMetaFile::Play(), and UselessScaleForMapMode().

◆ UselessScaleForMapMode()

static bool UselessScaleForMapMode ( const Fraction rScale)
static

Definition at line 439 of file TypeSerializer.cxx.

References Fraction::IsValid(), and TooLargeScaleForMapMode().

Referenced by TypeSerializer::readMapMode().