|
@@ -622,6 +622,8 @@ struct _VariantCall {
|
|
VCALL_PTR0R(Image, get_data);
|
|
VCALL_PTR0R(Image, get_data);
|
|
VCALL_PTR3(Image, blit_rect);
|
|
VCALL_PTR3(Image, blit_rect);
|
|
VCALL_PTR3(Image, blend_rect);
|
|
VCALL_PTR3(Image, blend_rect);
|
|
|
|
+ VCALL_PTR4(Image, blend_rect_mask);
|
|
|
|
+ VCALL_PTR1(Image, fill);
|
|
VCALL_PTR1R(Image, converted);
|
|
VCALL_PTR1R(Image, converted);
|
|
VCALL_PTR0(Image, fix_alpha_edges);
|
|
VCALL_PTR0(Image, fix_alpha_edges);
|
|
|
|
|
|
@@ -1473,6 +1475,8 @@ void register_variant_methods() {
|
|
ADDFUNC0(IMAGE, RAW_ARRAY, Image, get_data, varray());
|
|
ADDFUNC0(IMAGE, RAW_ARRAY, Image, get_data, varray());
|
|
ADDFUNC3(IMAGE, NIL, Image, blit_rect, IMAGE, "src", RECT2, "src_rect", VECTOR2, "dest", varray(0));
|
|
ADDFUNC3(IMAGE, NIL, Image, blit_rect, IMAGE, "src", RECT2, "src_rect", VECTOR2, "dest", varray(0));
|
|
ADDFUNC3(IMAGE, NIL, Image, blend_rect, IMAGE, "src", RECT2, "src_rect", VECTOR2, "dest", varray(0));
|
|
ADDFUNC3(IMAGE, NIL, Image, blend_rect, IMAGE, "src", RECT2, "src_rect", VECTOR2, "dest", varray(0));
|
|
|
|
+ ADDFUNC4(IMAGE, NIL, Image, blend_rect_mask, IMAGE, "src", IMAGE, "mask", RECT2, "src_rect", VECTOR2, "dest", varray(0));
|
|
|
|
+ ADDFUNC1(IMAGE, NIL, Image, fill, COLOR, "color", varray(0));
|
|
ADDFUNC1(IMAGE, IMAGE, Image, converted, INT, "format", varray(0));
|
|
ADDFUNC1(IMAGE, IMAGE, Image, converted, INT, "format", varray(0));
|
|
ADDFUNC0(IMAGE, NIL, Image, fix_alpha_edges, varray());
|
|
ADDFUNC0(IMAGE, NIL, Image, fix_alpha_edges, varray());
|
|
|
|
|