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 / Point not returning correct value

Author
Message
Gervais
20
Years of Service
User Offline
Joined: 11th Mar 2004
Location: Canada
Posted: 16th Jun 2007 01:01 Edited at: 16th Jun 2007 01:03
Hi Paul,

I am having some problem with the odb2d.Point instruction it is not returning the proper value for the specify location some how it is returning always the same value which is 4278190080

I am using the last .net version
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 16th Jun 2007 02:24 Edited at: 16th Jun 2007 02:25
I'll see what's going on, but it could also be the same problem in the DGDK (C++) library also.

[EDIT] Could you provide a small source file showing what you're doing?

Paul.

Morcilla
21
Years of Service
User Offline
Joined: 1st Dec 2002
Location: Spain
Posted: 16th Jun 2007 13:57
No problem so far at the DGDK with dbPoint.
The variable that gets the retun value must be DWORD.
After that, the rgb colors can be recovered in a 0-255 range with the dbRgbR, dbRgbG and dbRgbB commands.
Gervais
20
Years of Service
User Offline
Joined: 11th Mar 2004
Location: Canada
Posted: 16th Jun 2007 16:01
If you run this example it returns the same value 4278190080 even if the screen is black
By the way this was working correctly on the previous version



Also the Dot command have some problem if you write to other bitmap then the default one(0) but the lines and box do work with other bitmap ?
Kevin Picone
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 17th Jun 2007 15:50
Gervais
20
Years of Service
User Offline
Joined: 11th Mar 2004
Location: Canada
Posted: 17th Jun 2007 20:22
Thanks i will try that

Login to post a reply

Server time is: 2024-11-19 13:20:53
Your offset time is: 2024-11-19 13:20:53