45 #include <visp/vpConfig.h>
46 #include <visp/vpDisplay.h>
52 #include <X11/Xutil.h>
59 #include <visp/vpImage.h>
60 #include <visp/vpRect.h>
165 unsigned long *x_color;
166 unsigned int screen_depth ;
167 unsigned short colortable[256];
171 bool ximage_data_init;
175 vpDisplayX(
int winx,
int winy,
const char *title=NULL) ;
177 const char *title=NULL) ;
179 const char *title=NULL) ;
185 int winx=-1,
int winy=-1,
186 const char *title=NULL) ;
188 int winx=-1,
int winy=-1,
189 const char *title=NULL) ;
191 void init(
unsigned int width,
unsigned int height,
192 int winx=-1,
int winy=-1 ,
193 const char *title=NULL) ;
195 unsigned int getScreenDepth();
196 void getScreenSize(
unsigned int &width,
unsigned int &height);
201 void setFont(
const char *font );
212 unsigned int w=4,
unsigned int h=2,
213 unsigned int thickness=1) ;
221 unsigned int thickness=1);
223 const vpColor &color,
unsigned int thickness=1) ;
226 const vpColor &color,
unsigned int thickness=1) ;
237 const vpColor &color,
unsigned int thickness=1) ;
241 unsigned int width,
unsigned int height,
242 const vpColor &color,
bool fill =
false,
243 unsigned int thickness=1) ;
246 const vpColor &color,
bool fill =
false,
247 unsigned int thickness=1) ;
249 const vpColor &color,
bool fill =
false,
250 unsigned int thickness=1) ;
259 bool blocking=
true) ;