SFML community forums

Bindings - other languages => DotNet => Topic started by: zombiekiller222 on August 31, 2011, 11:47:05 am

Title: A really big bug...
Post by: zombiekiller222 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 ;(
Title: A really big bug...
Post by: Laurent on August 31, 2011, 11:49:17 am
True. I'll fix this as soon as possible.
Title: A really big bug...
Post by: zombiekiller222 on August 31, 2011, 11:53:26 am
Is there a temporary fix?
Title: A really big bug...
Post by: omeg 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);
Title: A really big bug...
Post by: zombiekiller222 on September 01, 2011, 03:46:42 am
No. I use copy for blitting, not creating another instance of the object.  :(
Title: A really big bug...
Post by: Laurent on September 02, 2011, 10:16:34 pm
It's fixed ;)
Title: A really big bug...
Post by: zombiekiller222 on September 03, 2011, 04:22:15 am
Thanks :D