Difference between revisions of "User:Ericb/Salgdi.hxx"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Class VCL_DLLPUBLIC SalGraphics)
(Variables)
Line 68: Line 68:
  
 
=== Variables ===
 
=== Variables ===
 +
 +
: m_nLayout
 +
:: Type : ''int''

Revision as of 09:54, 16 February 2006

This file includes all the empty boxes which define the functions used to print something on the screen (like a pixel, a line, a polygone, ...).

Includes

  • tools/string.hxx
  • sv.h
  • dllapi.h
  • salgtype.hxx
  • vos/thread.hxx
  • outdev.hxx
  • rtl/ustring.hxx
  • salnativewidgets.hxx
  • salctrlhandle.hxx
  • map

Empty classes

  • ImplDevFontList
  • SalBitpmap
  • ImplFontSelectData
  • ImplFontMetricData
  • ImpleFontData
  • ImplFontCharMap
  • SalLayout'
  • ImpleLayoutArgs'
  • Rectangle
  • OutputDevice
  • ServerFontLayout

These classes are only defined because they are used in the class contain in this file.

Empty structures

  • ImplKernPairData
  • FontSubsetInfo

Macros

  • #define SAL_SETFONT_REMOVEANDMATCHNEW ((USHORT)0x0001)
  • #define SAL_SETFONT_USEDRAWTEXT ((USHORT)0x0002)
  • #define SAL_SETFONT_USEDRAWTEXTARRAY ((USHORT)0x0004)
  • #define SAL_SETFONT_UNICODE ((USHORT)0x0008)
  • #define SAL_SETFONT_BADFONT ((USHORT)0x1000)
  • #define SAL_CPYAREA_WINDOWWINVALIDATE ((USHORT)0x0001)

Class VCL_DLLPUBLIC SalGraphics

Implementation

The class SalGraphics is an empty box (technically an abstract class with pure virtual methods) which is used to create a specific class in accordance with the OS used. salgdi.hxx is included in salgdi.h existing for every single OS and which are included itself into salgdi.cxx existing for every single OS too.

This class is the an abstract data type which can not be instantiated. It is completed for each OS in following files:

Windows
Inherited class : WinSalGraphics
/vcl/win/inc/salgdi.h
/vcl/win/source/gdi/salgdi.cxx
X11
Inherited class : X11SalGraphics
/vcl/unx/inc/salgdi.h
/vcl/unx/source/gdi/salgdi.cxx
Aqua
Inherited class : SalGraphics
/vcl/aqua/inc/salgdi.h
/vcl/aqua/source/gdi/salgdi.cxx

Variables

m_nLayout
Type : int
Personal tools