Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!seismo!lll-lcc!well!dwb
From: dwb@well.UUCP (David W. Berry)
Newsgroups: comp.sys.mac
Subject: Re: Thin lines from the LaserWriter
Message-ID: <2291@well.UUCP>
Date: Wed, 31-Dec-86 23:59:00 EST
Article-I.D.: well.2291
Posted: Wed Dec 31 23:59:00 1986
Date-Received: Thu, 1-Jan-87 18:37:32 EST
References: <945@husc6.UUCP>
Reply-To: dwb@well.UUCP (David W. Berry)
Organization: Whole Earth Lectronic Link, Sausalito CA
Lines: 26

The easies way I can think of is to compile the graph into a picture
using an offscreen bitmap and a bounds that is four times (on a side
as large as your normal printing area.  Then print the picture to the
laserwriter with a page size rectangle.  Ie.

	AllocateBitMap(&bitmap, 0, 0, PAGEWIDE * 4, PAGELEN * 4);
	OpenPort(&offscreen);
	SetPortBits(&bitmap);
	pict = OpenPicture(&bitmap.bounds);
	MoveTo(45, 45);
	LineTo(300, 300);
	ClosePicture();

	PrOpenPage(...);
	SetRect(&rect, 0, 0, PAGEWIDE, PAGELEN);
	DrawPicture(pict, &rect);
	PrClosePage(...);

Hope this helps,


	
-- 
	David W. Berry
	dwb@well.uucp                   dwb@Delphi
	dwb@GEnie                       293-0752@408.MaBell