HP 48GX - Center Text in the Display Area
|
09-03-2023, 03:27 PM
(This post was last modified: 09-03-2023 08:59 PM by Giuseppe Donnini.)
Post: #8
|
|||
|
|||
RE: HP 48GX - Center Text in the Display Area
In my demo, I used the graphics screen (PICT) as a quick means to show the final picture, because, in User RPL, graphics objects can only be pasted directly into PICT, not into the text screen (TEXT). However, if you want to use the DISP command together with pixel-precise methods, I would suggest using the text screen, which has the additional advantage of not disturbing a plot or other picture currently in PICT.
Since User RPL does not allow us to paste single graphics objects directly into the text screen, we have to use the following strategy: 1. Use DISP to put the different text elements on the text screen, except for those elements that need pixel-precise positioning. 2. Use LCD\-> to put a copy of the current text screen on the stack. 3. Use \->GROB to convert the remaining text elements (those needing pixel-precise treatment) to graphics objects. 4. Use REPL to paste them into the (copy of the) text screen. 5. Use \->LCD (together with FREEZE) to put everything back and display the result. For instance: Code:
|
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
HP 48GX - Center Text in the Display Area - MNH - 08-27-2023, 04:48 PM
RE: HP 48GX - Center Text in the Display Area - Giuseppe Donnini - 08-27-2023, 08:41 PM
RE: HP 48GX - Center Text in the Display Area - MNH - 08-27-2023, 09:52 PM
RE: HP 48GX - Center Text in the Display Area - MNH - 08-30-2023, 02:13 AM
RE: HP 48GX - Center Text in the Display Area - MNH - 09-02-2023, 04:55 PM
RE: HP 48GX - Center Text in the Display Area - DavidM - 09-03-2023, 12:57 PM
RE: HP 48GX - Center Text in the Display Area - MNH - 09-03-2023, 07:27 PM
RE: HP 48GX - Center Text in the Display Area - Matt Agajanian - 09-03-2023, 02:17 PM
RE: HP 48GX - Center Text in the Display Area - rprosperi - 09-03-2023, 04:48 PM
RE: HP 48GX - Center Text in the Display Area - Giuseppe Donnini - 09-03-2023 03:27 PM
RE: HP 48GX - Center Text in the Display Area - MNH - 09-03-2023, 07:43 PM
|
User(s) browsing this thread: 1 Guest(s)