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

// (DO NOT EDIT: machine generated header) 'RpRenderMetafile.pas' rev: 4.00

#ifndef RpRenderMetafileHPP
#define RpRenderMetafileHPP

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

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

namespace Rprendermetafile
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TRvRenderMetafile;
#pragma pack(push, 4)
class PASCALIMPLEMENTATION TRvRenderMetafile : public Rprendercanvas::TRvRenderCanvas 
{
	typedef Rprendercanvas::TRvRenderCanvas inherited;
	
protected:
	Graphics::TMetafile* FMetafile;
	Graphics::TMetafileCanvas* FMetafileCanvas;
	int FImageDPI;
	bool FEnhanced;
	virtual Graphics::TCanvas* __fastcall GetCanvas(void);
	virtual void __fastcall PageBegin(void);
	virtual void __fastcall PageEnd(void);
	virtual int __fastcall GetXDPI(void);
	virtual int __fastcall GetYDPI(void);
	virtual AnsiString __fastcall GetFileExtension();
	void __fastcall SetEnhanced(bool Value);
	
public:
	__fastcall virtual TRvRenderMetafile(Classes::TComponent* AOwner);
	
__published:
	__property int ImageDPI = {read=FImageDPI, write=FImageDPI, nodefault};
	__property bool Enhanced = {read=FEnhanced, write=SetEnhanced, nodefault};
public:
	#pragma option push -w-inl
	/* TRPRenderStream.Destroy */ inline __fastcall virtual ~TRvRenderMetafile(void) { }
	#pragma option pop
	
};

#pragma pack(pop)

//-- var, const, procedure ---------------------------------------------------

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

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