Post Reply 
can you add text to a 3D drawing in a program
02-13-2023, 12:37 AM (This post was last modified: 02-13-2023 12:41 AM by Dougggg.)
Post: #2
RE: can you add text to a 3D drawing in a program
if you know the angle of the line you could use this to rotate the text


ATEXT (SS,XX,YY,ZZ)
BEGIN
DIMGROB_P(G1,83,12,RGB(255,255,255));
TEXTOUT_P(SS,G1,10,1,1,RGB(0,0,0));
ROTATE(G1,-ZZ);
BLIT_P(G0,{XX,YY},G1);
ROTATE(G1,ZZ);
END;

it puts the text in G1 and rotates it to angle (ZZ) and uses blit to put it in the g0

what i used it for -ZZ worked but you can experiment, I just needed Veritcal text
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: can you add text to a 3D drawing in a program - Dougggg - 02-13-2023 12:37 AM



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