Sha256: 4669604899e86d1964bfb3f5bf61106c3a9fb8b26b88d4b9632bed1852fee07f

Contents?: true

Size: 819 Bytes

Versions: 16

Compression:

Stored size: 819 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>


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

16 entries across 16 versions & 1 rubygems

Version Path
rays-0.1.28 ext/rays/defs.h
rays-0.1.27 ext/rays/defs.h
rays-0.1.26 ext/rays/defs.h
rays-0.1.25 ext/rays/defs.h
rays-0.1.24 ext/rays/defs.h
rays-0.1.23 ext/rays/defs.h
rays-0.1.22 ext/rays/defs.h
rays-0.1.21 ext/rays/defs.h
rays-0.1.20 ext/rays/defs.h
rays-0.1.19 ext/rays/defs.h
rays-0.1.18 ext/rays/defs.h
rays-0.1.17 ext/rays/defs.h
rays-0.1.16 ext/rays/defs.h
rays-0.1.15 ext/rays/defs.h
rays-0.1.14 ext/rays/defs.h
rays-0.1.13 ext/rays/defs.h