Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 7258 → Rev 7257

/programs/media/animage/trunk/graphlib.inc
44,17 → 44,13
; eax - color of pixel in coordinats (x,y)
GetColorOfPixel:
 
cmp esi,ebx
jb @f
xor eax,eax
dec eax
ret
@@:
imul ebx,edi
add ebx,esi
lea ebx,[ebx+ebx*2]
mov eax,[eax+ebx]
and eax,0xffffff
add eax,ebx
mov ebx,[eax]
and ebx,0xffffff
mov eax,ebx
ret
 
;procedure <<<<calculate line>>>>