开发者

Embedding Gnash into PyGame?

开发者 https://www.devze.com 2022-12-10 21:30 出处:网络
Is there a wa开发者_如何学JAVAy to display flash applications using Gnash renderer (I\'m not averse to Adobe\'s renderer but would prefer not to use it) in a PyGame application?Does Gnash allow drawin

Is there a wa开发者_如何学JAVAy to display flash applications using Gnash renderer (I'm not averse to Adobe's renderer but would prefer not to use it) in a PyGame application?


Does Gnash allow drawing to an SDL_Surface? If so, Pygame has a C API that would make gluing these together easy. If not your best bet will be Pygame's frombuffer command. This will interepret a raw block of data as an image. You'll still need some way of getting that pointer from Gnash to your Python code.

0

精彩评论

暂无评论...
验证码 换一张
取 消