The R Project SVN R

Rev

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

Rev 87075 Rev 88293
Line 86... Line 86...
86
 *             - luminance masks
86
 *             - luminance masks
87
 *             Added capabilities
87
 *             Added capabilities
88
 * Version 16: For R 4.3.0
88
 * Version 16: For R 4.3.0
89
 *             Added more advanced typesetting
89
 *             Added more advanced typesetting
90
 *             - glyphs
90
 *             - glyphs
-
 
91
 * Version 17: For R 4.6.0
-
 
92
 *             - variable fonts
91
 */
93
 */
92
#define R_GE_definitions 13
94
#define R_GE_definitions 13
93
#define R_GE_deviceClip  14
95
#define R_GE_deviceClip  14
94
#define R_GE_group       15
96
#define R_GE_group       15
95
#define R_GE_glyphs      16
97
#define R_GE_glyphs      16
-
 
98
#define R_GE_fontVar     17
96
 
99
 
97
#define R_GE_version R_GE_glyphs
100
#define R_GE_version R_GE_fontVar
98
 
101
 
99
int R_GE_getVersion(void);
102
int R_GE_getVersion(void);
100
 
103
 
101
void R_GE_checkVersionOrDie(int version);
104
void R_GE_checkVersionOrDie(int version);
102
 
105
 
Line 660... Line 663...
660
#define R_GE_capability_masks                 8
663
#define R_GE_capability_masks                 8
661
#define R_GE_capability_compositing           9
664
#define R_GE_capability_compositing           9
662
#define R_GE_capability_transformations      10
665
#define R_GE_capability_transformations      10
663
#define R_GE_capability_paths                11 
666
#define R_GE_capability_paths                11 
664
#define R_GE_capability_glyphs               12 
667
#define R_GE_capability_glyphs               12 
-
 
668
#define R_GE_capability_variableFonts        13 
665
 
669
 
666
/* Must match order in ../library/grDevices/R/glyph.R */
670
/* Must match order in ../library/grDevices/R/glyph.R */
667
#define R_GE_text_style_normal  1
671
#define R_GE_text_style_normal  1
668
#define R_GE_text_style_italic  2
672
#define R_GE_text_style_italic  2
669
#define R_GE_text_style_oblique 3
673
#define R_GE_text_style_oblique 3
Line 684... Line 688...
684
int R_GE_glyphFontIndex(SEXP glyphFont);
688
int R_GE_glyphFontIndex(SEXP glyphFont);
685
const char* R_GE_glyphFontFamily(SEXP glyphFont);
689
const char* R_GE_glyphFontFamily(SEXP glyphFont);
686
double R_GE_glyphFontWeight(SEXP glyphFont);
690
double R_GE_glyphFontWeight(SEXP glyphFont);
687
int R_GE_glyphFontStyle(SEXP glyphFont);
691
int R_GE_glyphFontStyle(SEXP glyphFont);
688
const char* R_GE_glyphFontPSname(SEXP glyphFont);
692
const char* R_GE_glyphFontPSname(SEXP glyphFont);
-
 
693
int R_GE_glyphFontNumVar(SEXP glyphFont);
-
 
694
const char* R_GE_glyphFontVarAxis(SEXP glyphFont, int index);
-
 
695
double R_GE_glyphFontVarValue(SEXP glyphFont, int index);
-
 
696
const char* R_GE_glyphFontVarFormatted(SEXP glyphFont, int index);
689
 
697
 
690
void GEGlyph(int n, int *glyphs, double *x, double *y, 
698
void GEGlyph(int n, int *glyphs, double *x, double *y, 
691
             SEXP font, double size, 
699
             SEXP font, double size, 
692
             int colour, double rot, pGEDevDesc dd);
700
             int colour, double rot, pGEDevDesc dd);
693
    
701