From c4f926438dcb8abe805e910399940f79ff643c4b Mon Sep 17 00:00:00 2001 From: ziejd2 Date: Thu, 14 Sep 2017 15:39:41 -0500 Subject: Add files via upload --- sourcecodes/localscore/GetX11Image.h | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 sourcecodes/localscore/GetX11Image.h (limited to 'sourcecodes/localscore/GetX11Image.h') diff --git a/sourcecodes/localscore/GetX11Image.h b/sourcecodes/localscore/GetX11Image.h new file mode 100644 index 00000000..a7181fa3 --- /dev/null +++ b/sourcecodes/localscore/GetX11Image.h @@ -0,0 +1,36 @@ +/* + * R : A Computer Language for Statistical Data Analysis + * Copyright (C) 2003 R Core Team + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, a copy is available at + * http://www.r-project.org/Licenses/ + */ + +#ifndef GETX11IMAGE_H_ +#define GETX11IMAGE_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +/* used by package tkrplot */ + +Rboolean R_GetX11Image(int d, void *pximage, int *pwidth, int *pheight); +/* pximage is really (XImage **) */ + +#ifdef __cplusplus +} +#endif + +#endif -- cgit 1.4.1