Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!munnari.oz.au!uniwa!fennel.cc.uwa.oz.au!a_dent From: a_dent@fennel.cc.uwa.oz.au Newsgroups: comp.sys.mac.programmer Subject: Re: Problems with SetLineWidth Message-ID: <1990Nov10.213656.2583@fennel.cc.uwa.oz.au> Date: 10 Nov 90 13:36:56 GMT References: <1990Nov5.203354.14090@wam.umd.edu> <11125@goofy.Apple.COM> Organization: University of Western Australia Lines: 46 In article <11125@goofy.Apple.COM>, sean_parent.snarkmail_l_z@gateway.qm.apple.com (Sean Parent) writes: > 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. If this is a multiplication then does a setLineWidth of 1 actually achieve nothing??? I have tried seLineWidth of half then one thinking that would reset but had problems similar to those described (I put them down to the printer!). If I want to change line width to half point and back should I use: SetLineWidth(half) draw my line Pensize(1,1) OR SetLineWidth(half) draw my line SetLineWidth(one) Pensize(1,1) OR SetLineWidth(half) draw my line SetLineWidth(one) Andy Dent A.D. Software phone 09 249 2719 Mac & VAX programmer 94 Bermuda Dve, Ballajura a_dent@fennel.cc.uwa.oz Western Australia 6066 a_dent@fennel.cc.uwa.oz.AU (international)