Skip to content

Commit

Permalink
Change visibility of geometry methods of Layer_Shape and Layer_Polygon
Browse files Browse the repository at this point in the history
  • Loading branch information
blackwarthog committed Mar 9, 2016
1 parent 93caa94 commit 8bba01d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions synfig-core/src/synfig/layers/layer_polygon.h
Expand Up @@ -62,6 +62,7 @@ class Layer_Polygon : public Layer_Shape

~Layer_Polygon();

protected:
//! Adds a polygon to the layer
/*! The edge data is automatically added to the
** EdgeTable, so there is no need to call sync()
Expand All @@ -77,11 +78,13 @@ class Layer_Polygon : public Layer_Shape
//! Clears out any polygon data
void clear_stored_polygon();

public:
virtual bool set_param(const String & param, const synfig::ValueBase &value);

virtual ValueBase get_param(const String & param)const;

virtual Vocab get_param_vocab()const;

private:
class PolySpan;
bool render_polyspan(Surface *surface,PolySpan &polyspan)const;
Expand Down
2 changes: 2 additions & 0 deletions synfig-core/src/synfig/layers/layer_shape.h
Expand Up @@ -84,6 +84,7 @@ class Layer_Shape : public Layer_Composite, public Layer_NoDeform

~Layer_Shape();

protected:
//! Clears out any data
/*! Also clears out the Intersector
*/
Expand All @@ -94,6 +95,7 @@ class Layer_Shape : public Layer_Composite, public Layer_NoDeform
void cubic_to(Real x, Real y, Real x1, Real y1, Real x2, Real y2);
void close();

public:
void sync(bool force = false) const;
void force_sync() const { sync(true); }

Expand Down

0 comments on commit 8bba01d

Please sign in to comment.