1 /* 2 * R : A Computer Language for Statistical Data Analysis 3 * Copyright (C) 2003-2016 R Core Team 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, a copy is available at 17 * https://www.R-project.org/Licenses/ 18 */ 19 20 /* Unix-only header */ 21 22 #ifndef GETX11IMAGE_H_ 23 #define GETX11IMAGE_H_ 24 25 #ifdef __cplusplus 26 extern "C" { 27 #endif 28 29 /* used by package tkrplot */ 30 31 Rboolean R_GetX11Image(int d, void *pximage, int *pwidth, int *pheight); 32 /* pximage is really (XImage **) */ 33 34 #ifdef __cplusplus 35 } 36 #endif 37 38 #endif 39