Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Point.cpp « src « xs - github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a4c905eaef16de80d365d5a05df14b535170966a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);
}