Post Reply 
Image/ sketch in program
05-18-2023, 05:21 PM (This post was last modified: 05-18-2023 05:33 PM by Amer7.)
Post: #7
RE: Image/ sketch in program
(05-17-2023 07:27 PM)matalog Wrote:  I'm not sure what you are asking or saying really.

It will definitely help to read the section of the manual that I suggested.

Another thing that the manual mentions is TEXTOUT_P() which will let you print text on top of the image, or just below it, so that the both things can be displayed at once.

EXPORT tacka()
BEGIN
LOCAL xa,ya,xb,yb,xc,yc,red,green;
red:=RGB(255,0,0);


xa:=40.123; ---- POINT COORDINATES
ya:=120.12;
xb:=70.123;
yb:=142.123;
xc:=150.123;
yc:=200.444;

PRINT("yc="+yc); ----- PRINT OUT IN TERMINAL POINT COORDINATES
PRINT("xc="+xc);
WAIT(-1); ----- This will make terminal screen wait untill you press or move your finger on touch screen
RECT() ----- This will make all of your screen white background
PIXON_P(xb,yb,red); ----- This draws a point on the screen, in red color

/

PIXON_P(xc,yc,red);
WAIT(-1); ----- It will stay on the display( point drawing untill you press anything )
END;


Now whoever does geodesy he will know that most coordinates are six figures
meaning
y= 6 543 543,123m
x=4 523 456,124m

Hp prime cant draw this, it has reach of screen pixel size. Next would be to make a loop to autmatically divide the coordinates so they could fit the screen size.
like while y/10>320 repeat etc.


-My new question is. How can I make the pixel dimension thicker- Maybe draw a rectangle aroud it?
Is there some way i could automatically draw a line between two points?
The drawing in the end is a triangular network. Ie. triangle network with 4 points
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Image/ sketch in program - Amer7 - 05-10-2023, 10:25 AM
RE: Image/ sketch in program - matalog - 05-10-2023, 03:36 PM
RE: Image/ sketch in program - Amer7 - 05-15-2023, 10:34 AM
RE: Image/ sketch in program - Amer7 - 05-17-2023, 11:30 AM
RE: Image/ sketch in program - matalog - 05-17-2023, 07:28 PM
RE: Image/ sketch in program - matalog - 05-17-2023, 07:27 PM
RE: Image/ sketch in program - Amer7 - 05-18-2023 05:21 PM
RE: Image/ sketch in program - matalog - 05-18-2023, 10:10 PM
RE: Image/ sketch in program - Amer7 - 05-24-2023, 08:03 PM
RE: Image/ sketch in program - matalog - 05-24-2023, 10:24 PM
RE: Image/ sketch in program - Amer7 - 05-25-2023, 11:18 AM
RE: Image/ sketch in program - matalog - 05-25-2023, 12:37 PM



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