23 #if ! defined (octave_display_h)
24 #define octave_display_h 1
26 #include "octave-config.h"
39 : ht (1), wd (1), dp (0), rx (72), ry (72), dpy_avail (
false),
49 return instance_ok () ? instance->do_height () : 0;
54 return instance_ok () ? instance->do_width () : 0;
59 return instance_ok () ? instance->do_depth () : 0;
64 return instance_ok () ? instance->do_x_dpi () : 0;
69 return instance_ok () ? instance->do_y_dpi () : 0;
75 return instance_ok () ? instance->do_display_available (msg) :
false;
80 return instance_ok () ? instance->do_display_available (msg) :
false;
123 void init (
bool query =
true);
125 static bool instance_ok (
bool query =
true);
int do_height(void) const
bool do_display_available(std::string &msg) const
static double y_dpi(void)
display_info(bool query=true)
static void cleanup_instance(void)
double do_x_dpi(void) const
double do_y_dpi(void) const
static bool display_available(std::string &msg)
static void no_window_system(void)
static bool display_available(void)
static display_info * instance
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string
static double x_dpi(void)