Skip to content

Commit e38fb5d

Browse files
author
luke
committed
Move some non-API declarations out of R_ext/GraphicsEngine.h.
git-svn-id: https://svn.r-project.org/R/trunk@89084 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent c9c07d1 commit e38fb5d

File tree

2 files changed

+13
-14
lines changed

2 files changed

+13
-14
lines changed

src/include/R_ext/GraphicsEngine.h

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -531,19 +531,6 @@ SEXP GEcontourLines(double *x, int nx, double *y, int ny,
531531
* (End from plot3d.c)
532532
*/
533533

534-
/*
535-
* From vfonts.c
536-
*/
537-
double R_GE_VStrWidth(const char *s, cetype_t enc, const pGEcontext gc, pGEDevDesc dd);
538-
539-
double R_GE_VStrHeight(const char *s, cetype_t enc, const pGEcontext gc, pGEDevDesc dd);
540-
void R_GE_VText(double x, double y, const char * const s, cetype_t enc,
541-
double x_justify, double y_justify, double rotation,
542-
const pGEcontext gc, pGEDevDesc dd);
543-
/*
544-
* (End from vfonts.c)
545-
*/
546-
547534
/* Also in Graphics.h */
548535
#define DEG2RAD 0.01745329251994329576
549536

@@ -559,7 +546,6 @@ void GEcopyDisplayList(int fromDevice);
559546
SEXP GEcreateSnapshot(pGEDevDesc dd);
560547
void GEplaySnapshot(SEXP snapshot, pGEDevDesc dd);
561548
void GEonExit(void);
562-
void GEnullDevice(void);
563549

564550

565551
/* From ../../main/plot.c, used by ../../library/grid/src/grid.c : */

src/main/engine.c

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,19 @@
3131

3232
# include <rlocale.h>
3333

34+
/*
35+
* Formerly R_ext/GraphicsEngine.h
36+
*/
37+
double R_GE_VStrWidth(const char *s, cetype_t enc, const pGEcontext gc, pGEDevDesc dd);
38+
39+
double R_GE_VStrHeight(const char *s, cetype_t enc, const pGEcontext gc, pGEDevDesc dd);
40+
void R_GE_VText(double x, double y, const char * const s, cetype_t enc,
41+
double x_justify, double y_justify, double rotation,
42+
const pGEcontext gc, pGEDevDesc dd);
43+
/*
44+
* (End from R_ext/GraphicsEngine.h)
45+
*/
46+
3447
int R_GE_getVersion(void)
3548
{
3649
return R_GE_version;

0 commit comments

Comments
 (0)