1About: 2 3Painter is a class implementing the BView drawing functions with the Anti-Grain Geometry 2D engine. It should be usable by the Haiku app_server as the complete drawing backend. It can be attached to a frame buffer and used just like a BView that is attached to a BBitmap. Full anti-aliased drawing is available as a compile time option (defines.h). I hope it will be possible to integrate this into the existing Haiku app_server framework without too much hassle. 4 5 6 7Status: 8 92) Only 32 bit frame buffers are support yet. 10 11Most of the work in supporting other color spaces is only in the drawing_mode classes. It makes no sense to start work on these before I have even nailed the details once on the 32 bit case. 12 133) Only 32 bit Bitmaps are supported for drawing yet. 14 15There is some work involved when trying to make this fast. The conversion should probably take place in the interpolator class that AGG uses for up/downscaling a bitmap. 16 174) Most of the BView behaviour for DrawString() is missing. 18 19Putting the current pen at the position of the virtual next char is now handled, but I have to figure out the escapment_delta stuff. Glyph spacing modes need to be supported. 20 216) The framework is still developing. 22 23I'm still working on many ends of Painter and I might refactor things. The basic idea will likely stay for the most part, but is of course open for discussion by the rest of the team. I felt I wanted to get some results first, then see how it can all be improved. So, keep the comments comming. 24 257) Article 26 27I have written a Newsletter article, that explains the concepts of AGG, how Painter is therefor designed and how it can be improved with the knowledge of AGG inner workings. 28