Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!ucsfcgl!pixar!flip From: flip@pixar.uucp (Flip Phillips) Newsgroups: comp.graphics Subject: Re: Multi-width Brezenham lines Keywords: Brezenham, line, vector, walk Message-ID: <7439@pixar.UUCP> Date: 26 Oct 89 16:42:02 GMT References: <4162@deimos.cis.ksu.edu> <19697@versatc.versatec.COM> Sender: news@pixar.UUCP Reply-To: flip@pixar.uucp (Flip Phillips) Organization: Pixar -- Marin County, California Lines: 19 In article <19697@versatc.versatec.COM> ritter@versatc.versatec.COM (Jack Ritter) writes: :In article <4162@deimos.cis.ksu.edu>, neil@calvin.ksu.ksu.edu (Neil Erdwien) writes: :> I'm looking for references/ideas for implementing a variable-width :> version of Bresenham's algorithm for quantising line segments. :> -- [...] well, if you want to do it "right" one approach is the following, generate the bresenham points on the line, use them as centers for drawing properly filtered disks (circles) at each point. depending on the filter you can have a variety of line types, from a soft, felt-tipped pen look, to a hard edged thing... we here at pixar are big fans of properly filtering things... Flip Phillips {sun | ucbvax}!pixar!flip Pixar - Marin County, California "Below the light, in the black lake, the mad smelts run. The wet net waits. Be careful little smelts."