Vampyre Imaging Library Forum

Imaging Category => Suggestions, Feature Requests, Contributions => Topic started by: arthurprs on 6 December 2008, 14:46:05

Title: CopyRect that supports alpha
Post by: arthurprs on 6 December 2008, 14:46:05
current CopyRect don't support alpha, i have to create 2 canvas for a simple watermark draw,

a "CopyRectWithAlpha" would be great.


Arthur.
Title: Re: CopyRect that supports alpha
Post by: Galfar on 7 December 2008, 02:35:57
CopyRectWithAlpha would just create those 2 canvases, but then it couldn't be in
Imaging.pas unit as CopyRect is, because this unit shouldn't use ImagingCanvases unit.
I'll probably create some descendants of TBaseImage with canvas automatically created for them
(like in VCL/LCL where you can write Image.Canvas.Draw(..)).