/* * Copyright 2005, 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 #include "agg_renderer_region.h" //#include "_for_reference_.h" #include "forwarding_pixfmt.h" #define ALIASED_DRAWING 0 // typedef agg::pixfmt_bgra32 pixfmt; typedef forwarding_pixel_format 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_type; typedef agg::rasterizer_scanline_aa<> rasterizer_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_type; typedef agg::rasterizer_scanline_aa<> rasterizer_type; typedef agg::renderer_scanline_aa_solid renderer_type; #endif typedef agg::renderer_scanline_aa_solid font_renderer_solid_type; typedef agg::renderer_scanline_bin_solid font_renderer_bin_type; #endif // DEFINES_H