diff options
author | Kim F. Storm <storm@cua.dk> | 2006-04-21 14:06:55 +0000 |
---|---|---|
committer | Kim F. Storm <storm@cua.dk> | 2006-04-21 14:06:55 +0000 |
commit | b7aba189a3600629c862865f9be38549fe7417e3 (patch) | |
tree | c37eacb751eb4f02385ad16e0bc0b62034df0af6 | |
parent | 0fb688d44fb0f782ef057a147761410dc9ade3ac (diff) | |
download | emacs-b7aba189a3600629c862865f9be38549fe7417e3.tar.gz |
(struct image): New member `corners'.
(TOP_CORNER, LEFT_CORNER, BOT_CORNER, RIGHT_CORNER): New macros.
-rw-r--r-- | src/dispextern.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/dispextern.h b/src/dispextern.h index 333ce8f36e0..43655ab9a19 100644 --- a/src/dispextern.h +++ b/src/dispextern.h @@ -2421,6 +2421,15 @@ struct image #define DEFAULT_IMAGE_WIDTH 30 #define DEFAULT_IMAGE_HEIGHT 30 + /* Top/left and bottom/right corner pixel of actual image data. + Used by four_corners_best to consider the real image data, + rather than looking at the optional image margin. */ + int corners[4]; +#define TOP_CORNER 0 +#define LEFT_CORNER 1 +#define BOT_CORNER 2 +#define RIGHT_CORNER 3 + /* Percent of image height used as ascent. A value of CENTERED_IMAGE_ASCENT means draw the image centered on the line. */ |