Returned from gfxSpriteOverlap is one of these constants indicating the
approximate direction a sprite overlaps another sprite from.
nIn clockwise order of appearance:
nCOMPASS_NORTH
COMPASS_NOREAST
COMPASS_EAST
COMPASS_SOUEAST
COMPASS_SOUTH
COMPASS_SOUWEST
COMPASS_NORWEST
COMPASS_WEST
COMPASS_INSIDE -- The sprite is completely inside the bounds of the other sprite
See Also: gfxPointInSprite, gfxShapeExtent, gfxSpriteOverlap
Currently gfxPointInSprite only determines if the point is inside the rectangular
outline of the whole Sprite, not whether it falls within the outline of the sprite's
irregular shape.
See Also: COMPASS_*, gfxShapeExtent, gfxSpriteOverlap
See Also: COMPASS_*, gfxPointInSprite, gfxSpriteOverlap
Like gfxPointInSprite only works with rectangles of shape outlines.
Also a bit dodgy. It is meant to return one of the COMPASS_* constants to give you
an idea of how, approximately, the sprites overlap (relative to sprite1). This does not seem to work though.
See Also: COMPASS_*, gfxPointInSprite, gfxShapeExtent