42 #include <R_ext/Boolean.h>
44 #include <R_ext/GraphicsEngine.h>
48 #include <Rgraphics.h>
50 typedef unsigned int rcolor;
53 #define MAX_LAYOUT_ROWS 50
54 #define MAX_LAYOUT_COLS 50
55 #define MAX_LAYOUT_CELLS 500
175 double heights[MAX_LAYOUT_ROWS];
176 double widths[MAX_LAYOUT_COLS];
177 int cmHeights[MAX_LAYOUT_ROWS];
178 int cmWidths[MAX_LAYOUT_COLS];
179 unsigned short order[MAX_LAYOUT_CELLS];
181 unsigned char respect[MAX_LAYOUT_CELLS];
202 Rboolean defaultFigure;
203 Rboolean defaultPlot;
280 #define copyGPar Rf_copyGPar
281 #define FixupCol Rf_FixupCol
282 #define FixupLty Rf_FixupLty
283 #define FixupLwd Rf_FixupLwd
284 #define FixupVFont Rf_FixupVFont
285 #define GInit Rf_GInit
286 #define labelformat Rf_labelformat
287 #define ProcessInlinePars Rf_ProcessInlinePars
288 #define recordGraphicOperation Rf_recordGraphicOperation
292 Rboolean GRecording(
SEXP, pGEDevDesc);
298 void copyGPar(GPar *, GPar *);
301 double R_Log10(
double);
304 void ProcessInlinePars(
SEXP, pGEDevDesc,
SEXP call);
307 void recordGraphicOperation(
SEXP,
SEXP, pGEDevDesc);
321 void gcontextFromGP(pGEcontext gc, pGEDevDesc dd);
324 #define gpptr Rf_gpptr
325 #define dpptr Rf_dpptr
326 GPar* Rf_gpptr(pGEDevDesc dd);
327 GPar* Rf_dpptr(pGEDevDesc dd);