Rev 8545 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8545 | Rev 8581 | ||
---|---|---|---|
Line 116... | Line 116... | ||
116 | extern Image* (*img_convert)(Image *src, Image *dst, uint32_t dst_type, uint32_t, uint32_t) _stdcall; |
116 | extern Image* (*img_convert)(Image *src, Image *dst, uint32_t dst_type, uint32_t, uint32_t) _stdcall; |
117 | extern Image* (*img_resize_data)(Image *src, uint32_t width, uint32_t height) _stdcall; |
117 | extern Image* (*img_resize_data)(Image *src, uint32_t width, uint32_t height) _stdcall; |
118 | extern Image* (*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) _stdcall; |
118 | extern Image* (*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) _stdcall; |
Line 119... | Line 119... | ||
119 | 119 | ||
- | 120 | void img_fill_color(Image* img, uint32_t width, uint32_t height, uint32_t color) { |
|
120 | void img_fill_color(Image* img, uint32_t width, uint32_t height, uint32_t color){ |
121 | uint32_t i; |
121 | for (uint32_t i = 0; i < width*height; i++) { |
122 | for (i = 0; i < width*height; i++) { |
122 | img->Data[i] = color; |
123 | img->Data[i] = color; |
123 | } |
124 | } |
Line 124... | Line 125... | ||
124 | } |
125 | } |