Namespaces | Defines | Functions

p_line.cpp File Reference

#include "vgfx.h"
#include "drawer.h"
#include "common/wave_ex.h"
#include "perf/perf.h"
#include "util/parsing.h"
Include dependency graph for p_line.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)   init.x = atof(getOptionalValue(data, #x , "0.0"));

Functions

void vgfx::init_line_from_data (const dictionary_t &data, init_line_t &init)
smart_ptr< Primitive > vgfx::create_line (const init_line_t &init)

Define Documentation

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

Definition at line 116 of file p_line.cpp.

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

Definition at line 156 of file p_line.cpp.