// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'RpRenderJPEG.pas' rev: 6.00

#ifndef RpRenderJPEGHPP
#define RpRenderJPEGHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <RpRender.hpp>	// Pascal unit
#include <jpeg.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 Rprenderjpeg
{
//-- type declarations -------------------------------------------------------
typedef Shortint TCompressionQualityRange;

class DELPHICLASS TRvRenderJpeg;
class PASCALIMPLEMENTATION TRvRenderJpeg : public Rprendercanvas::TRvRenderCanvas 
{
	typedef Rprendercanvas::TRvRenderCanvas inherited;
	
protected:
	Graphics::TBitmap* FBitmap;
	Jpeg::TJPEGImage* FJPEG;
	int FImageDPI;
	TCompressionQualityRange FCompressionQuality;
	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);
	
public:
	__fastcall virtual TRvRenderJpeg(Classes::TComponent* AOwner);
	
__published:
	__property int ImageDPI = {read=FImageDPI, write=FImageDPI, nodefault};
	__property TCompressionQualityRange CompressionQuality = {read=FCompressionQuality, write=FCompressionQuality, nodefault};
public:
	#pragma option push -w-inl
	/* TRPRenderStream.Destroy */ inline __fastcall virtual ~TRvRenderJpeg(void) { }
	#pragma option pop
	
};


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

}	/* namespace Rprenderjpeg */
using namespace Rprenderjpeg;
#pragma option pop	// -w-
#pragma option pop	// -Vx

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