ARB
Public Member Functions | Public Attributes | List of all members
AW_font_limits Struct Reference

#include <aw_font_limits.hxx>

Collaboration diagram for AW_font_limits:
Collaboration graph
[legend]

Public Member Functions

void reset ()
 
bool was_notified () const
 
void notify (short ascent_, short descent_, short width_)
 
short get_height () const
 
bool is_monospaced () const
 
 AW_font_limits ()
 
 AW_font_limits (const AW_font_limits &lim1, const AW_font_limits &lim2)
 

Public Attributes

short ascent
 
short descent
 
short width
 
short min_width
 

Detailed Description

Definition at line 18 of file aw_font_limits.hxx.

Constructor & Destructor Documentation

AW_font_limits::AW_font_limits ( )
inline

Definition at line 39 of file aw_font_limits.hxx.

Referenced by reset().

AW_font_limits::AW_font_limits ( const AW_font_limits lim1,
const AW_font_limits lim2 
)
inline

Definition at line 45 of file aw_font_limits.hxx.

References aw_assert, and was_notified().

Member Function Documentation

void AW_font_limits::reset ( )
inline

Definition at line 24 of file aw_font_limits.hxx.

References AW_font_limits().

Referenced by AW_GC::set_font().

bool AW_font_limits::was_notified ( ) const
inline

Definition at line 26 of file aw_font_limits.hxx.

Referenced by AW_font_limits(), and is_monospaced().

void AW_font_limits::notify ( short  ascent_,
short  descent_,
short  width_ 
)
inline

Definition at line 28 of file aw_font_limits.hxx.

References max, and min.

Referenced by AW_GC::set_char_size().

short AW_font_limits::get_height ( ) const
inline
bool AW_font_limits::is_monospaced ( ) const
inline

Definition at line 37 of file aw_font_limits.hxx.

References aw_assert, min_width, and was_notified().

Referenced by AW_GC::get_string_size(), and AW_device::text_overlay().

Member Data Documentation

short AW_font_limits::ascent
short AW_font_limits::descent
short AW_font_limits::width
short AW_font_limits::min_width

Definition at line 22 of file aw_font_limits.hxx.

Referenced by AW_GC::get_font_limits(), and is_monospaced().


The documentation for this struct was generated from the following file: