[haiku-bugs] Re: [Haiku] #2978: There is no transparencity in ShowImage if i drag&drop a cutted image.

  • From: "stippi" <trac@xxxxxxxxxxxx>
  • Date: Thu, 25 Nov 2010 14:25:09 -0000

#2978: There is no transparencity in ShowImage if i drag&drop a cutted image.
---------------------------------+-----------------------------
  Reporter:  miqlas              |        Owner:  stippi
      Type:  bug                 |       Status:  closed
  Priority:  normal              |    Milestone:  R1
 Component:  Servers/app_server  |      Version:  R1/pre-alpha1
Resolution:  fixed               |     Keywords:
Blocked By:                      |  Has a Patch:  0
  Platform:  x86                 |     Blocking:
---------------------------------+-----------------------------
Changes (by stippi):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 It may work for ShowImage now, but I don't remember if I implemented
 B_OP_BLEND as drawing mode which can be passed to the BView method that
 creates a draw bitmap. If not, it could be simulated easily: On the
 app_server side, the drag bitmap is temporarily combined with the cursor
 bitmap. At this step, any necessary transformation can be performed as the
 bitmap is converted to RGBA color space anyway. For B_OP_BLEND, the alpha
 channel could simply be divided by two. I am undecided whether to close
 the ticket, since there may be no applications left that use B_OP_BLEND
 instead of B_OP_ALPHA, so this missing feature may not be user visible.
 Ok, let's close the ticket, since it is specifically about ShowImage.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/2978#comment:4>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: