Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HPlotJa, questions, comments and suggestions
03-23-2011, 01:14 PM
Post: #1
HPlotJa, questions, comments and suggestions
Hello, Marc-Antoine,

Quote:-Is there a difference between the 2 methods: add(JaObject ob) and draw(JaObject jo), which seem to have the same effect (adding a JaObject in the frame)? See the example below.

the design goal of the method "add()" is to add objects to the list of objects without drawing them.
One can draw all objects at once after calling the "update". This should speed up the code in case of many objects. The method "draw" adds an object to the list and calls "update()". At least, this is the way how it works for HPlot. It is possible that canvas resizing with the mouse also triggers canvas update in case HPlotJa.

cheers
Find all posts by this user
Quote this message in a reply
03-25-2011, 10:53 AM
Post: #2
HPlotJa, questions, comments and suggestions
It seems all the above discussed problems with HPlotJa canvas have been fixed and
jhepwork-2.8.zip was uploaded again.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)