On Oct 6, 9:11 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > * AbstractImage/batch/group integration > > I'm afraid that AbstractImage integration just doesn't make sense for > SVG. The AbstractImage class is really quite tightly coupled to OpenGL > textures, and most of the API simply wouldn't translate to an SVG > setting. Batches and groups on the other hand, are on the way. I may > even have a bit of a hack on it this evening, if I don't get > distracted by a shiny object.
Maybe I'm asking the wrong question, or maybe I'm displaying my ignorance of the underlying structures of pyglet. My end-goal is to have an SVG object that I can pass to a Sprite's constructor, so I don't have to do messy jury rigged copycat classes to use an SVG with a 3rd-party extension of Sprite, i.e. Cocos2d. It is not the end of the world if I have to continue doing this. However, it would be nice not to have to treat SVGs specially at such a basic level. > > * Upload to PyPI? > > I don't think there's really much benefit to this at present. Squirtle > isn't a package, and doesn't belong in a package index. At the moment > I'm making no guarantees that different versions of Squirtle are in > any way API-compatible. That they all are at present is simply > coincidence. The notion of people *installing* current versions of > Squirtle, rather than simply including the .py in their project > distribution, is probably not a good one for these reasons, and not > something I want to encourage right now. Fair enough. I withdraw the request. > > * Zoomable/transformable SVG rendering > > These are indeed currently possible, check the scale parameter to > SVG.draw(). Documentation is in the README. Thanks. I should have looked into it more closely. Thanks for taking the time to address these ideas. --David --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---
