🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #19104

Desktop Drawing

#19104
From: Tom Carstensen
Date: Mon, 14 Sep 1987 22:34
19 lines
1212 bytes
I wish to implement something functionally like the icons
on the Finders desktop, and I am currently doing it this
way:

    - traversing the list of windows, subtracting each visible
      window's rectangle from the icon rectangles region
      
    - Use this new region as the clip region
    
    - and then drawing the icon on the desk port.

and I do this for each icon.

Does anybody know of a better way to implement such functionality?

:------------------------------------------------------------:
: Tom Carstensen              Usenet: tomc@mntgfx.MENTOR.COM :
: Mentor Graphics             GEnie:                         :
:------------------------------------------------------------:
Technical Details
Message-ID: <917@mntgfx.MENTOR.COM>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!bbn!oberon!bloom-beacon!mit-eddie!uw-beaver!tektronix!sequent!mntgfx!tomc

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!uunet!husc6!bbn!oberon!bloom-beacon!mit-eddie!uw-beaver!tektronix!sequent!mntgfx!tomc
From: tomc@mntgfx.MENTOR.COM (Tom Carstensen)
Newsgroups: comp.sys.mac
Subject: Desktop Drawing
Message-ID: <917@mntgfx.MENTOR.COM>
Date: Mon, 14-Sep-87 18:34:00 EDT
Article-I.D.: mntgfx.917
Posted: Mon Sep 14 18:34:00 1987
Date-Received: Wed, 16-Sep-87 07:00:19 EDT
Organization: Mentor Graphics, Beaverton OR
Lines: 19