
/****************************************************************************
 *
 * This file is a product of Criterion Software Ltd.
 *
 * This file is provided as is with no warranties of any kind and is
 * provided without any obligation on Criterion Software Ltd.
 * or Canon Inc. to assist in its use or modification.
 *
 * Criterion Software Ltd. and Canon Inc. will not, under any
 * circumstances, be liable for any lost revenue or other damages
 * arising from the use of this file.
 *
 * Copyright (c) 1999 Criterion Software Ltd.
 * All Rights Reserved.
 *
 */

/****************************************************************************
 *                                                                         
 * paint2d.h
 *
 * Copyright (C) 1999 Criterion Technologies.
 *                                                                         
 * Purpose : RenderWare 3.0 demo.
 *                         
 ****************************************************************************/

#ifndef PAINT2D_H
#define PAINT2D_H

#include "rwcore.h"
#include "skeleton.h"

extern RwRGBA FGNDColor;
extern RwRGBA BGNDColor;

extern void PositionSet(RwReal x, RwReal y);
extern void ZoomInToggle(RwBool value);
extern void ZoomOutToggle(RwBool value);
extern void PageSet(RwInt32 page);
extern RwInt32 PageGet(void);
extern void PageTranslateInit(void);
extern void PageTranslate(RwReal x, RwReal y);
extern void PageRotateInit(RwReal x, RwReal y);
extern void PageRotate(RwReal x);
extern void ConsoleToggle(void);
extern RsEventStatus ConsoleEventHandler(RsEvent event, void *param);

extern RwBool Initialize2D(RwCamera *camera);
extern void Terminate2D(void);

extern RwCamera *RenderFrame(RwCamera *camera, RwInt32 x, RwInt32 y, void *data);

extern RwInt32 TermLines;
extern RwInt32 DTermLines;

#endif /* PAINT2D_H */
