The R Project SVN R

Rev

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

Rev 80633 Rev 81097
Line 77... Line 77...
77
 *             - patterns
77
 *             - patterns
78
 *             - clipping paths
78
 *             - clipping paths
79
 *             - masks
79
 *             - masks
80
 *             Added deviceVersion
80
 *             Added deviceVersion
81
 * Version 14: Added deviceClip
81
 * Version 14: Added deviceClip
-
 
82
 * Version 15: For R 4.2.0
-
 
83
 *             Added more graphical definitions
-
 
84
 *             - groups
-
 
85
 *             - paths
82
 */
86
 */
83
#define R_GE_definitions 13
87
#define R_GE_definitions 13
84
#define R_GE_deviceClip  14
88
#define R_GE_deviceClip  14
-
 
89
#define R_GE_group       15
85
 
90
 
86
#define R_GE_version R_GE_deviceClip
91
#define R_GE_version R_GE_group
87
 
92
 
88
int R_GE_getVersion(void);
93
int R_GE_getVersion(void);
89
 
94
 
90
void R_GE_checkVersionOrDie(int version);
95
void R_GE_checkVersionOrDie(int version);
91
 
96
 
Line 281... Line 286...
281
     */
286
     */
282
    GESystemDesc *gesd[MAX_GRAPHICS_SYSTEMS];
287
    GESystemDesc *gesd[MAX_GRAPHICS_SYSTEMS];
283
 
288
 
284
    /* per-device setting for 'ask' (use NewFrameConfirm) */
289
    /* per-device setting for 'ask' (use NewFrameConfirm) */
285
    Rboolean ask;
290
    Rboolean ask;
-
 
291
 
-
 
292
    /* Is a device appending a path ? */
-
 
293
    Rboolean appending;
286
};
294
};
287
 
295
 
288
typedef GEDevDesc* pGEDevDesc;
296
typedef GEDevDesc* pGEDevDesc;
289
 
297
 
290
/* functions from devices.c for use by graphics devices */
298
/* functions from devices.c for use by graphics devices */
Line 575... Line 583...
575
double R_GE_tilingPatternY(SEXP pattern);
583
double R_GE_tilingPatternY(SEXP pattern);
576
double R_GE_tilingPatternWidth(SEXP pattern);
584
double R_GE_tilingPatternWidth(SEXP pattern);
577
double R_GE_tilingPatternHeight(SEXP pattern);
585
double R_GE_tilingPatternHeight(SEXP pattern);
578
int R_GE_tilingPatternExtend(SEXP pattern);
586
int R_GE_tilingPatternExtend(SEXP pattern);
579
 
587
 
-
 
588
/* Composition operators */
-
 
589
/* Must match order in ../library/grid/R/group.R */
-
 
590
/* Porter-Duff */
-
 
591
#define R_GE_compositeClear 1
-
 
592
#define R_GE_compositeSource 2
-
 
593
#define R_GE_compositeOver 3
-
 
594
#define R_GE_compositeIn 4
-
 
595
#define R_GE_compositeOut 5
-
 
596
#define R_GE_compositeAtop 6
-
 
597
#define R_GE_compositeDest 7
-
 
598
#define R_GE_compositeDestOver 8
-
 
599
#define R_GE_compositeDestIn 9
-
 
600
#define R_GE_compositeDestOut 10
-
 
601
#define R_GE_compositeDestAtop 11
-
 
602
#define R_GE_compositeXor 12
-
 
603
/* Additional Porter-Duff */
-
 
604
#define R_GE_compositeAdd 13
-
 
605
#define R_GE_compositeSaturate 14
-
 
606
/* PDF Blend Modes */
-
 
607
#define R_GE_compositeMultiply 15
-
 
608
#define R_GE_compositeScreen 16
-
 
609
#define R_GE_compositeOverlay 17
-
 
610
#define R_GE_compositeDarken 18
-
 
611
#define R_GE_compositeLighten 19
-
 
612
#define R_GE_compositeColorDodge 20
-
 
613
#define R_GE_compositeColorBurn 21
-
 
614
#define R_GE_compositeHardLight 22
-
 
615
#define R_GE_compositeSoftLight 23
-
 
616
#define R_GE_compositeDifference 24
-
 
617
#define R_GE_compositeExclusion 25
-
 
618
 
-
 
619
/* Path rules */
-
 
620
/* Must match order in ../library/grid/R/path.R */
-
 
621
#define R_GE_nonZeroWindingRule 1
-
 
622
#define R_GE_evenOddRule        2
-
 
623
 
-
 
624
int R_GE_clipPathFillRule(SEXP path);
-
 
625
 
-
 
626
void GEStroke(SEXP path, const pGEcontext gc, pGEDevDesc dd);
-
 
627
void GEFill(SEXP path, int rule, const pGEcontext gc, pGEDevDesc dd);
-
 
628
void GEFillStroke(SEXP path, int rule, const pGEcontext gc, pGEDevDesc dd);
-
 
629
 
580
#ifdef __cplusplus
630
#ifdef __cplusplus
581
}
631
}
582
#endif
632
#endif
583
 
633
 
584
#endif /* R_GRAPHICSENGINE_ */
634
#endif /* R_GRAPHICSENGINE_ */