December 2016


Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sean Luke <[log in to unmask]>
Reply To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Sun, 18 Dec 2016 21:07:22 -0500
text/plain (10 lines)
On Dec 18, 2016, at 1:42 PM, Marshall <[log in to unmask]> wrote:

> Iím displaying an ObjectGrid2D using an ObjectGridPortrayal2D.  I tried turning on the border with setBorder(true), and what Iím getting is a upper border line that extends infinitely to the right, and a left border line that extends infinitely down, but no right or bottom border lines.  I can see where the right and bottom borders should go because I can see where the agents are present/not present.  If I turn on grid lines, they show where the grid portrayal ends as well.  

This is a *bad* time for me to be looking at this, as I'm leaving for Italy on sabbatical in three days.  :-(  But it sounds to me like in fact you're getting a border line on the right and bottom, but it's *just* beyond the window.  Alternatively, it could be that for some reason info.draw.width and info.draw.height are set to absurdly large values (the drawBorder code looks just fine).  Neither of these things make sense though.   

Could you put together a _minimal_ example of the problem?  I might be able to look at it on the plane.  Also what happens when you do drawGrid -- does the grid get drawn properly?  It should be simple to fix, but time is tight.