|
From: SourceForge.net <no...@so...> - 2005-09-15 00:37:19
|
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.ArgumentExceptionin "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 |