1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00

New Slic3r::Point::XS class

This commit is contained in:
Alessandro Ranellucci
2013-07-06 15:26:32 +02:00
parent cca25c9950
commit c50ecfb7f8
11 changed files with 109 additions and 17 deletions
+14
View File
@@ -0,0 +1,14 @@
#include "myinit.h"
#include "Point.hpp"
Point::Point(unsigned long x, unsigned long y) {}
Point::~Point() {}
SV*
Point::_toPerl() {
AV* av = newAV();
av_fill(av, 1);
av_store_point_xy(av, x, y);
return (SV*)newRV_noinc((SV*)av);
}