| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -33,7 +33,8 @@ | |||
| 33 | 33 | #include "mplutils.h" | |
| 34 | 34 | ||
| 35 | 35 | ||
| 36 | - typedef agg::pixfmt_rgba32_pre pixfmt; | ||
| 36 | + typedef agg::pixfmt_rgba32 pixfmt; | ||
| 37 | + typedef agg::pixfmt_rgba32_pre pixfmt_pre; | ||
| 37 | 38 | typedef agg::renderer_base<pixfmt> renderer_base; | |
| 38 | 39 | typedef agg::span_interpolator_linear<> interpolator_type; | |
| 39 | 40 | typedef agg::rasterizer_scanline_aa<agg::rasterizer_sl_clip_dbl> rasterizer; | |
@@ -430,9 +431,9 @@ Image::resize(const Py::Tuple& args, const Py::Dict& kwargs) | |||
| 430 | 431 | ras.add_path(imageBox); | |
| 431 | 432 | ||
| 432 | 433 | typedef agg::wrap_mode_reflect reflect_type; | |
| 433 | - typedef agg::image_accessor_wrap<pixfmt, reflect_type, reflect_type> img_accessor_type; | ||
| 434 | + typedef agg::image_accessor_wrap<pixfmt_pre, reflect_type, reflect_type> img_accessor_type; | ||
| 434 | 435 | ||
| 435 | - pixfmt pixfmtin(*rbufIn); | ||
| 436 | + pixfmt_pre pixfmtin(*rbufIn); | ||
| 436 | 437 | img_accessor_type ia(pixfmtin); | |
| 437 | 438 | switch (interpolation) | |
| 438 | 439 | { | |
@@ -1993,7 +1994,3 @@ init_image(void) | |||
| 1993 | 1994 | return _image->module().ptr(); | |
| 1994 | 1995 | #endif | |
| 1995 | 1996 | } | |
| 1996 | - | ||
| 1997 | - | ||
| 1998 | - | ||
| 1999 | - | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments