#include "WPG2Parser.h"
#include "WPGPaintInterface.h"
#include "libwpg_utils.h"
#include <math.h>
#include <vector>
#include <sstream>
Classes | |
class | WPG2Parser::ObjectCharacterization |
Defines | |
#define | M_PI 3.14159265358979323846 |
#define | DUMP_BINARY_DATA 0 |
#define | TO_DOUBLE(x) ( (m_doublePrecision) ? ((double)(x)/65536.0) : (double)(x) ) |
#define | TRANSFORM_XY(x, y) { m_matrix.transform((x),(y)); (x)-= m_xofs; (y)-= m_yofs; (y)=m_height-(y); } |
Variables | |
static const unsigned char | defaultWPG2PaletteRed [] |
static const unsigned char | defaultWPG2PaletteGreen [] |
static const unsigned char | defaultWPG2PaletteBlue [] |
#define DUMP_BINARY_DATA 0 |
#define M_PI 3.14159265358979323846 |
Referenced by WPG2Parser::handleBrushForeColor(), and WPG2Parser::handleDPBrushForeColor().
#define TO_DOUBLE | ( | x | ) | ( (m_doublePrecision) ? ((double)(x)/65536.0) : (double)(x) ) |
Referenced by WPG2Parser::handleArc(), WPG2Parser::handleBitmap(), WPG2Parser::handleBrushForeColor(), WPG2Parser::handleDPBrushForeColor(), WPG2Parser::handleDPPenSize(), WPG2Parser::handleObjectCapsule(), WPG2Parser::handlePenSize(), WPG2Parser::handlePenStyleDefinition(), WPG2Parser::handlePolycurve(), WPG2Parser::handlePolyline(), WPG2Parser::handleRectangle(), and WPG2Parser::handleStartWPG().
#define TRANSFORM_XY | ( | x, | |||
y | ) | { m_matrix.transform((x),(y)); (x)-= m_xofs; (y)-= m_yofs; (y)=m_height-(y); } |
const unsigned char defaultWPG2PaletteBlue[] [static] |
Referenced by WPG2Parser::resetPalette().
const unsigned char defaultWPG2PaletteGreen[] [static] |
Referenced by WPG2Parser::resetPalette().
const unsigned char defaultWPG2PaletteRed[] [static] |
Referenced by WPG2Parser::resetPalette().