ARB
Public Member Functions | List of all members
AW_stylable Class Reference

#include <aw_device.hxx>

Inheritance diagram for AW_stylable:
Inheritance graph
[legend]
Collaboration diagram for AW_stylable:
Collaboration graph
[legend]

Public Member Functions

 AW_stylable (AW_common *common_)
 
virtual ~AW_stylable ()
 
AW_commonget_common () const
 
void new_gc (int gc)
 
void set_grey_level (int gc, AW_grey_level grey_level)
 
AW_grey_level get_grey_level (int gc)
 
void set_font (int gc, AW_font fontnr, int size, int *found_size)
 
void set_line_attributes (int gc, short width, AW_linestyle style)
 
void set_function (int gc, AW_function function)
 
void establish_default (int gc)
 
void set_foreground_color (int gc, AW_color_idx color)
 
int get_string_size (int gc, long textlen) const
 
int get_string_size (int gc, const SizedCstr &cstr) const
 
const AW_font_limitsget_font_limits (int gc, char c) const
 
int get_available_fontsizes (int gc, AW_font font_nr, int *available_sizes)
 
void reset_style ()
 

Detailed Description

Definition at line 290 of file aw_device.hxx.

Constructor & Destructor Documentation

AW_stylable::AW_stylable ( AW_common common_)
inline

Definition at line 293 of file aw_device.hxx.

virtual AW_stylable::~AW_stylable ( )
inlinevirtual

Definition at line 294 of file aw_device.hxx.

Member Function Documentation

AW_common* AW_stylable::get_common ( ) const
inline
void AW_stylable::new_gc ( int  gc)

Definition at line 449 of file AW_device.cxx.

References get_common(), and AW_common::new_gc().

Referenced by AW_xfig::create_gcs().

void AW_stylable::set_grey_level ( int  gc,
AW_grey_level  grey_level 
)
AW_grey_level AW_stylable::get_grey_level ( int  gc)

Definition at line 454 of file AW_device.cxx.

References get_common(), AW_GC_config::get_grey_level(), and AW_common::map_gc().

void AW_stylable::set_font ( int  gc,
AW_font  fontnr,
int  size,
int found_size 
)
void AW_stylable::set_line_attributes ( int  gc,
short  width,
AW_linestyle  style 
)
void AW_stylable::set_function ( int  gc,
AW_function  function 
)

Definition at line 468 of file AW_device.cxx.

References get_common(), AW_common::map_mod_gc(), and AW_GC::set_function().

Referenced by AW_xfig::create_gcs().

void AW_stylable::establish_default ( int  gc)

Definition at line 474 of file AW_device.cxx.

References AW_GC::establish_default(), get_common(), and AW_common::map_mod_gc().

void AW_stylable::set_foreground_color ( int  gc,
AW_color_idx  color 
)
int AW_stylable::get_string_size ( int  gc,
long  textlen 
) const
int AW_stylable::get_string_size ( int  gc,
const SizedCstr cstr 
) const

Definition at line 446 of file AW_device.cxx.

References get_common(), AW_GC::get_string_size(), and AW_common::map_gc().

const AW_font_limits & AW_stylable::get_font_limits ( int  gc,
char  c 
) const
int AW_stylable::get_available_fontsizes ( int  gc,
AW_font  font_nr,
int available_sizes 
)
void AW_stylable::reset_style ( )

Definition at line 477 of file AW_device.cxx.

References get_common(), and AW_common::reset_style().

Referenced by AWT_graphic_tree::show().


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