summaryrefslogtreecommitdiff
path: root/src/lib/VSDXStencils.h
diff options
context:
space:
mode:
authorTibby Lickle <tibbylickle@gmail.com>2011-08-10 15:03:08 +0100
committerTibby Lickle <tibbylickle@gmail.com>2011-08-10 15:03:08 +0100
commit8856b26f1e04fefaa4c45234696225e60456ed69 (patch)
treec3eaf20a38ea7abc9c7f0fb9728695748df7ef93 /src/lib/VSDXStencils.h
parentf2744d6cfc83e3c376490f176a9c869f47998747 (diff)
Partial implementation of stencil shape output (segfaults)
Diffstat (limited to 'src/lib/VSDXStencils.h')
-rw-r--r--src/lib/VSDXStencils.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/lib/VSDXStencils.h b/src/lib/VSDXStencils.h
index 646203c..9335e3e 100644
--- a/src/lib/VSDXStencils.h
+++ b/src/lib/VSDXStencils.h
@@ -31,9 +31,9 @@ class VSDXStencilShape
{
public:
VSDXStencilShape();
- VSDXStencilShape(const VSDXStencilShape &shape);
+ //VSDXStencilShape(const VSDXStencilShape &shape);
~VSDXStencilShape();
- VSDXStencilShape &operator=(const VSDXStencilShape &shape);
+ //VSDXStencilShape &operator=(const VSDXStencilShape &shape);
VSDXGeometryList geometry;
unsigned lineStyleID, fillStyleID;
@@ -47,11 +47,12 @@ class VSDXStencil
{
public:
VSDXStencil();
- VSDXStencil(const VSDXStencil &stencil);
+ //VSDXStencil(const VSDXStencil &stencil);
~VSDXStencil();
- VSDXStencil &operator=(const VSDXStencil &stencil);
- void addStencilShape(const VSDXStencilShape &shape);
- std::vector<VSDXStencilShape> shapes;
+ //VSDXStencil &operator=(const VSDXStencil &stencil);
+ void addStencilShape(unsigned id, const VSDXStencilShape &shape);
+ const VSDXStencilShape *getStencilShape(unsigned id) const;
+ std::map<unsigned, VSDXStencilShape> shapes;
};
class VSDXStencils