39 |
#define BLACK_PIX_DEFAULT(f) RGB_TO_ULONG(0,0,0) |
#define BLACK_PIX_DEFAULT(f) RGB_TO_ULONG(0,0,0) |
40 |
#define WHITE_PIX_DEFAULT(f) RGB_TO_ULONG(255,255,255) |
#define WHITE_PIX_DEFAULT(f) RGB_TO_ULONG(255,255,255) |
41 |
|
|
|
/* A black pixel in a mask bitmap/pixmap means ``draw a source |
|
|
pixel''. A white pixel means ``retain the current pixel''. */ |
|
|
#define PIX_MASK_DRAW(f) BLACK_PIX_DEFAULT(f) |
|
|
#define PIX_MASK_RETAIN(f) WHITE_PIX_DEFAULT(f) |
|
|
|
|
42 |
#define FONT_WIDTH(f) ((f)->max_bounds.width) |
#define FONT_WIDTH(f) ((f)->max_bounds.width) |
43 |
#define FONT_HEIGHT(f) ((f)->ascent + (f)->descent) |
#define FONT_HEIGHT(f) ((f)->ascent + (f)->descent) |
44 |
#define FONT_BASE(f) ((f)->ascent) |
#define FONT_BASE(f) ((f)->ascent) |