LibreOffice Module vcl (master)  1
Macros | Functions
common.h File Reference
#include <iostream>
#include <premac.h>
#include <CoreGraphics/CoreGraphics.h>
#include <CoreText/CoreText.h>
#include <postmac.h>
#include <sal/types.h>
#include <vcl/salgtype.hxx>
Include dependency graph for common.h:

Go to the source code of this file.

Macros

#define SafeCFRelease(a)   do { if(a) { CFRelease(a); (a)=NULL; } } while(false)
 
#define round_to_long(a)   ((a) >= 0 ? ((long)((a) + 0.5)) : ((long)((a) - 0.5)))
 

Functions

std::ostream & operator<< (std::ostream &s, CTFontRef pFont)
 

Macro Definition Documentation

#define round_to_long (   a)    ((a) >= 0 ? ((long)((a) + 0.5)) : ((long)((a) - 0.5)))

Definition at line 43 of file common.h.

#define SafeCFRelease (   a)    do { if(a) { CFRelease(a); (a)=NULL; } } while(false)

Definition at line 41 of file common.h.

Function Documentation

std::ostream& operator<< ( std::ostream &  s,
CTFontRef  pFont 
)