Namespaces | Defines | Typedefs | Enumerations | Functions | Variables

p_group.cpp File Reference

#include "vgfx.h"
#include "drawer.h"
#include <istream>
#include <sstream>
#include "bezier/fit.h"
#include "common/wave_ex.h"
#include "objtree/objtree.h"
#include "perf/perf.h"
#include "util/parsing.h"
#include "util/token_stream.h"
Include dependency graph for p_group.cpp:

Go to the source code of this file.

Namespaces

namespace  vgfx

Defines

#define BRUSH_ENTRY(key, attrib)   { "vgfx" #key , eBrush_ ##attrib },
#define PERSIST_VAL2(q, v)   { if (obj.q) { stream << "\t" << #q << " " << (v); } }
#define PERSIST_VAL(q)   PERSIST_VAL2(q, obj.q)

Typedefs

typedef std::multimap< float,
object_t > 
vgfx::map_obj_t

Enumerations

enum  vgfx::eGroupType {
  vgfx::eGT_Normal = 1,
  vgfx::eGT_Path = 2,
  vgfx::eGT_Invalid = 0
}

Functions

static dword_t vgfx::getDwordFromPointer (IN void *ptr) throw ()
static int vgfx::getPathElement (IN const char *path, IO char *buffer, IN int bufsize)
static void vgfx::updateBrush (IN const Dictionary &d, IN Drawer *drawer)
static void vgfx::adjustRefCount (IN ObjectMap *map, IN const char *id, IN long delta)
static void vgfx::updateObjectTransform (IO object_t &obj)
static void vgfx::writeXY (IO std::ostream &stream, IN float x, IN float y)
static void vgfx::constructObject (IN ObjectMap *map, IN const dictionary_t &data, OUT object_t &obj)
smart_ptr< Primitive > vgfx::parseGroup (IN std::istream &stream, IO ObjectMap *map)

Variables

static const brush_entry_t vgfx::s_brushTable []

Define Documentation

#define BRUSH_ENTRY (   key,
  attrib 
)    { "vgfx" #key , eBrush_ ##attrib },

Definition at line 76 of file p_group.cpp.

#define PERSIST_VAL2 (   q,
  v 
)    { if (obj.q) { stream << "\t" << #q << " " << (v); } }

Definition at line 482 of file p_group.cpp.

#define PERSIST_VAL (   q  )     PERSIST_VAL2(q, obj.q)

Definition at line 483 of file p_group.cpp.