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
 ImageEnVect Layers Bring To Top

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
andyhill Posted - Mar 22 2017 : 16:20:35
My ievFront (ImageEnVect) needs to be initialized as my drawing points are larger than the default, I hope this is the correct way:-

ievFront.Proc.ImageResize(1920, 2720);

Now, after initialization I want to add a new layer and brig it to the top (front):-

FrontBodyLayer:= ievFront.LayersAdd;
ievFront.Layers[FrontBodyLayer].Bitmap.Width:= ievFront.IEBitmap.Width;
ievFront.Layers[FrontBodyLayer].Bitmap.Height:= ievFront.IEBitmap.Height;
ievFront.Layers[FrontBodyLayer].Visible:= True;

Please advise how to set ImageEnVect drawing size - thanks in advance.



Andy
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Mar 22 2017 : 21:40:01
Hi Andy

Why not just call:

FrontBodyLayer:= ievFront.LayersAdd( ievFront.IEBitmap.Width, ievFront.IEBitmap.Height );


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com