Anti-Grain Geometry - AGG (libagg)
2.5
|
00001 #ifndef AGG_CONFIG_INCLUDED 00002 #define AGG_CONFIG_INCLUDED 00003 00004 // This file can be used to redefine certain data types. 00005 00006 //--------------------------------------- 00007 // 1. Default basic types such as: 00008 // 00009 // AGG_INT8 00010 // AGG_INT8U 00011 // AGG_INT16 00012 // AGG_INT16U 00013 // AGG_INT32 00014 // AGG_INT32U 00015 // AGG_INT64 00016 // AGG_INT64U 00017 // 00018 // Just replace this file with new defines if necessary. 00019 // For example, if your compiler doesn't have a 64 bit integer type 00020 // you can still use AGG if you define the follows: 00021 // 00022 // #define AGG_INT64 int 00023 // #define AGG_INT64U unsigned 00024 // 00025 // It will result in overflow in 16 bit-per-component image/pattern resampling 00026 // but it won't result any crash and the rest of the library will remain 00027 // fully functional. 00028 00029 00030 //--------------------------------------- 00031 // 2. Default rendering_buffer type. Can be: 00032 // 00033 // Provides faster access for massive pixel operations, 00034 // such as blur, image filtering: 00035 // #define AGG_RENDERING_BUFFER row_ptr_cache<int8u> 00036 // 00037 // Provides cheaper creation and destruction (no mem allocs): 00038 // #define AGG_RENDERING_BUFFER row_accessor<int8u> 00039 // 00040 // You can still use both of them simultaneouslyin your applications 00041 // This #define is used only for default rendering_buffer type, 00042 // in short hand typedefs like pixfmt_rgba32. 00043 00044 #endif