🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #617

<none>

#617
From: Fransiskus K. Widjanarko
Date: Mon, 28 Sep 1992 17:42
33 lines
1735 bytes
  We are having a problem doing a Graphic application using InterView 2.6.
This is the problem :

  We created a PICTURE which has two subgraphics in it; a CIRCLE and a
LABEL.
The drawings are perfectly fine until we need to APPEND another LABEL inside
the CIRCLE.  The new LABEL for some reason will not go inside the CIRCLE 
(it was shifted away for some offset).
This is the simplified way of how we did the appending :


   for (First(); !AtEnd(); Next()) {   /* go through every PICTURE already
                                          created */
     pict = GetCurrent();
     (pict->First())->GetOriginal(x,y,r);  /* CIRCLE is the FIRST subgraphic
                                             in the PICTURE */
     transformer->Transform(x,y);
     Append(new Label(...));
   }


  Our guess is we are having a problem with the transformer (as we have
to consider both the parent's and child's transformer).
  We would appreciate any help.  We can send more code if that will clear
up the problem.

  We are also wondering if a later version of InterViews (IV 3.0 or 
IV 3.1-Beta) provides a better mechanism for handling this kind of
problem.

  Thanks in advance,
Fransiskus K. Widjanarko   (krisnadi@pmrl.ece.arizona.edu)
Technical Details
Message-ID: <1992Sep28.104231@ece.arizona.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!purdue!news.cs.indiana.edu!arizona.edu!ece.arizona.edu!krisnadi

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!purdue!news.cs.indiana.edu!arizona.edu!ece.arizona.edu!krisnadi
From: krisnadi@ece.arizona.edu (Fransiskus K. Widjanarko)
Newsgroups: comp.windows.interviews
Subject: <none>
Message-ID: <1992Sep28.104231@ece.arizona.edu>
Date: 28 Sep 92 17:42:31 GMT
Reply-To: krisnadi@ece.arizona.edu (Fransiskus K. Widjanarko)
Distribution: world,local
Organization: University of Arizona Dept. of Electrical and Computer Engineering
Lines: 33