which grob?
|
11-16-2015, 10:46 PM
Post: #1
|
|||
|
|||
which grob?
In the following program
export spin () begin Rect_P (); <--- who does this clear.? CHOOSE (...); <--- where does this draw TEXTOUT_P("hello",0,0); <-- where does this draw while 1 do end; end; What grob am i writing to.? if i break out i return to the starting screen. The choose box opens on top of the starting screen which is untouched. What exactly is the graphics paradigm here? I work with android Prime only for now on my Galaxy Tab Pro/Note 2 |
|||
11-17-2015, 12:29 AM
Post: #2
|
|||
|
|||
RE: which grob?
Rect_P() clears G0
Choose() does not store anything to a GROB it only displays a menu TextOut_P("hello",0,0) outputs hello at 0,0 on G0 Experiment! if you don't know test it out |
|||
11-17-2015, 12:36 AM
Post: #3
|
|||
|
|||
RE: which grob?
(11-16-2015 10:46 PM)ji3m Wrote: In the following program Type: RECT_P and with the cursor somewhere in that command name, press the help key for all the information on that command. But to answer your question, when no graphics object is specified, the default G0 (current display) is always used. Graph 3D | QPI | SolveSys |
|||
11-17-2015, 12:57 AM
Post: #4
|
|||
|
|||
RE: which grob?
Are the home screen and the cas screen grobs?
if so what number? I certaintly have looked at the help screens but ... I work with android Prime only for now on my Galaxy Tab Pro/Note 2 |
|||
11-17-2015, 03:52 AM
Post: #5
|
|||
|
|||
RE: which grob?
(11-17-2015 12:57 AM)ji3m Wrote: Are the home screen and the cas screen grobs? G0 is the "current" display, so it could be the home or cas, depending where you are. My website: ried.cl |
|||
11-17-2015, 06:25 AM
Post: #6
|
|||
|
|||
RE: which grob?
Hello,
G0 is the 'desktop', it is the current display framebuffer... G0 is the default graphic for all graphical operations (if none is specified)... Choose will of course display on the desktop, BUT since Choose is a 'window' control, executing it will cause a display of the whole desktop (not only the Choose), so any drawing that you might have done BEFORE doing the choose on G0 will be erased at this point... Please note the Freeze command, which can freeze the display after the end of the execution of a program until a key is pressed. Cyrille Although I work for the HP calculator group, the views and opinions I post here are my own. I do not speak for HP. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)