Path: utzoo!attcan!uunet!zaphod.mps.ohio-state.edu!usc!apple!gateway.qm.apple.com!sean_parent.snarkmail_l_z From: sean_parent.snarkmail_l_z@gateway.qm.apple.com (Sean Parent) Newsgroups: comp.sys.mac.programmer Subject: Re: Problems with SetLineWidth Message-ID: <11125@goofy.Apple.COM> Date: 6 Nov 90 00:54:39 GMT References: <1990Nov5.203354.14090@wam.umd.edu> Sender: usenet@Apple.COM Organization: Apple Computer, Inc. Lines: 21 In article <1990Nov5.203354.14090@wam.umd.edu> nebel@wam.umd.edu (Chris D. Nebel) writes: > I'm having extreme problems with the SetLineWidth piccomment. Though the > tech notes claim otherwise, the scaling factor I send seems to be cumulative. > I.e., if I send several SetLineWidth(1/2), PenSize(1, 1) Line sequences in > a row (which should give a series of 1/2 point lines), I actually get a > set of progressively thinner lines. The SetLineWidth comment would be better named MultiplyPenScaleFactorByRatio since what you describe is exactly what it does. There is one problem with this. The LaserWriter SC driver also implements the SetLineWidth comment only it really sets the pen scale factor (instead of multiplying by the scale factor). I do not know of any way to work around this short of special casing for the LaserWriter SC (any new drivers under the new printing architecture will multiply the pen scale factor by the ratio). Sean Parent "Quality unattainable in a reasonable amount of time."