#include "X3DDefs.h"#include <X11/Xlib.h>Go to the source code of this file.
Classes | |
| struct | STACKELEMENT |
| struct | XSEGMENT |
| struct | ANGLEPOINT |
| struct | OINFO |
| struct | GINFO |
Defines | |
| #define | RClipWithRight 6 |
| #define | RClipWithLeft 5 |
| #define | PointBehind 4 |
| #define | BClipWithRight 3 |
| #define | BClipWithLeft 2 |
| #define | ClipWithRight 3 |
| #define | ClipWithLeft 2 |
| #define | ClipWithBottom 1 |
| #define | ClipWithTop 0 |
| #define | RRight (1 << RClipWithRight) |
| #define | RLeft (1 << RClipWithLeft) |
| #define | Behind (1 << PointBehind) |
| #define | BRight (1 << BClipWithRight) |
| #define | BLeft (1 << BClipWithLeft) |
| #define | Right (1 << ClipWithRight) |
| #define | Left (1 << ClipWithLeft) |
| #define | Bottom (1 << ClipWithBottom) |
| #define | Top (1 << ClipWithTop) |
| #define | Bmask (~BRight & ~BLeft) |
| #define | Rmask (~RRight & ~RLeft) |
| #define | RBmask (Rmask & Bmask) |
| #define | RLeftRight (RRight | RLeft) |
| #define | ALLmask (RRight | RLeft | Behind | BRight | BLeft | Bottom | Top ) |
| #define | NUMBOUNDS 8 |
| #define | NUMSTIPPLES 17 |
| #define | MAXVALUE 6 |
| #define | VALUESCALE 51 |
| #define | MAXCOLORDIST (443.40501) |
| #define | STIPPLESIZE 4 |
| #define | BITSPERBYTE 8 |
| #define | MAXCOLORS 256 |
| #define | MAXLINE 8192 |
| #define | MAXOPTIONLEN 256 |
| #define | TMPSTRLEN 16 |
| #define | SMALLMOVEMENT 40000 |
| #define | POINTERRATIO 0.007 |
| #define | MARGIN 30 |
| #define | TWOPI 6.2831853 |
| #define | REQUESTFACTOR 3 |
| #define | EIGHTBIT 8 |
| #define | POSTSCRIPT 1 |
| #define | HPGL 0 |
| #define | HELPLINES 40 |
| #define | MAXSTACK 100 |
| #define | STOP 10 |
| #define | EOK 0 |
| #define | ERROR -1 |
| #define | FONT "9x15" |
| #define | TITLEFONT "12x24" |
| #define | BOLDFONT "9x15bold" |
| #define | FIXED "fixed" |
| #define | LONGESTSTRING " ROTATE OBJECT ABOUT Z Horizontal " |
| #define | BW 1 |
| #define | STEREO 2 |
| #define | COLOR 3 |
| #define | WIREFRAME 1 |
| #define | HIDDENLINE 2 |
| #define | SOLID 3 |
| #define | ONE 1 |
| #define | EIGHT 8 |
| #define | MAX_COLORS 232 |
| #define | BUFFER_CMAP 11 |
| #define | BUFFER0 240 |
| #define | BUFFER1 15 |
| #define | ENDS_INTERSECT 3 |
| #define | SAME 2 |
| #define | ABOVE 1 |
| #define | INTERSECT 0 |
| #define | BELOW -1 |
| #define | clipWithBottom(x, y, dx, dy, V) { x -= ((dx * (V+y)) / dy); y = -V; } |
| #define | clipWithTop(x, y, dx, dy, V) { x += ((dx * (V-y)) / dy); y = V; } |
| #define | clipWithLeftSide(x, y, dx, dy, H) { y -= ((dy * (H+x)) / dx); x = -H; } |
| #define | clipWithRightSide(x, y, dx, dy, H) { y += ((dy * (H-x)) / dx); x = H; } |
| #define | FONTHEIGHT(font) (font->ascent + font->descent) |
| #define | HelpPrint(g, x, y, string) |
| #define | swapPtrs(ptr1, ptr2) |
| #define | median5(v1, v2, v3, v4, v5) |
Typedefs | |
| typedef STACKELEMENT | StackElement |
| typedef XSEGMENT | xsegment |
| typedef ANGLEPOINT | anglePoint |
| typedef OINFO | Oinfo |
| typedef GINFO | Ginfo |
| #define ALLmask (RRight | RLeft | Behind | BRight | BLeft | Bottom | Top ) |
Value:
if((*v1)->dist < (*v2)->dist){ \ swapPtrs(v1,v2) \ } \ if((*v3)->dist < (*v4)->dist){ \ swapPtrs(v3,v4) \ } \ if((*v1)->dist < (*v3)->dist){ \ swapPtrs(v1,v3) \ swapPtrs(v2,v4) \ } \ if((*v2)->dist < (*v5)->dist){ \ swapPtrs(v2,v5) \ } \ if((*v2)->dist < (*v3)->dist){ \ swapPtrs(v2,v3) \ swapPtrs(v4,v5) \ } \ if((*v3)->dist < (*v5)->dist){ \ swapPtrs(v3,v5) \ }
| typedef struct ANGLEPOINT anglePoint |
| typedef struct STACKELEMENT StackElement |
1.5.1