/* * Copyright 2005-2006, Stephan Aßmus . All rights reserved. * Distributed under the terms of the MIT License. * * global definitions for the Painter frame work, mainly types for the * AGG pipelines * */ #ifndef DEFINES_H #define DEFINES_H #include #include #include #include #include #include #include #include #include #include #include "agg_renderer_region.h" #include "PixelFormat.h" #define ALIASED_DRAWING 0 typedef PixelFormat pixfmt; typedef agg::renderer_region renderer_base; #if ALIASED_DRAWING typedef agg::renderer_primitives outline_renderer_type; typedef agg::rasterizer_outline outline_rasterizer_type; typedef agg::scanline_bin scanline_unpacked_type; typedef agg::scanline_bin scanline_packed_type; typedef agg::renderer_scanline_bin_solid renderer_type; #else typedef agg::renderer_outline_aa outline_renderer_type; typedef agg::rasterizer_outline_aa outline_rasterizer_type; typedef agg::scanline_u8 scanline_unpacked_type; typedef agg::scanline_p8 scanline_packed_type; typedef agg::renderer_scanline_aa_solid renderer_type; #endif typedef agg::renderer_scanline_bin_solid renderer_bin_type; typedef agg::rasterizer_scanline_aa<> rasterizer_type; #endif // DEFINES_H