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
 text outline/border

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
gts6 Posted - Apr 04 2013 : 17:15:58
anyone know how to make text appear with a border around only the letters?

i am using imageEnVect, objkind is iekTEXT.

nothing seems to work. i know i can normally accomplish this without imageEn by using beginpath/endpath/strokepath to outline the text.

but how can this be done with imageEnVect?
9   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Mar 11 2024 : 14:40:10
Hi

This is available for TIETextLayer:

http://www.imageen.com/help/TIETextLayer.TextStyling.html

It is not available for the legacy TImageEnVect iekTEXT object, but you can add a TIETextLayer to a TImageEnVect.


Nigel
Xequte Software
www.imageen.com
graph_man Posted - Mar 11 2024 : 12:57:26
do you know if it will be available in the next version?
gts6 Posted - Apr 07 2013 : 13:00:21
excellent idea (the use of an outline font!)

thanks for your help
w2m Posted - Apr 07 2013 : 12:58:51
You can use some Windows Outline fonts... I just tested this and it works just fine.

With respect to new features, you will have to contact support. I do not work for ImageEn.

William Miller
gts6 Posted - Apr 07 2013 : 12:34:52
ok thanks, do you know if it will be available in the next version?
gts6 Posted - Apr 07 2013 : 12:31:19
maybe i should re-word that. im looking to do more of an 'outline' and not really a border. want an outline of each letter.
w2m Posted - Apr 07 2013 : 11:18:07
Sorry... that is not possible with current version.

William Miller
gts6 Posted - Apr 07 2013 : 10:40:10
that only puts the border around the rectangle of the text, what im trying to do is put the border around each individual letter, know what i mean. Like a white letter 'T' for example, and a black border around the white letter 'T'
w2m Posted - Apr 07 2013 : 09:12:12
To have a border visible with a iekTEXT object you have to set the PenColor and PenWidth:

procedure TForm1.PenColor1Change(Sender: TObject);
var
  i: integer;
  hObj: integer;
begin
  with ImageEnVect1 do
    for i := -1 to SelObjectsCount - 1 do
    begin
      if i >= 0 then
      begin
        ObjSaveUndo;
        hObj := SelObjects[i];
        ObjPenColor[hobj] := PenColor1.Selected;
      end;
      Update;
    end;
end;

procedure TForm1.PenWidth1Change(Sender: TObject);
var
  i: integer;
  hObj: integer;
begin
  with ImageEnVect1 do
    for i := -1 to SelObjectsCount - 1 do
    begin
      if i >= 0 then
      begin
        ObjSaveUndo;
        hObj := SelObjects[i];
        ObjPenWidth[hObj] := StrToIntDef(PenWidth1.Text, 1);
      end;
      Update;
    end;
end;

William Miller
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html