aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2005-08-31 08:35:56 +0000
committerYAMAMOTO Mitsuharu2005-08-31 08:35:56 +0000
commit49c12ae6654043147a5ddf5f8e73d5fe395b1068 (patch)
tree6dea43e9705fd70b5862da0892f4385c25289b50 /src
parent886a6e31bc6c014c196b1c91df10e327f10d032e (diff)
downloademacs-49c12ae6654043147a5ddf5f8e73d5fe395b1068.tar.gz
emacs-49c12ae6654043147a5ddf5f8e73d5fe395b1068.zip
(PIX_MASK_DRAW, PIX_MASK_RETAIN): Move defines to image.c.
Diffstat (limited to 'src')
-rw-r--r--src/macterm.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/macterm.h b/src/macterm.h
index a4af9381867..b3855f142c6 100644
--- a/src/macterm.h
+++ b/src/macterm.h
@@ -39,11 +39,6 @@ Boston, MA 02110-1301, USA. */
39#define BLACK_PIX_DEFAULT(f) RGB_TO_ULONG(0,0,0) 39#define BLACK_PIX_DEFAULT(f) RGB_TO_ULONG(0,0,0)
40#define WHITE_PIX_DEFAULT(f) RGB_TO_ULONG(255,255,255) 40#define WHITE_PIX_DEFAULT(f) RGB_TO_ULONG(255,255,255)
41 41
42/* A black pixel in a mask bitmap/pixmap means ``draw a source
43 pixel''. A white pixel means ``retain the current pixel''. */
44#define PIX_MASK_DRAW(f) BLACK_PIX_DEFAULT(f)
45#define PIX_MASK_RETAIN(f) WHITE_PIX_DEFAULT(f)
46
47#define FONT_WIDTH(f) ((f)->max_bounds.width) 42#define FONT_WIDTH(f) ((f)->max_bounds.width)
48#define FONT_HEIGHT(f) ((f)->ascent + (f)->descent) 43#define FONT_HEIGHT(f) ((f)->ascent + (f)->descent)
49#define FONT_BASE(f) ((f)->ascent) 44#define FONT_BASE(f) ((f)->ascent)