Author Topic: CopyRect that supports alpha  (Read 1490 times)

Offline arthurprs

  • Imaging User
  • *
  • Posts: 17
    • View Profile
CopyRect that supports alpha
« 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.

Offline Galfar

  • Administrator
  • Imaging User
  • *****
  • Posts: 312
    • View Profile
    • Galfar's Homepage
Re: CopyRect that supports alpha
« Reply #1 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(..)).