🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #1484

Unidraw composite objects problem

#1484
From: Thomas Mohr
Date: Mon, 17 Jun 1991 20:09
22 lines
1596 bytes
I am using Unidraw with 3.0beta.

1) I found that GraphicComps does Picture::Append() during 
   GraphicComps::Append(); with the picture=graphic supplied
   to the constructor. Am I right that the application should *not*
   call Picture::Append() with the graphics he wants to
   have composed ? Instead, should he provide an empty Picture
   to the GraphicComps constructor ?

2) I have a GraphicComps with some GraphicComp inserted. I now want
   a command to change the position of one of the subgraphics. What
   I do right now is finding the Graphic and do a Translate() with it.
   I've tried some possibilities of informing Subjects and Views about
   the change. However, the output looks wierd, the positions are
   wrong. BUT: Cut & Paste gives me what I wanted to have: the
   subgraphics are well arranged. 

Any help is very appreciated !

------------------------------------------
Thomas Mohr         mohr@i90fs1.ira.uka.de
------------------------------------------
Technical Details
Message-ID: <1991Jun17.200910.7108@ira.uka.de>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!samsung!uunet!mcsun!unido!ira.uka.de!i90fs1!mohr

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!samsung!uunet!mcsun!unido!ira.uka.de!i90fs1!mohr
From: mohr@i90s1.ira.uka.de (Thomas Mohr)
Newsgroups: comp.windows.interviews
Subject: Unidraw composite objects problem
Keywords: Unidraw, InterViews, Damage, Composite Objects
Message-ID: <1991Jun17.200910.7108@ira.uka.de>
Date: 17 Jun 91 20:09:10 GMT
Sender: news@ira.uka.de (USENET News System)
Reply-To: mohr@i90s1.ira.uka.de (Thomas Mohr)
Followup-To: comp.windows.interviews
Distribution: comp
Organization: University of Karlsruhe, FRG
Lines: 22