Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Label module with tracking

Post any examples or modules that you want to share here

Label module with tracking

Postby TrojakEW » Thu Jul 04, 2013 5:37 pm

I made customizable label with text tracking ability. I also added few more option like drop shadow (sort off) with adjustable offset, color, opacity and character background (rectangle and/or ellipse behind every character). Nothing extraordinary just quick play with ruby. There is still still a lot of possibilities to improve it with aditional features (like additional shapes for character background). Properties are inside the module for better preview.
Attachments
label_tracking.fsm
(4.27 KiB) Downloaded 1335 times
Last edited by TrojakEW on Thu Jul 04, 2013 11:52 pm, edited 1 time in total.
User avatar
TrojakEW
 
Posts: 111
Joined: Sat Dec 25, 2010 10:12 am
Location: Slovakia

Re: Label module with tracking

Postby RJHollins » Thu Jul 04, 2013 9:49 pm

This is really nice !

I'm starting to rely on RUBY more and more to handle things GUI, and slowly, I'm starting to use 'programming' to do 'conditional' loops ... things like IFTHEN, CASE, etc. The third area deals with text/numerical formating & parsing.

I've a very long way to go, but the flexibility/power of RUBY is a great addition ! 8-)

Thanks for sharing :)
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: Label module with tracking

Postby Nubeat7 » Thu Jul 04, 2013 10:41 pm

Nice one, thanks for sharing!
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: Label module with tracking

Postby TrojakEW » Thu Jul 04, 2013 11:55 pm

I have reuploaded schematic. I forgot to clean up ruby code after experimenting. I have removed unused variables.
User avatar
TrojakEW
 
Posts: 111
Joined: Sat Dec 25, 2010 10:12 am
Location: Slovakia


Return to User Examples

Who is online

Users browsing this forum: Google [Bot] and 75 guests