MWAWPictMac.cxx File Reference documentation

Classes | Namespaces | Macros | Enumerations
MWAWPictMac.cxx File Reference
`#include <cstring>`
`#include <map>`
`#include <sstream>`
`#include <string>`
`#include <vector>`
`#include <librevenge/librevenge.h>`
`#include "libmwaw_internal.hxx"`
`#include "MWAWDebug.hxx"`
`#include "MWAWInputStream.hxx"`
`#include "MWAWPictMac.hxx"`
`#include "MWAWPictBitmap.hxx"`

## Classes
class | libmwaw_applepict1::Region
| Internal and low level: class used to read/store a picture region. More...
struct | libmwaw_applepict1::Bitmap
| Internal and low level: a class used to read pack/unpack black-white bitmap. More...
struct | libmwaw_applepict1::Value
| Internal and low level: a class used to read and store all possible value. More...
struct | libmwaw_applepict1::OpCode
| Internal and low level: a class to define each opcode and their arguments and read their data. More...
class | libmwaw_applepict1::PictParser
| internal and low level: map opcode id -> OpCode More...

## Namespaces
| libmwaw_applepict1
| Internal and low level: generic tools about Mac Pict1.0 picture.

## Macros
#define | DEBUG_BITMAP 0
#define | ADD_DATA_SHORT(resPtr, val)

## Enumerations
enum | libmwaw_applepict1::DataType { libmwaw_applepict1::WP_NONE , libmwaw_applepict1::WP_BYTE , libmwaw_applepict1::WP_UBYTE , libmwaw_applepict1::WP_INT , libmwaw_applepict1::WP_UINT , libmwaw_applepict1::WP_UFIXED , libmwaw_applepict1::WP_COLOR , libmwaw_applepict1::WP_PATTERN , libmwaw_applepict1::WP_POINT , libmwaw_applepict1::WP_POINTBYTE , libmwaw_applepict1::WP_POINTUBYTE , libmwaw_applepict1::WP_POLY , libmwaw_applepict1::WP_RECT , libmwaw_applepict1::WP_REGION , libmwaw_applepict1::WP_TEXT , libmwaw_applepict1::WP_LTEXT , libmwaw_applepict1::WP_BITMAP , libmwaw_applepict1::WP_RBITMAP , libmwaw_applepict1::WP_PBITMAP , libmwaw_applepict1::WP_RPBITMAP , libmwaw_applepict1::WP_UNKNOWN }
| Internal and low level: the different types of arguments. More...

## Macro Definition Documentation

## ◆ ADD_DATA_SHORT

#define ADD_DATA_SHORT | ( |  | resPtr,
|  |  | val
| ) |  |

Value:
do { \
*(resPtr++) = static_cast<unsigned char>((val & 0xFF00) >> 8); \
*(resPtr++) = static_cast<unsigned char> (val & 0xFF); } while(0)

## ◆ DEBUG_BITMAP

#define DEBUG_BITMAP 0