TsAlphaImageList masking error

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #59616
    Support
    Keymaster

      Please, look this message: http://www.alphaskins.com/forum/index.php?showtopic=10363&view=findpost&p=54041

      I think, this is a same issue.

      #59622
      SzakiLaci
      Participant

        – Yes, it seems to be the same issue. :a1:

        – It appears, VirtualTree does not supports properly 8-bit alpha channels at all.

        – But how can it be, that there was no such problems with version with AC v14.19 ?

        – Can you recommend a line of code that circumvents the problem?

        (I'm thinking about: overriding VTV's paint procedure by calling YOURS!)

        Code:
        procedure TBaseVirtualTree.PaintImage(var PaintInfo: TVTPaintInfo; ImageInfoIndex: TVTImageInfoIndex; DoOverlay: Boolean);
        begin
        … ? >> calling AlphaSkin's TsVirtualImageList's draw method
        Exit;

        or… instead of modifying the source of it > I could disallow the component to draw the images, and use OnAfterItemPaint:

        Code:
        procedure TForm1.VSTAfterItemPaint(Sender: TBaseVirtualTree; TargetCanvas: TCanvas; Node: PVirtualNode; ItemRect: TRect);
        begin
        // ???
        end;

        (It would be a “nice” method, but would make step-by-step code debugging nearly impossible. )

        #59625
        Support
        Keymaster
          'SzakiLaci' wrote:
          – But how can it be, that there was no such problems with version with AC v14.19 ?

          The BlendColor property was not supported in old versions of the package.

          http://www.alphaskins.com/forum/index.php?showtopic=10249&view=findpost&p=53933

          I will think, maybe I will find an idea.

          #59649
          SzakiLaci
          Participant

            Found a workaround for this:

            Drawing pictures to canvas directly…link

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.