diff options
author | Jun FURUSE / 古瀬 淳 <jun.furuse@gmail.com> | 1999-02-19 17:08:27 +0000 |
---|---|---|
committer | Jun FURUSE / 古瀬 淳 <jun.furuse@gmail.com> | 1999-02-19 17:08:27 +0000 |
commit | 6feb22a648fa728af17c94c28402441cdd07583f (patch) | |
tree | 67999a933ab31f1f43a910b2474967cced99970e /otherlibs/graph/libgraph.h | |
parent | 0ecbd9a5ab67f4a81314b42a91da4ebcbc50f285 (diff) |
For true color map images, the color query is impressively optimized.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2296 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/graph/libgraph.h')
-rw-r--r-- | otherlibs/graph/libgraph.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/otherlibs/graph/libgraph.h b/otherlibs/graph/libgraph.h index 0e58bace2..ac8a50bd5 100644 --- a/otherlibs/graph/libgraph.h +++ b/otherlibs/graph/libgraph.h @@ -32,6 +32,11 @@ extern int grx, gry; /* Coordinates of the current point */ extern unsigned long grcolor; /* Current drawing color */ extern XFontStruct * grfont; /* Current font */ +extern Bool direct_rgb; +extern int byte_order; +extern int bitmap_unit; +extern int bits_per_pixel; + #define Wcvt(y) (grwindow.h - 1 - (y)) #define Bcvt(y) (grbstore.h - 1 - (y)) #define WtoB(y) ((y) + grbstore.h - grwindow.h) |