Article View: comp.sys.mac
Article #14018Re: Thin lines from the LaserWriter
From: David W. Berry
Date: Thu, 01 Jan 1987 04:59
Date: Thu, 01 Jan 1987 04:59
26 lines
1238 bytes
1238 bytes
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
Technical Details
Message-ID:
<2291@well.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-lcc!well!dwbReferences:
<945@husc6.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!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