Refactoring of PreviewCanvas

This commit is contained in:
Alessandro Ranellucci 2014-12-15 01:28:11 +01:00
parent 74b3be3c06
commit 9cd0a63331
4 changed files with 185 additions and 151 deletions

View file

@ -101,6 +101,10 @@ Point::coincides_with(point_sv)
void scale(double factor);
void rotate(double angle, Pointf* center)
%code{% THIS->rotate(angle, *center); %};
Clone<Pointf> negative()
%code{% RETVAL = THIS->negative(); %};
Clone<Pointf> vector_to(Pointf* point)
%code{% RETVAL = THIS->vector_to(*point); %};
};
%name{Slic3r::Pointf3} class Pointf3 {