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

#include <aw_device.hxx>

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

Public Member Functions

 AW_simple_device (AW_common *common_)
 
- Public Member Functions inherited from AW_device
 AW_device (class AW_common *common_)
 
virtual ~AW_device ()
 
const AW_click_cdget_click_cd () const
 
AW_bitset get_filter () const
 
void reset ()
 
const AW_screen_areaget_area_size () const
 
AW::Rectangle get_rtransformed_cliprect () const
 
void set_filter (AW_bitset filteri)
 
void push_clip_scale ()
 
void pop_clip_scale ()
 
virtual AW_DEVICE_TYPE type ()=0
 
bool ready_to_draw (int gc)
 
bool line (int gc, const AW::LineVector &Line, AW_bitset filteri=AW_ALL_DEVICES_SCALED)
 
bool line (int gc, const AW::Position &pos1, const AW::Position &pos2, AW_bitset filteri=AW_ALL_DEVICES_SCALED)
 
bool line (int gc, AW_pos x0, AW_pos y0, AW_pos x1, AW_pos y1, AW_bitset filteri=AW_ALL_DEVICES_SCALED)
 
bool text (int gc, const SizedCstr &cstr, const AW::Position &pos, AW_pos alignment=0.0, AW_bitset filteri=AW_ALL_DEVICES_UNSCALED)
 
bool text (int gc, const char *str, const AW::Position &pos, AW_pos alignment=0.0, AW_bitset filteri=AW_ALL_DEVICES_UNSCALED)
 
bool text (int gc, const char *str, AW_pos x, AW_pos y, AW_pos alignment=0.0, AW_bitset filteri=AW_ALL_DEVICES_UNSCALED)
 
bool invisible (const AW::Position &pos, AW_bitset filteri=AW_ALL_DEVICES_SCALED)
 
bool box (int gc, AW::FillStyle filled, const AW::Rectangle &rect, AW_bitset filteri=AW_ALL_DEVICES_SCALED)
 
bool box (int gc, AW::FillStyle filled, const AW::Position &pos, const AW::Vector &size, AW_bitset filteri=AW_ALL_DEVICES_SCALED)
 
bool box (int gc, AW::FillStyle filled, AW_pos x0, AW_pos y0, AW_pos width, AW_pos height, AW_bitset filteri=AW_ALL_DEVICES_SCALED)
 
bool circle (int gc, AW::FillStyle filled, const AW::Position &center, const AW::Vector &radius, AW_bitset filteri=AW_ALL_DEVICES_SCALED)
 
bool circle (int gc, AW::FillStyle filled, AW_pos x0, AW_pos y0, AW_pos xradius, AW_pos yradius, AW_bitset filteri=AW_ALL_DEVICES_SCALED)
 
bool circle (int gc, AW::FillStyle filled, const AW::Rectangle &rect, AW_bitset filteri=AW_ALL_DEVICES_SCALED)
 
bool arc (int gc, AW::FillStyle filled, AW_pos x0, AW_pos y0, AW_pos xradius, AW_pos yradius, int start_degrees, int arc_degrees, AW_bitset filteri=AW_ALL_DEVICES_SCALED)
 
bool arc (int gc, AW::FillStyle filled, const AW::Position &pos, const AW::Vector &radius, int start_degrees, int arc_degrees, AW_bitset filteri=AW_ALL_DEVICES_SCALED)
 
bool polygon (int gc, AW::FillStyle filled, int npoints, const AW_pos *points, AW_bitset filteri=AW_ALL_DEVICES_SCALED)
 
bool polygon (int gc, AW::FillStyle filled, int npos, const AW::Position *pos, AW_bitset filteri=AW_ALL_DEVICES_SCALED)
 
bool text_overlay (int gc, const SizedCstr &cstr, const AW::Position &pos, AW_pos alignment, AW_bitset filteri, TextOverlayCallback toc, AW_CL cduser=0)
 
virtual void clear (AW_bitset filteri)
 
virtual void clear_part (const AW::Rectangle &rect, AW_bitset filteri)
 
void clear_part (AW_pos x, AW_pos y, AW_pos width, AW_pos height, AW_bitset filteri)
 
virtual void move_region (AW_pos src_x, AW_pos src_y, AW_pos width, AW_pos height, AW_pos dest_x, AW_pos dest_y)
 
virtual void fast ()
 
virtual void slow ()
 
virtual void flush ()
 
- Public Member Functions inherited from AW_zoomable
 AW_zoomable ()
 
virtual ~AW_zoomable ()
 
void zoom (AW_pos scale)
 
AW_pos get_scale () const
 
AW_pos get_unscale () const
 
AW::Vector get_offset () const
 
void rotate (AW_pos angle)
 
void set_offset (const AW::Vector &off)
 
void shift (const AW::Vector &doff)
 
void reset ()
 
double transform_size (const double &size) const
 
double rtransform_size (const double &size) const
 
double rtransform_pixelsize (int pixelsize) const
 
AW::Vector transform (const AW::Vector &vec) const
 
AW::Vector rtransform (const AW::Vector &vec) const
 
AW::Position transform (const AW::Position &pos) const
 
AW::Position rtransform (const AW::Position &pos) const
 
AW::LineVector transform (const AW::LineVector &lvec) const
 
AW::LineVector rtransform (const AW::LineVector &lvec) const
 
AW::Rectangle transform (const AW::Rectangle &rect) const
 
AW::Rectangle rtransform (const AW::Rectangle &rect) const
 
void transform (AW_pos x, AW_pos y, AW_pos &xout, AW_pos &yout) const
 
void rtransform (AW_pos x, AW_pos y, AW_pos &xout, AW_pos &yout) const
 
- Public Member Functions inherited from AW_stylable
 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 ()
 
- Public Member Functions inherited from AW_clipable
 AW_clipable (const AW_screen_area &screen)
 
virtual ~AW_clipable ()
 
bool is_below_clip (double ypos) const
 
bool is_above_clip (double ypos) const
 
bool is_leftof_clip (double xpos) const
 
bool is_rightof_clip (double xpos) const
 
bool is_outside_clip (AW::Position pos) const
 
bool is_outside_clip (AW::Rectangle rect) const
 
bool clip (AW_pos x0, AW_pos y0, AW_pos x1, AW_pos y1, AW_pos &x0out, AW_pos &y0out, AW_pos &x1out, AW_pos &y1out)
 
bool clip (const AW::LineVector &line, AW::LineVector &clippedLine)
 
bool box_clip (AW_pos x0, AW_pos y0, AW_pos x1, AW_pos y1, AW_pos &x0out, AW_pos &y0out, AW_pos &x1out, AW_pos &y1out)
 
bool box_clip (const AW::Rectangle &rect, AW::Rectangle &clippedRect)
 
bool box_clip (int npos, const AW::Position *pos, int &nclippedPos, AW::Position *&clippedPos)
 
bool force_into_clipbox (const AW::Position &pos, AW::Position &forcedPos)
 
void set_top_clip_border (int top, bool allow_oversize=false)
 
void set_bottom_clip_border (int bottom, bool allow_oversize=false)
 
void set_bottom_clip_margin (int bottom, bool allow_oversize=false)
 
void set_left_clip_border (int left, bool allow_oversize=false)
 
void set_right_clip_border (int right, bool allow_oversize=false)
 
const AW_screen_areaget_cliprect () const
 
void set_clipall ()
 
bool completely_clipped () const
 
bool allow_top_font_overlap () const
 
bool allow_bottom_font_overlap () const
 
bool allow_left_font_overlap () const
 
bool allow_right_font_overlap () const
 
const AW_font_overlapget_font_overlap () const
 
void set_top_font_overlap (bool allow)
 
void set_bottom_font_overlap (bool allow)
 
void set_left_font_overlap (bool allow)
 
void set_right_font_overlap (bool allow)
 
void set_vertical_font_overlap (bool allow)
 
void set_horizontal_font_overlap (bool allow)
 
void set_font_overlap (bool allow)
 
void set_font_overlap (const AW_font_overlap &fo)
 
void reduce_top_clip_border (int top)
 
void reduce_bottom_clip_border (int bottom)
 
void reduce_left_clip_border (int left)
 
void reduce_right_clip_border (int right)
 
int reduceClipBorders (int top, int bottom, int left, int right)
 

Additional Inherited Members

- Protected Types inherited from AW_device
enum  Fill_Style { FS_EMPTY, FS_GREY, FS_SOLID }
 
- Protected Member Functions inherited from AW_device
bool generic_box (int gc, const AW::Rectangle &rect, AW_bitset filteri)
 
bool generic_circle (int gc, const AW::Position &center, const AW::Vector &radius, AW_bitset filteri)
 
bool generic_polygon (int gc, int npos, const AW::Position *pos, AW_bitset filteri)
 
bool generic_invisible (const AW::Position &pos, AW_bitset filteri)
 
- Protected Member Functions inherited from AW_clipable
int compoutcode (AW_pos xx, AW_pos yy) const
 
void set_cliprect (const AW_screen_area &rect)
 
- Static Protected Member Functions inherited from AW_device
static const AW_screen_areaget_common_screen (const AW_common *common_)
 
- Protected Attributes inherited from AW_device
AW_clip_scale_stackclip_scale_stack
 
const AW_click_cdclick_cd
 
AW_bitset filter
 

Detailed Description

Definition at line 584 of file aw_device.hxx.

Constructor & Destructor Documentation

AW_simple_device::AW_simple_device ( AW_common common_)
inline

Definition at line 598 of file aw_device.hxx.


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