Post Reply 
GROBW/GROBH vs GROBW_P/GROBH_P
10-11-2018, 12:08 AM (This post was last modified: 10-11-2018 12:12 AM by Didier Lachieze.)
Post: #2
RE: GROBW/GROBH vs GROBW_P/GROBH_P
As explained in the manual (and the on-calc help) under Drawing:

Quote:There are two identical sets of functions that can be used to modify graphic variables. The first set of them work based on Cartesian coordinates using the Cartesian plane defined in the current app by the variables Xmin, Xmax, Ymin, and Ymax in the Plot setup. The rest work on absolute pixel references based on the physical display of the HP Prime. For these functions, (0,0) is the top left pixel of the GROB, and (320,1240) is the bottom right. This second set of functions—those that work with pixels—have a _P suffix attached to their name, as in ARC_P and LINE_P.

So GROBH and GROBW return cartesian dimensions, not pixel dimensions as GROBH_P and GROBW_P.

For example, compare {GROBW_P,GROBH_P} with C→PX(GROBW/2,-GROBH/2)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
GROBW/GROBH vs GROBW_P/GROBH_P - sasa - 10-10-2018, 11:27 PM
RE: GROBW/GROBH vs GROBW_P/GROBH_P - Didier Lachieze - 10-11-2018 12:08 AM
RE: GROBW/GROBH vs GROBW_P/GROBH_P - sasa - 10-11-2018, 02:34 AM
RE: GROBW/GROBH vs GROBW_P/GROBH_P - sasa - 10-11-2018, 01:27 PM
RE: GROBW/GROBH vs GROBW_P/GROBH_P - sasa - 10-11-2018, 07:34 PM
RE: GROBW/GROBH vs GROBW_P/GROBH_P - sasa - 10-11-2018, 12:52 PM
RE: GROBW/GROBH vs GROBW_P/GROBH_P - sasa - 10-12-2018, 06:46 AM



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