LibreOffice Module vcl (master)  1
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions
outdev.hxx File Reference
#include <tools/gen.hxx>
#include <tools/ref.hxx>
#include <tools/solar.h>
#include <tools/color.hxx>
#include <tools/poly.hxx>
#include <o3tl/typed_flags_set.hxx>
#include <vcl/bitmap.hxx>
#include <vcl/cairo.hxx>
#include <vcl/devicecoordinate.hxx>
#include <vcl/dllapi.h>
#include <vcl/font.hxx>
#include <vcl/region.hxx>
#include <vcl/mapmod.hxx>
#include <vcl/wall.hxx>
#include <vcl/metaactiontypes.hxx>
#include <vcl/salnativewidgets.hxx>
#include <vcl/outdevstate.hxx>
#include <vcl/outdevmap.hxx>
#include <vcl/vclreferencebase.hxx>
#include <basegfx/numeric/ftools.hxx>
#include <basegfx/vector/b2enums.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <unotools/fontdefs.hxx>
#include <com/sun/star/drawing/LineCap.hpp>
#include <com/sun/star/uno/Reference.h>
#include <memory>
#include <vector>
Include dependency graph for outdev.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  o3tl::typed_flags< SalLayoutFlags >
 
struct  o3tl::typed_flags< DrawTextFlags >
 
struct  o3tl::typed_flags< DrawImageFlags >
 
struct  o3tl::typed_flags< DrawGridFlags >
 
struct  o3tl::typed_flags< DrawModeFlags >
 
struct  o3tl::typed_flags< AntialiasingFlags >
 
struct  o3tl::typed_flags< AddFontSubstituteFlags >
 
struct  o3tl::typed_flags< GetDefaultFontFlags >
 
struct  o3tl::typed_flags< InvertFlags >
 
class  OutputDevice
 Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inheritance to keep the referencing counting OK. More...
 

Namespaces

 tools
 
 vcl
 
 vcl::font
 
 basegfx
 
 com
 
 com::sun
 
 com::sun::star
 
 com::sun::star::awt
 
 o3tl
 

Macros

#define GLYPH_FONT_HEIGHT   128
 

Typedefs

typedef B2IVector basegfx::B2ISize
 
typedef std::vector< tools::RectangleMetricVector
 
typedef tools::SvRef< FontCharMapFontCharMapRef
 
typedef struct _cairo_surface cairo_surface_t
 

Enumerations

enum  SalLayoutFlags {
  SalLayoutFlags::NONE = 0x0000,
  SalLayoutFlags::BiDiRtl = 0x0001,
  SalLayoutFlags::BiDiStrong = 0x0002,
  SalLayoutFlags::RightAlign = 0x0004,
  SalLayoutFlags::DisableKerning = 0x0010,
  SalLayoutFlags::KerningAsian = 0x0020,
  SalLayoutFlags::Vertical = 0x0040,
  SalLayoutFlags::KashidaJustification = 0x0800,
  SalLayoutFlags::ForFallback = 0x2000,
  SalLayoutFlags::GlyphItemsOnly = 0x4000
}
 
enum  DrawTextFlags {
  DrawTextFlags::NONE = 0x00000000,
  DrawTextFlags::Disable = 0x00000001,
  DrawTextFlags::Mnemonic = 0x00000002,
  DrawTextFlags::Mono = 0x00000004,
  DrawTextFlags::Clip = 0x00000008,
  DrawTextFlags::Left = 0x00000010,
  DrawTextFlags::Center = 0x00000020,
  DrawTextFlags::Right = 0x00000040,
  DrawTextFlags::Top = 0x00000080,
  DrawTextFlags::VCenter = 0x00000100,
  DrawTextFlags::Bottom = 0x00000200,
  DrawTextFlags::EndEllipsis = 0x00000400,
  DrawTextFlags::PathEllipsis = 0x00000800,
  DrawTextFlags::MultiLine = 0x00001000,
  DrawTextFlags::WordBreak = 0x00002000,
  DrawTextFlags::NewsEllipsis = 0x00004000,
  DrawTextFlags::WordBreakHyphenation = 0x00008000 | WordBreak,
  DrawTextFlags::CenterEllipsis = 0x00010000,
  DrawTextFlags::HideMnemonic = 0x00020000
}
 
enum  DrawImageFlags {
  DrawImageFlags::NONE = 0x0000,
  DrawImageFlags::Disable = 0x0001,
  DrawImageFlags::Highlight = 0x0002,
  DrawImageFlags::Deactive = 0x0004,
  DrawImageFlags::ColorTransform = 0x0008,
  DrawImageFlags::SemiTransparent = 0x0010
}
 
enum  DrawGridFlags {
  DrawGridFlags::NONE = 0x0000,
  DrawGridFlags::Dots = 0x0001,
  DrawGridFlags::HorzLines = 0x0002,
  DrawGridFlags::VertLines = 0x0004
}
 
enum  DrawModeFlags : sal_uInt32 {
  DrawModeFlags::Default = 0x00000000,
  DrawModeFlags::BlackLine = 0x00000001,
  DrawModeFlags::BlackFill = 0x00000002,
  DrawModeFlags::BlackText = 0x00000004,
  DrawModeFlags::BlackBitmap = 0x00000008,
  DrawModeFlags::BlackGradient = 0x00000010,
  DrawModeFlags::GrayLine = 0x00000020,
  DrawModeFlags::GrayFill = 0x00000040,
  DrawModeFlags::GrayText = 0x00000080,
  DrawModeFlags::GrayBitmap = 0x00000100,
  DrawModeFlags::GrayGradient = 0x00000200,
  DrawModeFlags::NoFill = 0x00000400,
  DrawModeFlags::WhiteLine = 0x00000800,
  DrawModeFlags::WhiteFill = 0x00001000,
  DrawModeFlags::WhiteText = 0x00002000,
  DrawModeFlags::WhiteBitmap = 0x00004000,
  DrawModeFlags::WhiteGradient = 0x00008000,
  DrawModeFlags::SettingsLine = 0x00010000,
  DrawModeFlags::SettingsFill = 0x00020000,
  DrawModeFlags::SettingsText = 0x00040000,
  DrawModeFlags::SettingsGradient = 0x00080000,
  DrawModeFlags::NoTransparency = 0x00100000
}
 
enum  AntialiasingFlags {
  AntialiasingFlags::NONE = 0x0000,
  AntialiasingFlags::DisableText = 0x0001,
  AntialiasingFlags::EnableB2dDraw = 0x0002,
  AntialiasingFlags::PixelSnapHairline = 0x0004
}
 
enum  AddFontSubstituteFlags {
  AddFontSubstituteFlags::NONE = 0x00,
  AddFontSubstituteFlags::ALWAYS = 0x01,
  AddFontSubstituteFlags::ScreenOnly = 0x02
}
 
enum  GetDefaultFontFlags {
  GetDefaultFontFlags::NONE = 0x0000,
  GetDefaultFontFlags::OnlyOne = 0x0001
}
 
enum  InvertFlags {
  InvertFlags::NONE = 0x0000,
  InvertFlags::N50 = 0x0001,
  InvertFlags::TrackFrame = 0x0002
}
 
enum  OutDevType {
  OUTDEV_WINDOW,
  OUTDEV_PRINTER,
  OUTDEV_VIRDEV,
  OUTDEV_PDF
}
 
enum  OutDevViewType {
  OutDevViewType::DontKnow,
  OutDevViewType::PrintPreview,
  OutDevViewType::SlideShow
}
 

Functions

BmpMirrorFlags AdjustTwoRect (SalTwoRect &rTwoRect, const Size &rSizePix)
 
void AdjustTwoRect (SalTwoRect &rTwoRect, const tools::Rectangle &rValidSrcRect)
 
VCL_DLLPUBLIC void DrawFocusRect (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)
 

Macro Definition Documentation

#define GLYPH_FONT_HEIGHT   128

Definition at line 115 of file outdev.hxx.

Typedef Documentation

typedef struct _cairo_surface cairo_surface_t

Definition at line 297 of file outdev.hxx.

Definition at line 284 of file outdev.hxx.

typedef std::vector< tools::Rectangle > MetricVector

Definition at line 139 of file outdev.hxx.

Enumeration Type Documentation

Enumerator
NONE 
ALWAYS 
ScreenOnly 

Definition at line 244 of file outdev.hxx.

enum AntialiasingFlags
strong
Enumerator
NONE 
DisableText 
EnableB2dDraw 
PixelSnapHairline 

Definition at line 231 of file outdev.hxx.

enum DrawGridFlags
strong
Enumerator
NONE 
Dots 
HorzLines 
VertLines 

Definition at line 187 of file outdev.hxx.

enum DrawImageFlags
strong
Enumerator
NONE 
Disable 
Highlight 
Deactive 
ColorTransform 
SemiTransparent 

Definition at line 172 of file outdev.hxx.

enum DrawModeFlags : sal_uInt32
strong
Enumerator
Default 
BlackLine 
BlackFill 
BlackText 
BlackBitmap 
BlackGradient 
GrayLine 
GrayFill 
GrayText 
GrayBitmap 
GrayGradient 
NoFill 
WhiteLine 
WhiteFill 
WhiteText 
WhiteBitmap 
WhiteGradient 
SettingsLine 
SettingsFill 
SettingsText 
SettingsGradient 
NoTransparency 

Definition at line 200 of file outdev.hxx.

enum DrawTextFlags
strong
Enumerator
NONE 
Disable 
Mnemonic 
Mono 
Clip 
Left 
Center 
Right 
Top 
VCenter 
Bottom 
EndEllipsis 
PathEllipsis 
MultiLine 
WordBreak 
NewsEllipsis 
WordBreakHyphenation 
CenterEllipsis 
HideMnemonic 

Definition at line 144 of file outdev.hxx.

enum GetDefaultFontFlags
strong
Enumerator
NONE 
OnlyOne 

Definition at line 256 of file outdev.hxx.

enum InvertFlags
strong
Enumerator
NONE 
N50 
TrackFrame 

Definition at line 267 of file outdev.hxx.

enum OutDevType
Enumerator
OUTDEV_WINDOW 
OUTDEV_PRINTER 
OUTDEV_VIRDEV 
OUTDEV_PDF 

Definition at line 278 of file outdev.hxx.

enum OutDevViewType
strong
Enumerator
DontKnow 
PrintPreview 
SlideShow 

Definition at line 280 of file outdev.hxx.

enum SalLayoutFlags
strong
Enumerator
NONE 
BiDiRtl 
BiDiStrong 
RightAlign 
DisableKerning 
KerningAsian 
Vertical 
KashidaJustification 
ForFallback 
GlyphItemsOnly 

Definition at line 121 of file outdev.hxx.

Function Documentation

BmpMirrorFlags AdjustTwoRect ( SalTwoRect rTwoRect,
const Size rSizePix 
)
void AdjustTwoRect ( SalTwoRect rTwoRect,
const tools::Rectangle rValidSrcRect 
)
VCL_DLLPUBLIC void DrawFocusRect ( vcl::RenderContext rRenderContext,
const tools::Rectangle rRect 
)