Sha256: 4fccc2df6134a7004c94ac2a9bbdf7c00358637e3182c182cf7aa0a132c21308

Contents?: true

Size: 847 Bytes

Versions: 10

Compression:

Stored size: 847 Bytes

Contents

// -*- c++ -*-
#pragma once
#ifndef __RAYS_EXT_DEFS_H__
#define __RAYS_EXT_DEFS_H__


#include <vector>
#include <rucy.h>
#include "rays/defs.h"
#include "rays/point.h"
#include "rays/ruby/defs.h"


using namespace Rucy;

using Rays::coord;


void get_line_args (
	std::vector<Rays::Point>* points,
	int argc, const Value* argv);

void get_rect_args (
	coord* x,  coord* y,  coord* w,  coord* h,
	coord* lt, coord* rt, coord* lb, coord* rb, uint* nseg,
	int argc, const Value* argv,
	Value round, Value lefttop, Value righttop, Value leftbottom, Value rightbottom,
	Value nsegment);

void get_ellipse_args (
	coord* x, coord* y, coord* w, coord* h,
	Rays::Point* hole_size, float* from, float* to, uint* nseg,
	int argc, const Value* argv,
	Value center, Value radius, Value hole, Value angel_from, Value angle_to,
	Value nsegment);


#endif//EOH

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rays-0.1.47 ext/rays/defs.h
rays-0.1.46 ext/rays/defs.h
rays-0.1.45 ext/rays/defs.h
rays-0.1.44 ext/rays/defs.h
rays-0.1.43 ext/rays/defs.h
rays-0.1.42 ext/rays/defs.h
rays-0.1.40 ext/rays/defs.h
rays-0.1.39 ext/rays/defs.h
rays-0.1.38 ext/rays/defs.h
rays-0.1.37 ext/rays/defs.h