DaVinci69 How do I cheat?
Reputation: 0
Joined: 18 Feb 2019 Posts: 6
|
Posted: Wed Aug 07, 2019 8:36 am Post subject: Re: Screen Renderer |
|
|
| Code: | f = createForm()
f.Width = 450
f.Height = 400
img = createImage(f)
img.Width = 450
img.Height = 400
img.Stretch = true
w=getScreenWidth()
h=getScreenHeight()
sc=getScreenCanvas()
img.Picture.Bitmap.Width=w
img.Picture.Bitmap.Height=h
img.canvas.copyRect(0,0,w,h,sc,0,0,w,h)
f.show() |
|
|