9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: td@plan9.att.com td@plan9.att.com
Subject: Adding pcdist to CD-ROM file system?
Date: Sun, 10 Dec 1995 14:23:48 -0500	[thread overview]
Message-ID: <19951210192348.8Db5ORoonYGFX96E5ien9XqmpDBdtDvCnti9pxOqLZI@z> (raw)

Luther Huffman, Jr. avers (aside):
>p.s. To whomever designed catclock, I enjoy it. =;-)

It's an X program that I converted to use libg.

Despite the inclusion a polygon scan-converter
(libg doesn't have one), the conversion reduced the
program from several thousand lines to 331 (plus bitmap
data).  The only feature it lost was the alarm.

I should say that the polygon tiler is of extremely high
quality.  It uses only integer arithmetic, handles either
of the common rules for identifying the interior of
non-simply connected polygons, clips in an extremely simple
manner, and guarantees, among other things, that if you cover
a region with a bunch of abutting polygons, it will touch each
pixel exactly once.  There is a comment in the source code
indicating the couple of things I think would have to be done
(none of them difficult) to turn it into a production-quality
library routine.  (Actually, I think it should be in the library
as-is.)






             reply	other threads:[~1995-12-10 19:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-12-10 19:23 td [this message]
  -- strict thread matches above, loose matches on Subject: below --
1995-12-21 22:21 steve
1995-12-11  2:44 Luther
1995-12-10 15:49 jim
1995-12-09 20:34 jim
1995-12-09 17:01 Luther
1995-12-09 15:26 Luther

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19951210192348.8Db5ORoonYGFX96E5ien9XqmpDBdtDvCnti9pxOqLZI@z \
    --to=td@plan9.att.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).