Bilinear interpolation: Difference between revisions
Content added Content deleted
m (Phix/pGUI) |
m (→{{header|Phix}}: IupDestroy is now a function) |
||
Line 742: | Line 742: | ||
function redraw_cb(Ihandle /*redraw*/) |
function redraw_cb(Ihandle /*redraw*/) |
||
IupSetAttributeHandle(label2, "IMAGE", NULL) |
IupSetAttributeHandle(label2, "IMAGE", NULL) |
||
IupDestroy(image2) |
image2 = IupDestroy(image2) |
||
atom v = IupGetDouble(scale,"VALUE")/100 |
atom v = IupGetDouble(scale,"VALUE")/100 |
||
image2 = scale_image(im1,v,v) |
image2 = scale_image(im1,v,v) |