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