Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed Image.getBounds and Quad.getBounds for non-zero upper left vertex case. #408

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

id-ilych
Copy link

@id-ilych id-ilych commented Oct 4, 2013

Texture's frame could be used to align images that is a rasterized
version of a flash symbol that have a custom pivot (in the center of an
image for example). In order to get correct bounds (and therefore
hitTest) one has to consider upper left vertex of an Image (Quad).

…ex case.

Texture's frame could be used to align images that is a rasterized
version of a flash symbol that have a custom pivot (in the center of an
image for example). In order to get correct bounds (and therefore
hitTest) one has to consider upper left vertex of an Image (Quad).
@PrimaryFeather
Copy link
Contributor

Sorry that I didn't comment on this earlier! It has been a while since I browsed over the open pull requests. :-|

The frame support is something that I want to improve in the future (see #522). When that's done, I can look into your idea, as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants