The R Project SVN R

Rev

Rev 29921 | Rev 30925 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 29921 Rev 30832
Line 114... Line 114...
114
    GEcallback callback;
114
    GEcallback callback;
115
} GESystemDesc;
115
} GESystemDesc;
116
 
116
 
117
struct _GEDevDesc {
117
struct _GEDevDesc {
118
    int newDevStruct;
118
    int newDevStruct;
-
 
119
    /* 
-
 
120
     * Stuff that the devices can see (and modify).
-
 
121
     * All detailed in GraphicsDevice.h
-
 
122
     */
119
    NewDevDesc *dev;
123
    NewDevDesc *dev;
-
 
124
    /*
120
    /* Information about a device which has nothing to do with
125
     * Stuff about the device that only the graphics engine sees
-
 
126
     * (the devices don't see it).
-
 
127
     * Display list stuff should come here from NewDevDesc struct.
-
 
128
     */
-
 
129
    Rboolean dirty;  /* Has the device received any output? */
-
 
130
    /* 
121
     * R's concept of a graphics engine.
131
     * Stuff about the device that only graphics systems see.
-
 
132
     * The graphics engine has no idea what is in here.
-
 
133
     * Used by graphics systems to store system state per device.
122
     */
134
     */
123
    GESystemDesc *gesd[MAX_GRAPHICS_SYSTEMS];
135
    GESystemDesc *gesd[MAX_GRAPHICS_SYSTEMS];
124
};
136
};
125
 
137
 
126
/* 
138
/* 
Line 301... Line 313...
301
 */
313
 */
302
 
314
 
303
#define	DEG2RAD 0.01745329251994329576
315
#define	DEG2RAD 0.01745329251994329576
304
 
316
 
305
GEDevDesc* GEcurrentDevice();
317
GEDevDesc* GEcurrentDevice();
-
 
318
Rboolean GEdeviceDirty(GEDevDesc *dd);
-
 
319
void GEdirtyDevice(GEDevDesc *dd);
-
 
320
Rboolean GEcheckState(GEDevDesc *dd);
-
 
321
void GErecordGraphicOperation(SEXP op, SEXP args, GEDevDesc *dd);
306
void GEinitDisplayList(GEDevDesc *dd);
322
void GEinitDisplayList(GEDevDesc *dd);
307
void GEplayDisplayList(GEDevDesc *dd);
323
void GEplayDisplayList(GEDevDesc *dd);
308
void GEcopyDisplayList(int fromDevice);
324
void GEcopyDisplayList(int fromDevice);
309
SEXP GEcreateSnapshot(GEDevDesc *dd);
325
SEXP GEcreateSnapshot(GEDevDesc *dd);
310
void GEplaySnapshot(SEXP snapshot, GEDevDesc* dd);
326
void GEplaySnapshot(SEXP snapshot, GEDevDesc* dd);