Hi Ariane,
Your plan sounds fine. You should be able to embed OMGraphics and
OMGraphicLists inside another OMGraphicList, and then just call the
generate and render methods on the top-level list.
For the segment that is showing up, is it an OMLine in an embedded list?
- Don
On Monday, September 10, 2001, at 01:44 PM, Ariane Schaefer wrote:
> I am trying to draw shapes consisting of some given
> number of arc and line segments. Each shape is stored
> on an OMGraphicsList as an OMGraphicsList, which is in
> turn composed of OMLines representing each segment
> (line or arc) in the shape. If the segment is an arc,
> the OMLine has an arc element to it. The idea is that
> when you move the mouse over one such shape, the whole
> shape can light up and you can get information about
> it. Is this a feasible plan? It sounds good to me but
> doesn't work. The shapes are parsed and
> generateGraphics() is called on them. This creates the
> graphics and puts them in the OMGraphicList.
> Generate() gets called and seems to function ok.
> However, when the graphics are actually drawn to the
> screen, via render(), only the first segment gets
> drawn, whether it is a line or an arc. Is there some
> special way to iterate through this kind of list
> setup? Has anyone else tackled a similar problem?
> Thanks in advance for any help!
>
> KittyHawk
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Donald F. Dietrick, dietrick@bbn.com
BBN Technologies, 10 Moulton Street, Cambridge, MA 02138
617.873.3031 FAX 2794
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Mon Sep 10 14:53:24 2001
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:31 EDT