/*
	This file is part of Floculate.
	Copyright (C) 2008  Bill Whitacre

	Floculate is free software: you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation, either version 3 of the License, or
	(at your option) any later version.

	Floculate is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef ORTHO_H
#define ORTHO_H

#include <stdlib.h>

#define rat_ortho_vp_vres	0
#define rat_ortho_vp		1
#define rat_ortho_res_vres	2
#define rat_ortho_res		3

typedef int rat_ortho_mode;

#ifdef __cplusplus
extern "C" {
#endif

void rat_ortho_set_mode(rat_ortho_mode mode);
rat_ortho_mode rat_ortho_get_mode();
void rat_ortho_set_res(unsigned int x,unsigned int y);
void rat_ortho_set_virtual_res(unsigned int x,unsigned int y);
void rat_ortho_get_res(unsigned int *x,unsigned int *y);
void rat_ortho_get_virtual_res(unsigned int *x,unsigned int *y);
void rat_ortho_push();
void rat_ortho_pop();

#ifdef __cplusplus
};
#endif

#endif
