aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKim F. Storm2006-04-21 14:06:55 +0000
committerKim F. Storm2006-04-21 14:06:55 +0000
commit7b48cc1354a2efff9fb528c1b3c78f47d001178e (patch)
treed8b6766f5e872d475066869d1ac9e096e6edc445 /src
parentcdd2341c84d7049cbd5f3f864766f76d2f279322 (diff)
downloademacs-7b48cc1354a2efff9fb528c1b3c78f47d001178e.tar.gz
emacs-7b48cc1354a2efff9fb528c1b3c78f47d001178e.zip
(struct image): New member `corners'.
(TOP_CORNER, LEFT_CORNER, BOT_CORNER, RIGHT_CORNER): New macros.
Diffstat (limited to 'src')
-rw-r--r--src/dispextern.h9
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
2421#define DEFAULT_IMAGE_WIDTH 30 2421#define DEFAULT_IMAGE_WIDTH 30
2422#define DEFAULT_IMAGE_HEIGHT 30 2422#define DEFAULT_IMAGE_HEIGHT 30
2423 2423
2424 /* Top/left and bottom/right corner pixel of actual image data.
2425 Used by four_corners_best to consider the real image data,
2426 rather than looking at the optional image margin. */
2427 int corners[4];
2428#define TOP_CORNER 0
2429#define LEFT_CORNER 1
2430#define BOT_CORNER 2
2431#define RIGHT_CORNER 3
2432
2424 /* Percent of image height used as ascent. A value of 2433 /* Percent of image height used as ascent. A value of
2425 CENTERED_IMAGE_ASCENT means draw the image centered on the 2434 CENTERED_IMAGE_ASCENT means draw the image centered on the
2426 line. */ 2435 line. */