GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave::display_info Class Reference

#include "display.h"

Collaboration diagram for octave::display_info:

Public Member Functions

 display_info (const display_info &)=default
 
 display_info (void)
 
 ~display_info (void)=default
 
int depth (void) const
 
bool display_available (void) const
 
int height (void) const
 
void initialize (void)
 
std::string message (void) const
 
display_infooperator= (const display_info &)=default
 
int width (void) const
 
double x_dpi (void) const
 
double y_dpi (void) const
 

Private Attributes

int m_dp
 
bool m_dpy_avail
 
int m_ht
 
std::string m_msg
 
double m_rx
 
double m_ry
 
int m_wd
 

Detailed Description

Definition at line 37 of file display.h.

Constructor & Destructor Documentation

◆ display_info() [1/2]

octave::display_info::display_info ( void  )
inline

Definition at line 45 of file display.h.

◆ ~display_info()

octave::display_info::~display_info ( void  )
default

◆ display_info() [2/2]

octave::display_info::display_info ( const display_info )
default

Member Function Documentation

◆ depth()

int octave::display_info::depth ( void  ) const
inline

Definition at line 66 of file display.h.

References m_dp.

Referenced by default_screendepth().

◆ display_available()

bool octave::display_info::display_available ( void  ) const
inline

Definition at line 68 of file display.h.

References m_dpy_avail.

Referenced by F__init_fltk__(), and Fhave_window_system().

◆ height()

int octave::display_info::height ( void  ) const
inline

Definition at line 62 of file display.h.

References m_ht.

Referenced by default_screensize().

◆ initialize()

void octave::display_info::initialize ( void  )

Definition at line 42 of file display.cc.

References m_dp, m_dpy_avail, m_ht, m_msg, m_rx, m_ry, m_wd, and octave_get_display_info().

Referenced by octave::interpreter::interpreter().

◆ message()

std::string octave::display_info::message ( void  ) const
inline

Definition at line 70 of file display.h.

References m_msg.

◆ operator=()

display_info& octave::display_info::operator= ( const display_info )
default

◆ width()

int octave::display_info::width ( void  ) const
inline

Definition at line 64 of file display.h.

References m_wd.

Referenced by default_screensize().

◆ x_dpi()

double octave::display_info::x_dpi ( void  ) const
inline

Definition at line 58 of file display.h.

References m_rx.

Referenced by default_screenpixelsperinch().

◆ y_dpi()

double octave::display_info::y_dpi ( void  ) const
inline

Definition at line 60 of file display.h.

References m_ry.

Referenced by default_screenpixelsperinch().

Member Data Documentation

◆ m_dp

int octave::display_info::m_dp
private

Definition at line 81 of file display.h.

Referenced by depth(), and initialize().

◆ m_dpy_avail

bool octave::display_info::m_dpy_avail
private

Definition at line 83 of file display.h.

Referenced by display_available(), and initialize().

◆ m_ht

int octave::display_info::m_ht
private

Definition at line 79 of file display.h.

Referenced by height(), and initialize().

◆ m_msg

std::string octave::display_info::m_msg
private

Definition at line 87 of file display.h.

Referenced by initialize(), and message().

◆ m_rx

double octave::display_info::m_rx
private

Definition at line 75 of file display.h.

Referenced by initialize(), and x_dpi().

◆ m_ry

double octave::display_info::m_ry
private

Definition at line 76 of file display.h.

Referenced by initialize(), and y_dpi().

◆ m_wd

int octave::display_info::m_wd
private

Definition at line 80 of file display.h.

Referenced by initialize(), and width().


The documentation for this class was generated from the following files: