look here:
http://antigrain.com/demo/image_perspective.jpg
the perspective mapping is optional, it can do bilinear mapping to an
arbitrary quad.
in fact, you probably just want to browse all these:
http://antigrain.com/demo/index.html
trust me, agg has it all. moreover, since it's really just a c++
template based graphics pipeline system, it's really pretty easy to
extend. However it's not really a library of various operations either
- if pygame were to use it, it's not an issue of making binding to
feature X, it's an issue of putting together the appropriate pieces to
do the desired operation.