Namespaces | Defines | Functions

p_quad.cpp File Reference

#include "vgfx.h"
#include "drawer.h"
#include "bezier/quad.h"
#include "common/wave_ex.h"
#include "perf/perf.h"
#include "util/parsing.h"
Include dependency graph for p_quad.cpp:

Go to the source code of this file.

Namespaces

namespace  vgfx

Defines

#define WRITE_L_FIELD(tag, q)   { if (q) { stream << " " << #tag << " " << q; } }
#define SET_L_FIELD(x, tag)   init.quad.x = atof(getOptionalValue(data, #tag , "0.0"));

Functions

void vgfx::init_quad_from_data (const dictionary_t &data, init_quad_t &init)
smart_ptr< Primitive > vgfx::create_quad (const init_quad_t &init)

Define Documentation

#define WRITE_L_FIELD (   tag,
  q 
)    { if (q) { stream << " " << #tag << " " << q; } }

Definition at line 113 of file p_quad.cpp.

#define SET_L_FIELD (   x,
  tag 
)    init.quad.x = atof(getOptionalValue(data, #tag , "0.0"));

Definition at line 176 of file p_quad.cpp.