DrawAlphaImage blends an image over the existing background. You can use a constant alpha-value or an Image Map. See the Helpfile for more information!
X2D - eXtended 2D
-
freedimension
- Enthusiast

- Posts: 613
- Joined: Tue May 06, 2003 2:50 pm
- Location: Germany
- Contact:
-
dontmailme
- Enthusiast

- Posts: 537
- Joined: Wed Oct 29, 2003 10:35 am
DrawAlphaImage is FANTASTIC!!! 8O I have done some tests and am very pleased with the results. I will mainly be using it for adding nice logos/icons to the user interfaces of a few apps which look nice no matter what colour people have set their windows too!
Very nice work!
P.S. Check out this thread for an error (and bug) i found in one of the examples supplied: viewtopic.php?p=52647
P.S. Check out this thread for an error (and bug) i found in one of the examples supplied: viewtopic.php?p=52647
-
freedimension
- Enthusiast

- Posts: 613
- Joined: Tue May 06, 2003 2:50 pm
- Location: Germany
- Contact:
Version 0.9
- Important: Changed X2D_AngleText() to X2D_Text. angle is now an optional parameter.
- Fixed a problem with the additional parameter in X2D_RingPie()
- Fixed: Couldn't display an angle of only one degree with X2D_RingPie()
- Added an example to X2D_SetHDC()
- Added several Debugger checks for catching illegal procedure calls.
- Added Function: X2D_SetTextAlign, X2D_GetTextAlign
- Important: Changed X2D_AngleText() to X2D_Text. angle is now an optional parameter.
- Fixed a problem with the additional parameter in X2D_RingPie()
- Fixed: Couldn't display an angle of only one degree with X2D_RingPie()
- Added an example to X2D_SetHDC()
- Added several Debugger checks for catching illegal procedure calls.
- Added Function: X2D_SetTextAlign, X2D_GetTextAlign
-
spongehammer
- User

- Posts: 84
- Joined: Sat Jul 19, 2003 6:45 pm
- Location: UK
Hi freedimension,
what a great lib
Thank you very much.
some of the sample code in the help file has a few errors though.
X2D_SetHDC(hDC.l)
line 33 reads SetHDC(0) instead of X2D_SetHDC(0)
X2D_CopyImageToMemory
line 67 reads SetGadgetState(#1, UseImage(1)) instead of
SetGadgetState(1, UseImage(1))
I can really make use of this lib... thanks again
what a great lib
some of the sample code in the help file has a few errors though.
X2D_SetHDC(hDC.l)
line 33 reads SetHDC(0) instead of X2D_SetHDC(0)
X2D_CopyImageToMemory
line 67 reads SetGadgetState(#1, UseImage(1)) instead of
SetGadgetState(1, UseImage(1))
I can really make use of this lib... thanks again
I looked up 'paranoid' in the dictionary this morning.
It said, 'what do you want to know that for?'
It said, 'what do you want to know that for?'
-
freedimension
- Enthusiast

- Posts: 613
- Joined: Tue May 06, 2003 2:50 pm
- Location: Germany
- Contact:
I inserted this by hand when I found this command missing (resulting in a bug) in another program.spongehammer wrote:some of the sample code in the help file has a few errors though.
X2D_SetHDC(hDC.l)
line 33 reads SetHDC(0) instead of X2D_SetHDC(0)
thought I got rid of this one some time agoX2D_CopyImageToMemory
line 67 reads SetGadgetState(#1, UseImage(1)) instead of
SetGadgetState(1, UseImage(1))
Thank you for reporting, I will fix this ASAP
-
freedimension
- Enthusiast

- Posts: 613
- Joined: Tue May 06, 2003 2:50 pm
- Location: Germany
- Contact:
-
PolyVector
- Enthusiast

- Posts: 499
- Joined: Wed Sep 17, 2003 9:17 pm
- Location: Southern California
- Contact:
-
freedimension
- Enthusiast

- Posts: 613
- Joined: Tue May 06, 2003 2:50 pm
- Location: Germany
- Contact:
-
PolyVector
- Enthusiast

- Posts: 499
- Joined: Wed Sep 17, 2003 9:17 pm
- Location: Southern California
- Contact:
-
PolyVector
- Enthusiast

- Posts: 499
- Joined: Wed Sep 17, 2003 9:17 pm
- Location: Southern California
- Contact:
-
freedimension
- Enthusiast

- Posts: 613
- Joined: Tue May 06, 2003 2:50 pm
- Location: Germany
- Contact:

