| |
|
|
funkheld | Hello, good day. is IF here yet active? I have time a Please. These plgBlt under or The data "pts" are for me not durchsteigbar. CompileMarkSeparation
nProc drawhPicRotated(long hPic,dc,x,y,xx,yy,w,r)
long hDCBits=createCompatibleDC(hDC)
selectObject(hDCBits, hPic)
long pts=dim(24)
long w1=angleByLine(xx,yy,0,0),w2=abs(w1-360000),w3=abs(w1-540000)
casenot r : r=long(sqrt(float(xx*xx+yy*yy)))\2
long pts&,0=x+getcircp(r,w1+w),y+getcircp(r,w1-90000+w),x+getcircp(r,w2+w),y+getcircp(r,w2-90000+w),x+getcircp(r,w3+w),y+getcircp(r,w3-90000+w)
plgBlt(dc,pts,hDCBits,0,0,xx,yy,0,0,0)
deleteDC(hDCBits)
dispose(pts)
CompileMarkSeparation Thank you.
greeting |
|
|
| |
|
|
|
funkheld | now have I it time so made :
declare pts# dim pts#,(24) long pts#,0=x+getcircp(r,w1+w)
but these pts# becomes of xpse ignoring ???
on the dearest would I it How supra make with AP(0) etc.
Thank you. greeting CompileMarkSeparation
nProc drawhPicRotated(long hPic,dc,x,y,xx,yy,w,r)
long hDCBits=createCompatibleDC(hDC)
selectObject(hDCBits, hPic)
declare pts#
dim pts#,(24)
long w1=angleByLine(xx,yy,0,0),w2=abs(w1-360000),w3=abs(w1-540000)
casenot r : r=long(sqrt(float(xx*xx+yy*yy)))\2
long pts#,0=x+getcircp(r,w1+w)
long pts#,4=y+getcircp(r,w1-90000+w)
long pts#,8=x+getcircp(r,w2+w)
long pts#,12=y+getcircp(r,w2-90000+w)
long pts#,16=x+getcircp(r,w3+w)
long pts#,20=y+getcircp(r,w3-90000+w)
plgBlt(dc,pts,hDCBits,0,0,xx,yy,0,0,0)
deleteDC(hDCBits)
dispose(pts)
endproc
|
|
|
| |
|
|
|
| |
|
| |
|
|