Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK .NET / how to rotate an image

Author
Message
sebi
14
Years of Service
User Offline
Joined: 29th Jan 2010
Location:
Posted: 2nd Feb 2010 22:45
hi there

could anyone tell me how to rotate an image with darkgdk.net?
i tried imgJumbo.Rotate(+1);

but nothing happens.

thx4help

P.S. Please Excuse my English
APEXnow
Retired Moderator
20
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 3rd Feb 2010 01:33 Edited at: 3rd Feb 2010 01:34
sebi

Hi, when you've called the Rotate function, you need to repaint the image using the Paste function. If this isn't working, could you paste your sample code so we can examine what is happening.

imgJumbo.Paste( 0, 0, false )

Paul.

sebi
14
Years of Service
User Offline
Joined: 29th Jan 2010
Location:
Posted: 3rd Feb 2010 10:14
Hy Paul,

here is the code.



So this is the code. I've cut it a little.

thx4help

Sebi

P.S. please excuse my english
knxrb
FPSC Tool Maker
15
Years of Service
User Offline
Joined: 10th Oct 2008
Location: United Kingdom
Posted: 8th Feb 2010 01:06
There's no sync command being called so the screen won't update

knxrb

APEXnow
Retired Moderator
20
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 8th Feb 2010 02:13
sebi,

I Concur with knxrb, you need to place a DarkGDK.Core.Sync() call within your while loop as the last line of code, so it reads like this:



Paul

sebi
14
Years of Service
User Offline
Joined: 29th Jan 2010
Location:
Posted: 9th Feb 2010 20:27
yeah thanks works fine =)

Login to post a reply

Server time is: 2024-03-29 12:11:32
Your offset time is: 2024-03-29 12:11:32