//----------------------------------------------------------------------------
// RVFuncs.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
// From: RVFuncs.pas
//----------------------------------------------------------------------------
#ifndef RVFuncsHPP
#define RVFuncsHPP
//----------------------------------------------------------------------------
#include <Graphics.hpp>
#include <Classes.hpp>
#include <Windows.hpp>
#include <SysUtils.hpp>
#include <System.hpp>
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)(System::TMetaClass* GraphicClass
	);

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

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

}	/* namespace Rvfuncs */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Rvfuncs;
#endif
//-- end unit ----------------------------------------------------------------
#endif	// RVFuncs
