Rev 9812 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9812 | Rev 9973 | ||
---|---|---|---|
Line 113... | Line 113... | ||
113 | DLLAPI Image* __stdcall img_blend(Image* dst, Image* src, uint32_t out_x, uint32_t out_y, uint32_t in_x, uint32_t in_y, uint32_t width, uint32_t height); |
113 | DLLAPI Image* __stdcall img_blend(Image* dst, Image* src, uint32_t out_x, uint32_t out_y, uint32_t in_x, uint32_t in_y, uint32_t width, uint32_t height); |
114 | DLLAPI Image* __stdcall img_convert(Image *src, Image *dst, uint32_t dst_type, uint32_t, uint32_t); |
114 | DLLAPI Image* __stdcall img_convert(Image *src, Image *dst, uint32_t dst_type, uint32_t, uint32_t); |
115 | DLLAPI Image* __stdcall img_resize_data(Image *src, uint32_t width, uint32_t height); |
115 | DLLAPI Image* __stdcall img_resize_data(Image *src, uint32_t width, uint32_t height); |
116 | DLLAPI Image* __stdcall img_scale(Image* src, uint32_t crop_x, uint32_t crop_y, uint32_t crop_width, uint32_t crop_height, Image* dst, uint32_t scale_type, uint32_t inter, uint32_t new_width, uint32_t new_height); |
116 | DLLAPI Image* __stdcall img_scale(Image* src, uint32_t crop_x, uint32_t crop_y, uint32_t crop_width, uint32_t crop_height, Image* dst, uint32_t scale_type, uint32_t inter, uint32_t new_width, uint32_t new_height); |
Line 117... | Line 117... | ||
117 | 117 | ||
118 | void img_fill_color(Image* img, uint32_t width, uint32_t height, uint32_t color){ |
118 | static void img_fill_color(Image* img, uint32_t width, uint32_t height, uint32_t color){ |
119 | for (uint32_t i = 0; i < width*height; i++) { |
119 | for (uint32_t i = 0; i < width*height; i++) { |
120 | img->Data[i] = color; |
120 | img->Data[i] = color; |
121 | } |
121 | } |