ARB
|
#include <aw_xfig.hxx>
Public Member Functions | |
AW_xfig (const char *filename, int font_width, int font_height) | |
AW_xfig (int font_width, int font_height) | |
~AW_xfig () | |
void | print (AW_device *device) |
void | create_gcs (AW_device *device, int screen_depth) |
void | add_line (int x1, int y1, int x2, int y2, int width) |
Public Attributes | |
struct AW_xfig_text * | text |
struct AW_xfig_line * | line [MAX_LINE_WIDTH] |
GB_HASH * | at_pos_hash |
int | minx |
int | miny |
int | maxx |
int | maxy |
int | size_x |
int | size_y |
int | centerx |
int | centery |
double | font_scale |
double | dpi_scale |
Definition at line 62 of file aw_xfig.hxx.
Definition at line 83 of file AW_xfig.cxx.
References at_pos_hash, aw_assert, aw_message(), buffer, AW_xfig_text::center, AW_xfig_pos::center, centerx, centery, AW_xfig_line::color, AW_xfig_text::color, dpi_scale, Xfig_Eater::eat_int(), error(), AW_xfig_text::font, font_scale, AW_xfig_text::fontsize, fontsize, GB_concat_path_in_ARBLIB(), GB_MIND_CASE, GBK_terminate(), GBS_create_hash(), GBS_find_string(), GBS_global_string(), GBS_write_hash(), Xfig_Eater::get_rest(), Xfig_Eater::ignore(), line, MAX_LINE_WIDTH, MAX_XFIG_LENGTH, maxx, maxy, minx, miny, AW_xfig_line::next, AW_xfig_text::next, NULp, scaleAndRound(), setMinMax(), size_x, size_y, AW_xfig_text::text, text, AW_xfig_text::x, AW_xfig_pos::x, AW_xfig_line::x0, AW_xfig_line::x1, AW_xfig_text::y, AW_xfig_pos::y, y, AW_xfig_line::y0, and AW_xfig_line::y1.
Definition at line 78 of file AW_xfig.cxx.
AW_xfig::~AW_xfig | ( | ) |
Definition at line 436 of file AW_xfig.cxx.
References at_pos_hash, aw_xfig_hash_free_loop(), GBS_free_hash(), GBS_hash_do_loop(), line, MAX_LINE_WIDTH, AW_xfig_line::next, AW_xfig_text::next, NULp, AW_xfig_text::text, and text.
void AW_xfig::print | ( | AW_device * | device | ) |
Definition at line 461 of file AW_xfig.cxx.
References AW_ALL_DEVICES_UNSCALED, AW_SOLID, AW_screen_area::b, AW_xfig_text::center, AW_device::clear(), font_scale, AW_xfig_text::gc, AW_device::get_area_size(), AW_screen_area::l, line, AW_device::line(), max, MAX_LINE_WIDTH, AW_xfig_line::next, AW_xfig_text::next, AW_screen_area::r, scaleAndRound(), AW_stylable::set_line_attributes(), size_x, size_y, AW_screen_area::t, AW_xfig_text::text, text, AW_device::text(), AW_xfig_text::x, AW_xfig_line::x0, AW_xfig_line::x1, AW_xfig_text::y, y, AW_xfig_line::y0, and AW_xfig_line::y1.
Referenced by AW_xfigCB_info_area().
Definition at line 504 of file AW_xfig.cxx.
References AW_SOLID, AW_WINDOW_FG, AW_XOR, AW_xfig_text::font, font_scale, AW_xfig_text::fontsize, GB_MIND_CASE, GBS_create_hash(), GBS_free_hash(), GBS_read_hash(), GBS_write_hash(), AW_xfig_line::gc, AW_xfig_text::gc, AW_stylable::new_gc(), AW_xfig_text::next, NULp, scaleAndRound(), AW_stylable::set_font(), AW_stylable::set_foreground_color(), AW_stylable::set_function(), AW_stylable::set_line_attributes(), and text.
Referenced by AW_window::load_xfig().
Definition at line 533 of file AW_xfig.cxx.
References AW_xfig_line::color, dpi_scale, line, MAX_LINE_WIDTH, maxx, maxy, minx, miny, AW_xfig_line::next, scaleAndRound(), setMinMax(), AW_xfig_line::x0, AW_xfig_line::x1, AW_xfig_line::y0, and AW_xfig_line::y1.
Referenced by AW_window::draw_line().
struct AW_xfig_text* AW_xfig::text |
Definition at line 80 of file aw_xfig.hxx.
Referenced by AW_xfig(), create_gcs(), print(), and ~AW_xfig().
struct AW_xfig_line* AW_xfig::line[MAX_LINE_WIDTH] |
Definition at line 81 of file aw_xfig.hxx.
Referenced by add_line(), AW_xfig(), print(), and ~AW_xfig().
GB_HASH* AW_xfig::at_pos_hash |
Definition at line 83 of file aw_xfig.hxx.
Referenced by AW_window::at(), AW_window::at_ifdef(), AW_xfig(), and ~AW_xfig().
int AW_xfig::minx |
Definition at line 85 of file aw_xfig.hxx.
Referenced by add_line(), AW_window::at(), AW_xfig(), AW_xfigCB_info_area(), AW_window::draw_line(), and AW_window::load_xfig().
int AW_xfig::miny |
Definition at line 85 of file aw_xfig.hxx.
Referenced by add_line(), AW_window::at(), AW_xfig(), AW_xfigCB_info_area(), AW_window::draw_line(), and AW_window::load_xfig().
int AW_xfig::maxx |
Definition at line 86 of file aw_xfig.hxx.
Referenced by add_line(), AW_xfig(), AW_window::draw_line(), and AW_window::load_xfig().
int AW_xfig::maxy |
Definition at line 86 of file aw_xfig.hxx.
Referenced by add_line(), AW_xfig(), AW_window::draw_line(), and AW_window::load_xfig().
int AW_xfig::size_x |
Definition at line 87 of file aw_xfig.hxx.
int AW_xfig::size_y |
Definition at line 87 of file aw_xfig.hxx.
int AW_xfig::centerx |
Definition at line 88 of file aw_xfig.hxx.
Referenced by AW_xfig().
int AW_xfig::centery |
Definition at line 88 of file aw_xfig.hxx.
Referenced by AW_xfig().
double AW_xfig::font_scale |
Definition at line 90 of file aw_xfig.hxx.
Referenced by AW_xfig(), create_gcs(), and print().
double AW_xfig::dpi_scale |
Definition at line 91 of file aw_xfig.hxx.
Referenced by add_line(), and AW_xfig().