|
Wrong generation of RES files for some bitmapsIf a bitmap has the size = 4*value + remainder, and a remainder is not equal to zero, VIP.EXE generates wrong information to RES file. This leads to drawing some extra horizontal lines in Win95, Win98 while drawing bitmap by pict_Draw(...) after pict_GetFromRes(...). The information applies to Visual Prolog 5.1, build 564, and previous versions. The problem has been solved in the build 565. WorkaroundEnlarge a bitmap, to even width and height and draw only a part of bitmap by: pict_GetSize(Picture, X, Y), Dx=X-1, Dy=Y-1, pict_Draw(_Win,Picture, rct(0,0,DX,DY), rct(0,0,DX,DY),rop_SrcCopy), ... |