[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Raster and ZoomRaster
From: |
Benedikt Stefansson |
Subject: |
Re: Raster and ZoomRaster |
Date: |
Sat, 18 Apr 1998 01:51:52 +0200 |
Pietro Terna wrote:
> Hi all,
>
> in the same application, if I change
>
> id <ZoomRaster> consumerRaster
> into
> id <Raster> consumerRaster
>
> to handle a non square widget (displaying a Discrete2D object), colors
> disappear from the window and I obtain only black or white pixels.
>
> Thanks for any help, Pietro
Sorry that I can't help you with your problem Pietro, but for what it's worth
I just replicated the bug in Heatbugs, by substituting Raster for ZoomRaster in
HeatbugsObserverSwarm, and taking out the "setZoomFactor" when the worldRaster
is
created. The worldRaster now either stays black or displays a fuzzy pattern of
white, yellow and read colored pixels in one region.
Weird bug - since all that ZoomRaster does to draw pixels or refresh itself is
to
call code in it's superclass, i.e. Raster. So if an instance of ZoomRaster
works, why wouldn't an instance of Raster?
--
With best regards,
-Benedikt
-------------------------------------------------------------------
Department of Economics, UCLA, Los Angeles, CA 90095-1477, USA
Tel: (310) 825 4126 Fax: (310) 825 9528
4/3-7/1 1998:
Dipartimento di Economia, Universita di Trento, 38100 Trento, ITALY
Tel: +39 (461) 88 22 46 Fax: +39 (461) 88 22 22
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.
==================================