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
 Loading SVG images as Layers

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
PeterPanino Posted - Nov 24 2023 : 17:04:50
The ImageEn version 13 is fantastic! For me, one of the most exciting features of this new version is the ability to load SVG images as layers using Vcl.Skia in Delphi 12.

In this context: I also need to programmatically create a Layer by assigning SVG XML text to the created Layer at run-time (instead of loading it from a file). Is this possible? Specifically, how to create an SVG Image Layer at run-time (and automatically center it in the TImageEnView)? And how can we access the SVG XML text of a layer at runtime without the intermediate step via an SVG XML file?

I've done it now with ImageEnView1.IO.ImportFromStreamSVG(fs):

attach/PeterPanino/202311253022_ImageEnCreateSVG.zip
80.34 KB
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Nov 26 2023 : 00:12:53
Yes, that is the correct way.

Nigel
Xequte Software
www.imageen.com