Defines | Functions

libvncserver/font.c File Reference

#include <rfb/rfb.h>
Include dependency graph for font.c:

Go to the source code of this file.

Defines

#define INT_MAX   0x7fffffff

Functions

int rfbDrawChar (rfbScreenInfoPtr rfbScreen, rfbFontDataPtr font, int x, int y, unsigned char c, rfbPixel col)
void rfbDrawString (rfbScreenInfoPtr rfbScreen, rfbFontDataPtr font, int x, int y, const char *string, rfbPixel colour)
int rfbDrawCharWithClip (rfbScreenInfoPtr rfbScreen, rfbFontDataPtr font, int x, int y, unsigned char c, int x1, int y1, int x2, int y2, rfbPixel col, rfbPixel bcol)
 if colour==backColour, background is transparent
void rfbDrawStringWithClip (rfbScreenInfoPtr rfbScreen, rfbFontDataPtr font, int x, int y, const char *string, int x1, int y1, int x2, int y2, rfbPixel colour, rfbPixel backColour)
int rfbWidthOfString (rfbFontDataPtr font, const char *string)
int rfbWidthOfChar (rfbFontDataPtr font, unsigned char c)
void rfbFontBBox (rfbFontDataPtr font, unsigned char c, int *x1, int *y1, int *x2, int *y2)
void rfbWholeFontBBox (rfbFontDataPtr font, int *x1, int *y1, int *x2, int *y2)
 this returns the smallest box enclosing any character of font.
rfbFontDataPtr rfbLoadConsoleFont (char *filename)
 dynamically load a linux console font (4096 bytes, 256 glyphs a 8x16
void rfbFreeFont (rfbFontDataPtr f)
 free a dynamically loaded font

Define Documentation

#define INT_MAX   0x7fffffff

Definition at line 140 of file font.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines