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 / difference between dbLoadImage and dbLoadBitmap

Author
Message
datta08
15
Years of Service
User Offline
Joined: 1st Jul 2009
Location:
Posted: 1st Jul 2009 23:36
1)What is the difference between dbLoadImage and dbLoadBitmap in darkGDK?

2) Why do all functions in darkGDK start with 'db'?
heyufool1
15
Years of Service
User Offline
Joined: 14th Feb 2009
Location: My quiet place
Posted: 2nd Jul 2009 00:38
Question 2: db=DarkBasic (I think)

Lilith
16
Years of Service
User Offline
Joined: 12th Feb 2008
Location: Dallas, TX
Posted: 2nd Jul 2009 05:56
Personal observation, bitmaps are drawing surfaces but can't be resized. They can be written to images. With images you typically have a static "picture" but can manipulate them using the sprite properties. You can't draw to the image directly. No Dark GDK commands allow you to draw boxes,circles or dots.

That said, you can get past some of these limitations on images if you're willing to dig down into the Direct X surfaces. I've written a rudimentary Image class that allows me to draw circles and boxes, filled and unfilled, and dots on the image surface.

Lilith, Night Butterfly
I'm not a programmer but I play one in the office

Login to post a reply

Server time is: 2024-10-01 05:57:40
Your offset time is: 2024-10-01 05:57:40