I try to do something with hexagon images in a Window
I want to select an ImageGadget() only if if the hexagon is underneath and not the transparent outside that surrounds it.
I have tried searching for a way but either it hasn't been asked before or my google-fu is failing me.
I am hoping for the answer to platform agnostic and hopefully demo friendly.
Thanks in advance
Oddly Shaped Images
- DarkRookie
- User
- Posts: 20
- Joined: Wed Nov 24, 2010 5:47 pm
Oddly Shaped Images
It is better to have a dumb question than a wrong answer!
Re: Oddly Shaped Images
Here's an example.
- DarkRookie
- User
- Posts: 20
- Joined: Wed Nov 24, 2010 5:47 pm
Re: Oddly Shaped Images
I tried using that and I am getting an error of:
Line 4: Structure not found: POINT
when I do. Am I missing something?
Line 4: Structure not found: POINT
when I do. Am I missing something?
It is better to have a dumb question than a wrong answer!
Re: Oddly Shaped Images
You may be compiling on a non-windows OS. If you are using a windows OS then the structure POINT is predefined.DarkRookie wrote:I tried using that and I am getting an error of:
Line 4: Structure not found: POINT
when I do. Am I missing something?
In any case just define it yourself by placing this at the beginning of the code:
Code: Select all
Structure POINT
x.l
y.l
EndStructure
- DarkRookie
- User
- Posts: 20
- Joined: Wed Nov 24, 2010 5:47 pm
Re: Oddly Shaped Images
Thanks that work. I should be able to do something with that.
Funny thing is I am using Win 7 U x64
Funny thing is I am using Win 7 U x64
It is better to have a dumb question than a wrong answer!
Re: Oddly Shaped Images
I believe the demo versions don't have the structures and other api built in either.
Think of it as an "incentive"
Think of it as an "incentive"
