// Borland C++ Builder
// Copyright (c) 1995, 1999 by Borland International
// All rights reserved

// (DO NOT EDIT: machine generated header) 'RVFuncs.pas' rev: 5.00

#ifndef RVFuncsHPP
#define RVFuncsHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <Graphics.hpp>	// Pascal unit
#include <jpeg.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <SysUtils.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Rvfuncs
{
//-- type declarations -------------------------------------------------------
struct TRVScreenAndDevice
{
	int ppixScreen;
	int ppiyScreen;
	int ppixDevice;
	int ppiyDevice;
	int LeftMargin;
	int RightMargin;
} ;

typedef TRVScreenAndDevice *PRVScreenAndDevice;

typedef Graphics::TGraphic* __fastcall (*TRV_CreateGraphicsFunction)(TMetaClass* GraphicClass);

typedef void __fastcall (*TRV_AfterImportGraphicsProc)(Graphics::TGraphic* Graphic);

//-- var, const, procedure ---------------------------------------------------
extern PACKAGE TRV_CreateGraphicsFunction RV_CreateGraphics;
extern PACKAGE TRV_AfterImportGraphicsProc RV_AfterImportGraphic;
extern PACKAGE void __fastcall RV_SetPaletteToPicture(Graphics::TGraphic* gr, Windows::PLogPalette PLogPal
	);
extern PACKAGE int __fastcall RV_CopyTag(int SourceTag, bool TagsArePChars);
extern PACKAGE void __fastcall RV_PictureToDevice(Graphics::TCanvas* Canvas, int x, int y, const TRVScreenAndDevice 
	&sad, Graphics::TGraphic* gr, bool ToScreen);
extern PACKAGE AnsiString __fastcall RV_ReplaceTabsA(const AnsiString s, int SpacesInTab);
extern PACKAGE AnsiString __fastcall RV_ReplaceTabsW(const AnsiString s, int SpacesInTab);
extern PACKAGE bool __fastcall RV_CompareTags(int Tag1, int Tag2, bool TagsArePChars);
extern PACKAGE void __fastcall RV_InfoAboutSaD(TRVScreenAndDevice &sad, Graphics::TCanvas* Canvas);
extern PACKAGE AnsiString __fastcall RV_GetHTMLRGBStr(Graphics::TColor Color);
extern PACKAGE bool __fastcall RV_PointInRect(int X, int Y, int Left, int Top, int Width, int Height
	);
extern PACKAGE AnsiString __fastcall RV_GetHTMLPath(const AnsiString Path);
extern PACKAGE Graphics::TGraphic* __fastcall RV_CreateGraphicsDefault(TMetaClass* GraphicClass);
extern PACKAGE void __fastcall RV_AfterImportGraphicDefault(Graphics::TGraphic* Graphic);
extern PACKAGE int __fastcall RV_CharPos(const char * Str, char Chr, int Length);

}	/* namespace Rvfuncs */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Rvfuncs;
#endif
#pragma option pop	// -w-
#pragma option pop	// -Vx

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// RVFuncs
