Sha256: 9b8d646c6d74ed41b415857482a6289a53bdc5c5840b34c67d9df25ee7ed3c57

Contents?: true

Size: 847 Bytes

Versions: 8

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

8 entries across 8 versions & 1 rubygems

Version Path
rays-0.1.36 ext/rays/defs.h
rays-0.1.35 ext/rays/defs.h
rays-0.1.34 ext/rays/defs.h
rays-0.1.33 ext/rays/defs.h
rays-0.1.32 ext/rays/defs.h
rays-0.1.31 ext/rays/defs.h
rays-0.1.30 ext/rays/defs.h
rays-0.1.29 ext/rays/defs.h