English
Forum

How can startpaint in a nProc recognized go ?

 

funkheld
Hello, good day.
i want The routine FD in XPSE or in a nProc produce.

this Startpaint becomes but in a nProc not recognized.
-------------------
nProc fd(long r,w,bpic)
Long x,y

x=getcircp(r,w)
y=getcircp(r,w+90000)

startpaint bpic&
LineTo(%hdc,x,y)
EndPaint
ENDPROC
-----------------------------------

Note:
this commands functions too outside:
startpaint bpic
LineTo(%hdc,x,y)
EndPaint

Thank you.
greeting
CompileMarkSeparation
 {$cleq}
declare bpic&,ende&
Declare x&,y&,r&
ende&=1
Window 20,20-500,500
Cls RGB(220,220,220)
bpic& = create("hNewPic", 400,400,rgb(255,255,0))

While Ende&

    fd(100,45000)
    drawpic bpic&,30,30;0

EndWhile

End

nProc getCircP(long r,w)

    return long(sin(0.0174532925199433*float(w)/1000.0)*float(r))

endproc

Proc fd

    Parameters r&,w&
    Long x,y
    x=getcircp(r&,w&)
    y=getcircp(r&,w&+90000)
    startpaint bpic&
    LineTo x&,y&
    EndPaint

ENDPROC

 
12/28/13  
 



StartPaint there in nProcs not there it none makes sense there one with APIs traces the ohnehin a DC desires. let StartPaint lane and nimm hDC or whom DC of whatever.
 
07/09/14  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

3.976 Views

Untitledvor 0 min.
funkheld12/30/21
p.specht05/20/20
Ernst06/22/16
Georg Teles01/13/16
More...

Themeninformationen

this Topic has 2 subscriber:

iF (1x)
funkheld (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie