Quantcast

[ repast-Bugs-1291503 ] the prolbem of displaying a large bitmap

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[ repast-Bugs-1291503 ] the prolbem of displaying a large bitmap

SourceForge.net
Bugs item #1291503, was opened at 2005-09-14 17:37
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=101703&aid=1291503&group_id=1703

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: the prolbem of  displaying a large bitmap

Initial Comment:
I encounter some problem when i used
the "uchicago.src.sim.space.Object2DGrid". i hope i
could find some help here.
i wonder if there any limitatins for the size of an
spaceobject -"Object2DGrid" ?
  The concerned codes is as follows:

  public class MyModel : SimpleModel
  {  
   //Initialization
        private Object2DGrid world;
        private int worldXSize=6500;
        private int worldYSize=2;
    private DisplaySurface displaySurface;
   
    //Display the "world"
        world=new Object2DGrid
(worldXSize,worldYSize);
        displaySurface = new DisplaySurface
(this,this.Name);
        Object2DDisplay agentDisplay =new
Object2DDisplay(world);
        displaySurface.addDisplayable
(agentDisplay,"Agents ");
        }
 
      when i set the  worldXSize larger than  about
6500 ,the program will throw an
exception  "System.ArgumentException?in
"system.windows.forms.dll".
       the system i used is: Repast.net (in repast 3.0
suite)+vs.net 2003+ win Xp(sp2).


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=101703&aid=1291503&group_id=1703


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Repast-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-developer
Loading...