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

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

#ifndef PJBitmapHPP
#define PJBitmapHPP

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

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

namespace Pjbitmap
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TCustomBitmapPrintJob;
class PASCALIMPLEMENTATION TCustomBitmapPrintJob : public Psjob::TCustomPrintJob 
{
	typedef Psjob::TCustomPrintJob inherited;
	
private:
	Graphics::TBitmap* FBitmap;
	Psjob::TStretchMode FStretchMode;
	Psjob::TAlignVertical FAlignVertical;
	Psjob::TAlignHorizontal FAlignHorizontal;
	void __fastcall SetStretchMode(const Psjob::TStretchMode Value);
	void __fastcall SetAlignVertical(const Psjob::TAlignVertical Value);
	void __fastcall SetAlignHorizontal(const Psjob::TAlignHorizontal Value);
	
protected:
	void __fastcall ClearBitmap(void);
	
public:
	__fastcall virtual TCustomBitmapPrintJob(Classes::TComponent* AOwner);
	__fastcall virtual ~TCustomBitmapPrintJob(void);
	virtual void __fastcall DrawArea(Graphics::TCanvas* TheCanvas, int PageIndex, const Windows::TRect 
		&Rect, Psjob::TDrawArea Area, Psjob::TDrawTarget Target);
	virtual void __fastcall GetBitmap(const Graphics::TBitmap* Bitmap) = 0 ;
	void __fastcall UpdateBitmap(void);
	__property Psjob::TStretchMode StretchMode = {read=FStretchMode, write=SetStretchMode, nodefault};
	__property Psjob::TAlignVertical AlignVertical = {read=FAlignVertical, write=SetAlignVertical, nodefault
		};
	__property Psjob::TAlignHorizontal AlignHorizontal = {read=FAlignHorizontal, write=SetAlignHorizontal
		, nodefault};
};


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

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

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