Graeme Geldenhuys wrote:
Hi,


On 9/2/06, Giuliano Colla <[EMAIL PROTECTED]> wrote:

The TBitmap.Draw method bluntly ignores the Canvas CopyMode, and forces
a fixed SRCCOPY.

I noticed because I have a nice TGauge component (derived from old
Delphi examples) which uses cmBlackness and cmSrcInvert to provide a
transparency effect, and which was getting painted just as a black box.



I have noticed the same thing, and also derived it from the Kylix code
which I bought.  Due to licensing, I scrapped the code, and rewrote
the whole thing, without looking at Kylix code again, so licensing
shouldn't be a problem with mine.

I can share/contribute the code if anybody is interrested.  It
currently does a Horizontal progress (with percentage shown as text)
and a Dial (speedo meter) gauge.

In any case we can put it in the Lazarus Code and Components Repository:
http://wiki.lazarus.freepascal.org/Components_and_Code_examples

The procedure is simple:
* Create a wiki page for your component, more or less like http://wiki.lazarus.freepascal.org/TAChart * Add a link to it on http://wiki.lazarus.freepascal.org/Components_and_Code_examples
* Send me a source.zip, so I can upload it to sourceforge.

Vincent

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to