#include <polyblk.h>
Public Member Functions | |
POLY_BLOCK () | |
POLY_BLOCK (ICOORDELT_LIST *points, PolyBlockType type) | |
~POLY_BLOCK () | |
TBOX * | bounding_box () |
ICOORDELT_LIST * | points () |
void | compute_bb () |
PolyBlockType | isA () const |
bool | IsText () const |
void | rotate (FCOORD rotation) |
void | move (ICOORD shift) |
void | plot (ScrollView *window, inT32 num) |
void | fill (ScrollView *window, ScrollView::Color colour) |
bool | contains (POLY_BLOCK *other) |
bool | overlap (POLY_BLOCK *other) |
inT16 | winding_number (const ICOORD &test_pt) |
void | prep_serialise () |
void | dump (FILE *f) |
void | de_dump (FILE *f) |
make_serialise (POLY_BLOCK) void serialise_asc(FILE *f) | |
void | de_serialise_asc (FILE *f) |
Static Public Member Functions | |
static ScrollView::Color | ColorForPolyBlockType (PolyBlockType type) |
static bool | IsLineType (PolyBlockType type) |
static bool | IsImageType (PolyBlockType type) |
static bool | IsTextType (PolyBlockType type) |
POLY_BLOCK::POLY_BLOCK | ( | ) | [inline] |
POLY_BLOCK::POLY_BLOCK | ( | ICOORDELT_LIST * | points, | |
PolyBlockType | type | |||
) |
POLY_BLOCK::~POLY_BLOCK | ( | ) | [inline] |
TBOX* POLY_BLOCK::bounding_box | ( | ) | [inline] |
ScrollView::Color POLY_BLOCK::ColorForPolyBlockType | ( | PolyBlockType | type | ) | [static] |
void POLY_BLOCK::compute_bb | ( | ) |
bool POLY_BLOCK::contains | ( | POLY_BLOCK * | other | ) |
void POLY_BLOCK::de_dump | ( | FILE * | f | ) | [inline] |
void POLY_BLOCK::de_serialise_asc | ( | FILE * | f | ) |
void POLY_BLOCK::dump | ( | FILE * | f | ) | [inline] |
void POLY_BLOCK::fill | ( | ScrollView * | window, | |
ScrollView::Color | colour | |||
) |
PolyBlockType POLY_BLOCK::isA | ( | ) | const [inline] |
static bool POLY_BLOCK::IsImageType | ( | PolyBlockType | type | ) | [inline, static] |
static bool POLY_BLOCK::IsLineType | ( | PolyBlockType | type | ) | [inline, static] |
bool POLY_BLOCK::IsText | ( | ) | const [inline] |
static bool POLY_BLOCK::IsTextType | ( | PolyBlockType | type | ) | [inline, static] |
POLY_BLOCK::make_serialise | ( | POLY_BLOCK | ) |
void POLY_BLOCK::move | ( | ICOORD | shift | ) |
bool POLY_BLOCK::overlap | ( | POLY_BLOCK * | other | ) |
void POLY_BLOCK::plot | ( | ScrollView * | window, | |
inT32 | num | |||
) |
ICOORDELT_LIST* POLY_BLOCK::points | ( | ) | [inline] |
void POLY_BLOCK::prep_serialise | ( | ) | [inline] |
void POLY_BLOCK::rotate | ( | FCOORD | rotation | ) |