constants.h File Reference documentation

Variables
constants.h File Reference
`#include <stdint.h>`

Go to the source code of this file.

## Variables
const uint8_t | FONTS_PARENT = 0x01
const uint8_t | PAGE = 0x05
const uint8_t | PARA = 0x0b
const uint8_t | TIFF = 0x0e
const uint8_t | LINE_SET = 0x11
const uint8_t | FONTS = 0x13
const uint8_t | COLORS = 0x15
const uint8_t | GLOBAL_INFO = 0x18
const uint8_t | SHAPE = 0x19
const uint8_t | TEXT_BLOCK = 0x1a
const uint8_t | CHARS = 0x1c
const uint8_t | XFORM = 0x28
const uint8_t | CMYK = 0x08
const uint8_t | HLS = 0x10
const uint8_t | RGB = 0x18
const uint8_t | TEXT_RECORD = 0x01
const uint8_t | LINE_RECORD = 0x03
const uint8_t | RECTANGLE_RECORD = 0x04
const uint8_t | ELLIPSE_RECORD = 0x05
const uint8_t | BITMAP_RECORD = 0x06
const uint8_t | METAFILE_RECORD = 0x0a
const uint8_t | POLYGON_RECORD = 0x0c
const uint8_t | REGULAR_POLYGON = 0x00
const uint8_t | POLYGON_OPEN = 0x01
const uint8_t | POLYGON_CLOSED = 0x03
const uint16_t | ENDIANNESS_MARKER = 0x99FF
const uint16_t | WARPED_ENDIANNESS_MARKER = 0xFF99
const uint8_t | SHAPE_TYPE_LINE = 1
const uint8_t | SHAPE_TYPE_POLY = 2
const uint8_t | SHAPE_TYPE_RECT = 3
const uint8_t | SHAPE_TYPE_ELLIPSE = 4
const uint8_t | SHAPE_TYPE_TEXTBOX = 5
const uint8_t | SHAPE_TYPE_BITMAP = 6
const uint8_t | FILL_NONE = 0
const uint8_t | FILL_PAPER = 1
const uint8_t | FILL_SOLID = 2
const uint8_t | FILL_VERTICAL_BARS = 3
const uint8_t | FILL_TIGHT_VERTICAL_BARS = 4
const uint8_t | FILL_HORIZONTAL_BARS = 5
const uint8_t | FILL_TIGHT_HORIZONTAL_BARS = 6
const uint8_t | FILL_TILTED_BARS = 7
const uint8_t | FILL_TIGHT_TILTED_BARS = 8
const uint8_t | FILL_GRID_BARS = 9
const uint8_t | FILL_TIGHT_GRID_BARS = 0x0A
const uint8_t | STROKE_NORMAL = 0
const uint8_t | STROKE_LIGHT_LIGHT = 1
const uint8_t | STROKE_DARK_LIGHT = 2
const uint8_t | STROKE_LIGHT_DARK = 3
const uint8_t | STROKE_LIGHT_DARK_LIGHT = 4
const uint8_t | STROKE_DASHED = 5
const uint8_t | STROKE_SQUARE_DOTS = 6
const uint8_t | STROKE_CIRCULAR_DOTS = 7

## Variable Documentation

## ◆ BITMAP_RECORD

const uint8_t BITMAP_RECORD = 0x06

Referenced by libpagemaker::PMDParser::parseShapes().

## ◆ CHARS

const uint8_t CHARS = 0x1c

Referenced by libpagemaker::getRecordSize().

## ◆ CMYK

const uint8_t CMYK = 0x08

Referenced by libpagemaker::PMDParser::parseColors().

## ◆ COLORS

const uint8_t COLORS = 0x15

Referenced by libpagemaker::getRecordSize(), and libpagemaker::PMDParser::parseColors().

## ◆ ELLIPSE_RECORD

const uint8_t ELLIPSE_RECORD = 0x05

Referenced by libpagemaker::PMDParser::parseShapes().

## ◆ ENDIANNESS_MARKER

const uint16_t ENDIANNESS_MARKER = 0x99FF

Referenced by libpagemaker::PMDParser::parseHeader().

## ◆ FILL_GRID_BARS

const uint8_t FILL_GRID_BARS = 9

## ◆ FILL_HORIZONTAL_BARS

const uint8_t FILL_HORIZONTAL_BARS = 5

## ◆ FILL_NONE

const uint8_t FILL_NONE = 0

Referenced by libpagemaker::PMDCollector::paintShape().

## ◆ FILL_PAPER

const uint8_t FILL_PAPER = 1

## ◆ FILL_SOLID

const uint8_t FILL_SOLID = 2

Referenced by libpagemaker::PMDLine::getFillProperties(), and libpagemaker::PMDCollector::paintShape().

## ◆ FILL_TIGHT_GRID_BARS

const uint8_t FILL_TIGHT_GRID_BARS = 0x0A

## ◆ FILL_TIGHT_HORIZONTAL_BARS

const uint8_t FILL_TIGHT_HORIZONTAL_BARS = 6

## ◆ FILL_TIGHT_TILTED_BARS

const uint8_t FILL_TIGHT_TILTED_BARS = 8

## ◆ FILL_TIGHT_VERTICAL_BARS

const uint8_t FILL_TIGHT_VERTICAL_BARS = 4

## ◆ FILL_TILTED_BARS

const uint8_t FILL_TILTED_BARS = 7

## ◆ FILL_VERTICAL_BARS

const uint8_t FILL_VERTICAL_BARS = 3

## ◆ FONTS

const uint8_t FONTS = 0x13

Referenced by libpagemaker::getRecordSize(), and libpagemaker::PMDParser::parseFonts().

## ◆ FONTS_PARENT

const uint8_t FONTS_PARENT = 0x01

Referenced by libpagemaker::getRecordSize().

## ◆ GLOBAL_INFO

const uint8_t GLOBAL_INFO = 0x18

Referenced by libpagemaker::getRecordSize(), and libpagemaker::PMDParser::parse().

## ◆ HLS

const uint8_t HLS = 0x10

Referenced by libpagemaker::PMDParser::parseColors().

## ◆ LINE_RECORD

const uint8_t LINE_RECORD = 0x03

Referenced by libpagemaker::PMDParser::parseShapes().

## ◆ LINE_SET

const uint8_t LINE_SET = 0x11

Referenced by libpagemaker::getRecordSize().

## ◆ METAFILE_RECORD

const uint8_t METAFILE_RECORD = 0x0a

Referenced by libpagemaker::PMDParser::parseShapes().

## ◆ PAGE

const uint8_t PAGE = 0x05

Referenced by libpagemaker::getRecordSize(), and libpagemaker::PMDParser::parse().

## ◆ PARA

const uint8_t PARA = 0x0b

Referenced by libpagemaker::getRecordSize().

## ◆ POLYGON_CLOSED

const uint8_t POLYGON_CLOSED = 0x03

Referenced by libpagemaker::PMDParser::parsePolygon().

## ◆ POLYGON_OPEN

const uint8_t POLYGON_OPEN = 0x01

Referenced by libpagemaker::PMDParser::parsePolygon().

## ◆ POLYGON_RECORD

const uint8_t POLYGON_RECORD = 0x0c

Referenced by libpagemaker::PMDParser::parseShapes().

## ◆ RECTANGLE_RECORD

const uint8_t RECTANGLE_RECORD = 0x04

Referenced by libpagemaker::PMDParser::parseShapes().

## ◆ REGULAR_POLYGON

const uint8_t REGULAR_POLYGON = 0x00

Referenced by libpagemaker::PMDParser::parsePolygon().

## ◆ RGB

const uint8_t RGB = 0x18

Referenced by libpagemaker::PMDParser::parseColors().

## ◆ SHAPE

const uint8_t SHAPE = 0x19

Referenced by libpagemaker::getRecordSize().

## ◆ SHAPE_TYPE_BITMAP

const uint8_t SHAPE_TYPE_BITMAP = 6

Referenced by libpagemaker::newOutputShape(), libpagemaker::PMDCollector::paintShape(), and libpagemaker::PMDBitmap::shapeType().

## ◆ SHAPE_TYPE_ELLIPSE

const uint8_t SHAPE_TYPE_ELLIPSE = 4

Referenced by libpagemaker::PMDEllipse::shapeType().

## ◆ SHAPE_TYPE_LINE

const uint8_t SHAPE_TYPE_LINE = 1

Referenced by libpagemaker::newOutputShape(), libpagemaker::PMDCollector::paintShape(), and libpagemaker::PMDLine::shapeType().

## ◆ SHAPE_TYPE_POLY

const uint8_t SHAPE_TYPE_POLY = 2

Referenced by libpagemaker::newOutputShape(), libpagemaker::PMDCollector::paintShape(), and libpagemaker::PMDPolygon::shapeType().

## ◆ SHAPE_TYPE_RECT

const uint8_t SHAPE_TYPE_RECT = 3

Referenced by libpagemaker::newOutputShape(), libpagemaker::PMDCollector::paintShape(), and libpagemaker::PMDRectangle::shapeType().

## ◆ SHAPE_TYPE_TEXTBOX

const uint8_t SHAPE_TYPE_TEXTBOX = 5

Referenced by libpagemaker::newOutputShape(), libpagemaker::PMDCollector::paintShape(), and libpagemaker::PMDTextBox::shapeType().

## ◆ STROKE_CIRCULAR_DOTS

const uint8_t STROKE_CIRCULAR_DOTS = 7

## ◆ STROKE_DARK_LIGHT

const uint8_t STROKE_DARK_LIGHT = 2

## ◆ STROKE_DASHED

const uint8_t STROKE_DASHED = 5

Referenced by libpagemaker::PMDCollector::paintShape().

## ◆ STROKE_LIGHT_DARK

const uint8_t STROKE_LIGHT_DARK = 3

## ◆ STROKE_LIGHT_DARK_LIGHT

const uint8_t STROKE_LIGHT_DARK_LIGHT = 4

## ◆ STROKE_LIGHT_LIGHT

const uint8_t STROKE_LIGHT_LIGHT = 1

## ◆ STROKE_NORMAL

const uint8_t STROKE_NORMAL = 0

Referenced by libpagemaker::PMDCollector::paintShape().

## ◆ STROKE_SQUARE_DOTS

const uint8_t STROKE_SQUARE_DOTS = 6

## ◆ TEXT_BLOCK

const uint8_t TEXT_BLOCK = 0x1a

Referenced by libpagemaker::getRecordSize(), and libpagemaker::PMDParser::parseTextBox().

## ◆ TEXT_RECORD

const uint8_t TEXT_RECORD = 0x01

Referenced by libpagemaker::PMDParser::parseShapes().

## ◆ TIFF

const uint8_t TIFF = 0x0e

Referenced by libpagemaker::PMDParser::parseBitmap().

## ◆ WARPED_ENDIANNESS_MARKER

const uint16_t WARPED_ENDIANNESS_MARKER = 0xFF99

Referenced by libpagemaker::PMDParser::parseHeader().

## ◆ XFORM

const uint8_t XFORM = 0x28

Referenced by libpagemaker::getRecordSize(), and libpagemaker::PMDParser::parseXforms().