Author Topic: Text on image tile (DCL) How to improve  (Read 1803 times)

0 Members and 1 Guest are viewing this topic.

kruuger

  • Swamp Rat
  • Posts: 637
Text on image tile (DCL) How to improve
« on: March 26, 2013, 07:16:21 AM »
hello
i'm tryin to wrote on image dcl tile. so far i was able to add justification (1-TL, 2-TM, 3-TR, 4-ML ... 9-BR).
now i'm stuck with rotation. i want to add option to rotate text: 0, 90, 180, 270 deg.

any trick how to achieve this? any improvements to code are welcome.
font is Courier New 10pt (sign size is 8px x 14px)

thanks
kruuger

EDIT: added library file IF something is missing
« Last Edit: March 26, 2013, 08:20:18 AM by kruuger »

zoltan

  • Guest
Re: Text on image tile (DCL) How to improve
« Reply #1 on: May 03, 2013, 04:40:20 PM »
Here is a solution for this that i did a few years ago.

http://www.theswamp.org/index.php?topic=8916.msg116436#msg116436

Lee Mac

  • Seagull
  • Posts: 12928
  • London, England
Re: Text on image tile (DCL) How to improve
« Reply #2 on: May 03, 2013, 08:07:55 PM »
Hi kruuger,

I must've missed this thread the first time  :-P

Load my GrText function and try the attached program  8-)

Cheers,

Lee

P.S. Impressive work zoltan :kewl:

kruuger

  • Swamp Rat
  • Posts: 637
Re: Text on image tile (DCL) How to improve
« Reply #3 on: May 04, 2013, 09:26:54 AM »
zoltan very cool :) need to go thru your program to see how it works

Lee as always, very good example. need to study.

thank you
kruuger

Lee Mac

  • Seagull
  • Posts: 12928
  • London, England
Re: Text on image tile (DCL) How to improve
« Reply #4 on: May 04, 2013, 10:54:57 AM »
You're welcome kruuger  :-)