ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 how can i draw a Outerlined text?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
stkwon Posted - Jan 08 2018 : 12:36:26
i want draw a outline text with TImageEnVect?

like a this picture..



2   L A T E S T    R E P L I E S    (Newest First)
spetric Posted - Jan 09 2018 : 15:24:11
Hi,

As Nigel said, currently there is no easy way to do it, but there is
a workaround. It's not elegant, but I use it when I want to draw
strokes around selection.

1. Render your text on some ImageEnVect (it can be hidden). Use let's say white background with black text.
2. Programmatically use magic wand selection (with global option) and select
a point inside one letter.
3. Collect selection points and create polylines and you have outlined letters.
You can then transfer polylines to another (visible) ImageEnVect.

In my case, I draw a brush stroke around selection (actually through polylines points):



If you want, I can post a code on how to create polylines from selection points (C++). Of course, the real stuff would be to make this process automated without rendering text to some hidden ImageEnVect.

HTH,
Siniša
xequte Posted - Jan 08 2018 : 18:05:45
I'm afraid there is no easy way to do this at present.


Nigel
Xequte Software
www.imageen.com