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_xft.cxx File Reference

#include <X11/Xft/Xft.h>
#include <math.h>
Include dependency graph for fl_font_xft.cxx:

Go to the source code of this file.

Defines

#define current_font   (fl_fontsize->font)

Functions

void fl_font (Fl_Font fnum, Fl_Fontsize size, int angle)
int fl_height ()
int fl_descent ()
double fl_width (const char *str, int n)
double fl_width (uchar c)
double fl_width (FcChar32 *str, 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)
XFontStruct * fl_xxfont ()
void fl_destroy_xft_draw (Window id)

Variables

Fl_Fontdescfl_fonts = built_in_table
Fl_Font fl_font_ = 0
 current font index
Fl_Fontsize fl_size_ = 0
 current font size
int fl_angle_ = 0
Fl_XFont_On_Demand fl_xfont
void * fl_xftfont = 0
const char * fl_encoding_ = "iso10646-1"
Fl_Font_Descriptorfl_fontsize = 0

Define Documentation

#define current_font   (fl_fontsize->font)

Definition at line 111 of file fl_font_xft.cxx.

Referenced by fl_descent(), fl_height(), fl_text_extents(), fl_width(), and fl_xxfont().


Function Documentation

void fl_destroy_xft_draw ( Window  id)

Definition at line 580 of file fl_font_xft.cxx.

References fl_message_window.

Referenced by Fl_Window::hide().

void fl_font ( Fl_Font  fnum,
Fl_Fontsize  size,
int  angle 
)
double fl_width ( uchar  c)

Definition at line 412 of file fl_font_xft.cxx.

References fl_width().

double fl_width ( FcChar32 *  str,
int  n 
)

Definition at line 416 of file fl_font_xft.cxx.

References current_font, fl_display, and i.

XFontStruct* fl_xxfont ( )

Definition at line 531 of file fl_font_xft.cxx.

References current_font, fl_display, fl_font_, and fl_size_.


Variable Documentation

int fl_angle_ = 0

Definition at line 115 of file fl_font_xft.cxx.

Referenced by fl_font().

const char* fl_encoding_ = "iso10646-1"

Definition at line 119 of file fl_font_xft.cxx.

Definition at line 120 of file fl_font_xft.cxx.

Definition at line 116 of file fl_font_xft.cxx.

void* fl_xftfont = 0

Definition at line 117 of file fl_font_xft.cxx.

Referenced by fl_font().