NameDateSize

..07-Jul-202231

agg_clipped_alpha_mask.hH A D04-Jan-20162.9 KiB

agg_rasterizer_scanline_aa_subpix.hH A D18-Dec-201313.4 KiB

agg_renderer_region.hH A D11-Nov-201511.5 KiB

agg_renderer_scanline_subpix.hH A D22-Nov-20122.1 KiB

agg_scanline_p_subpix.hH A D22-Nov-20124 KiB

agg_scanline_p_subpix_avrg_filtering.hH A D22-Nov-20125.6 KiB

agg_scanline_storage_subpix.hH A D09-Feb-201415.9 KiB

agg_scanline_u_subpix.hH A D09-Feb-20143.3 KiB

agg_scanline_u_subpix_avrg_filtering.hH A D22-Nov-20124.8 KiB

AGGTextRenderer.cppH A D25-Jul-202112.8 KiB

AGGTextRenderer.hH A D27-Feb-20143 KiB

bitmap_painter/H13-Sep-20229

defines.hH A D05-Feb-20142.8 KiB

drawing_modes/H19-Feb-202243

GlobalSubpixelSettings.cppH A D22-Nov-2012435

GlobalSubpixelSettings.hH A D05-Feb-20171.1 KiB

JamfileH A D29-Apr-20191 KiB

NOTESH A D22-Nov-20121.2 KiB

Painter.cppH A D29-Jun-202350.3 KiB

Painter.hH A D29-Jun-202311.9 KiB

PainterAggInterface.hH A D11-Nov-20151.8 KiB

READMEH A D22-Nov-20121.5 KiB

TODOH A D09-Feb-201468

Transformable.cppH A D11-Nov-20155.3 KiB

Transformable.hH A D11-Nov-20152.2 KiB

README

1About:
2
3Painter is a class implementing the BView drawing functions with the Anti-Grain Geometry 2D engine. It can be attached to a frame buffer and used just like a BView that is attached to a BBitmap and does full anti-aliased drawing.
4
5
6
7Status:
8
91) 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. Other colorspaces are currently handled by drawing into a 32 bit "back buffer" and doing the color space conversion when blitting it into the visible frame buffer. It may or may not be beneficial to add code working directly in other color spaces. Older computers would benefit. When improving or redesigning the accelerant API, it may make this obsolete though.
12
132) Only 32 bit Bitmaps are supported for drawing yet.
14
15Currently, there is a generic fallback bitmap drawing routine that handles all cases. Faster codepaths handle unscaled bitmaps and B_CMAP8 bitmaps are also supported by fast shortcuts. The AGG based codepath is too generic for what the app_server needs to implement, so that it will be beneficial to make a faster implementation as well. It may be easier to support other bitmap color spaces than by doing the conversion somewhere in the AGG pipeline.
16
173) Article
18
19I 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.
20
21<http://www.haiku-os.org/documents/dev/painter_and_how_agg_works>
22
23
24