ARB
|
#include "aw_root.hxx"
#include "aw_common.hxx"
#include "aw_xfont.hxx"
#include "aw_rgb.hxx"
#include <arb_msg.h>
#include <map>
#include <list>
#include <vector>
#include <string>
Go to the source code of this file.
Classes | |
struct | Spoolable |
class | SpoolableString |
class | SpoolableColor |
class | UsedColor |
class | ColorMap |
class | SPOOLER |
Macros | |
#define | XFIG_DEFAULT_COLOR_COUNT 32 |
#define | XFIG_USER_COLOR_COUNT 512 |
#define | XFIG_USER_COLOR_FIRST XFIG_DEFAULT_COLOR_COUNT |
#define | XFIG_USER_COLOR_LAST (XFIG_USER_COLOR_FIRST+XFIG_USER_COLOR_COUNT-1) |
#define | spoolf(format) spooler->put(GBS_global_string format) |
#define | spools(str) spooler->put(str) |
#define | spoolColor(rgb) color_mode ? spooler->putColor(rgb) : spooler->putDefaultColor() |
#define | spoolDefaultColor() spooler->putDefaultColor() |
Typedefs | |
typedef SmartPtr< Spoolable > | SpoolablePtr |
Functions | |
double | colorDistSquare (const AW_rgb &col1, const AW_rgb &col2) |
double | screen2printer (double val) |
int | print_pos (AW_pos screen_pos) |
static bool | AW_draw_string_on_printer (AW_device *device, int gc, const char *textBuffer, size_t textStart, size_t textLen, const AW::Position &pos, AW_CL) |
Variables | |
static AW_rgb | figStdColors [32] |
const double | dpi_screen2printer = double(DPI_PRINTER)/DPI_SCREEN |
#define XFIG_DEFAULT_COLOR_COUNT 32 |
Definition at line 26 of file AW_print.cxx.
Referenced by ColorMap::ColorMap(), and ColorMap::mapColors().
#define XFIG_USER_COLOR_COUNT 512 |
Definition at line 27 of file AW_print.cxx.
Referenced by SPOOLER::spool().
#define XFIG_USER_COLOR_FIRST XFIG_DEFAULT_COLOR_COUNT |
Definition at line 29 of file AW_print.cxx.
Referenced by UsedColor::assign(), UsedColor::isStdColor(), ColorMap::mapColors(), and ColorMap::printUserColorDefinitions().
#define XFIG_USER_COLOR_LAST (XFIG_USER_COLOR_FIRST+XFIG_USER_COLOR_COUNT-1) |
Definition at line 30 of file AW_print.cxx.
Referenced by UsedColor::assign(), and ColorMap::printUserColorDefinitions().
#define spoolf | ( | format | ) | spooler->put(GBS_global_string format) |
Definition at line 348 of file AW_print.cxx.
Definition at line 349 of file AW_print.cxx.
#define spoolColor | ( | rgb | ) | color_mode ? spooler->putColor(rgb) : spooler->putDefaultColor() |
Definition at line 350 of file AW_print.cxx.
#define spoolDefaultColor | ( | ) | spooler->putDefaultColor() |
Definition at line 351 of file AW_print.cxx.
typedef SmartPtr<Spoolable> SpoolablePtr |
Definition at line 59 of file AW_print.cxx.
Definition at line 130 of file AW_print.cxx.
References AW_rgb_diff::b(), diff(), AW_rgb_diff::g(), and AW_rgb_diff::r().
|
inline |
Definition at line 342 of file AW_print.cxx.
References dpi_screen2printer.
Referenced by print_pos().
Definition at line 343 of file AW_print.cxx.
References AW_INT, and screen2printer().
|
static |
Definition at line 501 of file AW_print.cxx.
References DOWNCAST.
|
static |
Definition at line 64 of file AW_print.cxx.
Referenced by ColorMap::ColorMap().
const double dpi_screen2printer = double(DPI_PRINTER)/DPI_SCREEN |
Definition at line 340 of file AW_print.cxx.
Referenced by screen2printer().