9#if !defined(OWL_PREVIEW_H)
13#if defined(BI_HAS_PRAGMA_ONCE)
52 void SetPageNumber(
int newNum);
53 int GetPageNumber()
const;
57 void Paint(
TDC&,
bool,
TRect&)
override;
97 HDC GetAttributeHDC()
const;
134 void SelectStockObject(
int index);
136 int GetDeviceCaps(
int index)
const;
140 virtual void SyncFont();
141 virtual void ReScale();
142 virtual void ReOrg();
151 int SetMapMode(
int mode);
172 TFont* CurrentPreviewFont;
#define PRECONDITION(condition)
Class wrapper for management of color values.
TDC is the root class for GDI DC wrappers.
HANDLE Handle
< make this function available to derivatives
TFont derived from TGdiObject provides constructors for creating font objects from explicit informati...
TPoint is a support class, derived from tagPOINT.
TPreviewDCBase is the base class encapsulating a 'dual' device context - i.e.
TPrintDC & PrnDC
DC of 'real' device (aka TargetDevice) whose output we're previewing.
TPreviewPage encapsulates a window which displays print-preview data.
int GetPageNumber() const
Retrieves the index of the page currently being previewed (painted) on the preview page window.
A DC class that provides access to a printer.
Derived from TPrintDC, TPrintPreviewDC maps printer device coordinates to logical screen coordinates.
bool SDPtoLP(TPoint *points, int count=1) const
Converts each of the count points in the points array from screen device points to logical points of ...
bool LPtoSDP(TPoint *points, int count=1) const
Converts each of the count points in the points array from logical points of the printer DC to screen...
TPrintout represents the physical printed document that is to sent to a printer to be printed.
TRect is a mathematical class derived from tagRect.
The tagSIZE struct is defined as.
TWindow, derived from TEventHandler and TStreamableBase, provides window-specific behavior and encaps...
Definition of GDI DC encapsulation classes: TDC, TWindowDC, TScreenDC, TDesktopDC,...
#define DECLARE_RESPONSE_TABLE(cls)
Object Windows Library (OWLNext Core)
bool SetViewportExt(HDC hdc, int w, int h)
bool SetWindowExt(HDC hdc, int w, int h)
bool SetViewportOrg(HDC hdc, int x, int y)
Base window class TWindow definition, including HWND encapsulation.