Simplegraph node with transparent fill? PNG support?

Please post bug reports, feature requests, or any question regarding the DELPHI AREA projects here.

Simplegraph node with transparent fill? PNG support?

Postby HPW » March 6th, 2006, 7:15 am

In sample2.sgp is the ellipse on the right side with the transparent fill.
Is that a metafile? I can only get this with metafiles!
Or is it possible also with bitmaps?

Any plans to add PNG support?
(Or where in the code can I add it ?)
Hans-Peter
HPW
Moderator
Moderator
 
Posts: 238
Joined: February 25th, 2006, 10:19 am
Location: Germany

Postby Kambiz » March 6th, 2006, 10:35 am

The background image is simple a TPicture class, and TPicture class uses TGraphic class. Therefore, any image format that TGraphic supports could be used as the background image of a node.

Also, transparency rules are same as TGraphic.

You can add support for more image formats by GraphicEx library.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm


Return to DELPHI AREA Projects

Who is online

Users browsing this forum: No registered users and 4 guests

cron