Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: A really big bug...  (Read 4669 times)

0 Members and 1 Guest are viewing this topic.

zombiekiller222

  • Guest
A really big bug...
« on: August 31, 2011, 11:47:05 am »
In the c++ version, for alpha copying you could do:

image.copy(x,y,rect,ApplyAlpha)

in the c# version, there is no ApplyAlpha. NO ALPHA COPYING ;(

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
A really big bug...
« Reply #1 on: August 31, 2011, 11:49:17 am »
True. I'll fix this as soon as possible.
Laurent Gomila - SFML developer

zombiekiller222

  • Guest
A really big bug...
« Reply #2 on: August 31, 2011, 11:53:26 am »
Is there a temporary fix?

omeg

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
    • http://omeg.pl/
A really big bug...
« Reply #3 on: August 31, 2011, 12:07:49 pm »
You can try creating new image from source pixel data:
Code: [Select]

Image newImg = new Image(oldImg.Width, oldImg.Height, oldImg.Pixels);

zombiekiller222

  • Guest
A really big bug...
« Reply #4 on: September 01, 2011, 03:46:42 am »
No. I use copy for blitting, not creating another instance of the object.  :(

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
A really big bug...
« Reply #5 on: September 02, 2011, 10:16:34 pm »
It's fixed ;)
Laurent Gomila - SFML developer

zombiekiller222

  • Guest
A really big bug...
« Reply #6 on: September 03, 2011, 04:22:15 am »
Thanks :D

 

anything