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
 Canvas or IECanvas ?

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
graph_man Posted - May 11 2023 : 15:04:16
IEBitmap->Canvas
or
IEBitmap->IECanvas

What is better to use and why?
4   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - May 17 2023 : 05:25:33
GDI+ does not support all the functionality of TCanvas, such as PolyBezier and CopyMode.

For Pixels, use TIEBitmap.Pixels[]

https://www.imageen.com/help/TIEBitmap.Pixels.html


For FloodFill, you can use TImageEnProc.CastColor:

https://www.imageen.com/help/TImageEnProc.CastColor.html

Nigel
Xequte Software
www.imageen.com
graph_man Posted - May 17 2023 : 04:58:43
I began to change TCanvas to TIECanvas in the program and ran into a problem that they are not fully compatible.

For example TIECanvas does not work with
PolyBezier
Pixels
CopyMode
FloodFill
etc.

Could this be fixed?
graph_man Posted - May 12 2023 : 03:59:09
Thanks
xequte Posted - May 11 2023 : 23:30:53
Hi

Canvas is a standard VCL TCanvas.

TIECanvas is a GDI+ based canvas:

https://www.imageen.com/help/TIECanvas.html

Use TIECanvas whenever you can because it supports newer features, like anti-aliasing and advanced text drawing.

Nigel
Xequte Software
www.imageen.com