fltk 1.3.0rc3
About: FLTK (Fast Light Tool Kit) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X. Release candidate.
  SfR Fresh Dox: fltk-1.3.0rc3-source.tar.gz ("inofficial" and yet experimental doxygen-generated source code documentation)  

fl_font_win32.cxx File Reference

#include <FL/Fl_Printer.H>
Include dependency graph for fl_font_win32.cxx:

Go to the source code of this file.

Defines

#define EXTENTS_UPDATE(x, y, w, h)   if (Fl_Surface_Device::surface()->class_name() == Fl_Printer::class_id) { on_printer_extents_update(x,y,w,h); }

Typedefs

typedef DWORD(WINAPI * fl_GetGlyphIndices_func )(HDC, LPCWSTR, int, LPWORD, DWORD)

Functions

void fl_font (Fl_Font fnum, Fl_Fontsize size, int angle)
int fl_height ()
int fl_descent ()
double fl_width (const char *c, int n)
double fl_width (unsigned int c)
void fl_text_extents (const char *c, int n, int &dx, int &dy, int &w, int &h)

Variables

Fl_Font_Descriptorfl_fontsize
Fl_Fontdescfl_fonts = built_in_table
Fl_Font fl_font_ = 0
 current font index
Fl_Fontsize fl_size_ = 0
 current font size

Define Documentation

#define EXTENTS_UPDATE (   x,
  y,
  w,
  h 
)    if (Fl_Surface_Device::surface()->class_name() == Fl_Printer::class_id) { on_printer_extents_update(x,y,w,h); }

Definition at line 252 of file fl_font_win32.cxx.

Referenced by fl_text_extents().


Typedef Documentation

typedef DWORD(WINAPI* fl_GetGlyphIndices_func)(HDC, LPCWSTR, int, LPWORD, DWORD)

Definition at line 223 of file fl_font_win32.cxx.


Function Documentation

void fl_font ( Fl_Font  fnum,
Fl_Fontsize  size,
int  angle 
)

Definition at line 139 of file fl_font_win32.cxx.

References fl_angle_, and size.


Variable Documentation

Fl_Fontdesc* fl_fonts = built_in_table

Definition at line 118 of file fl_font_win32.cxx.

Definition at line 75 of file fl_font_win32.cxx.