Currently I have a text object that I need to determine its bounds. I used to use the graphics object to obtain the font metrics of the text I am trying to draw, but since I added functionality to rot
Is there any easy ways to find the bounding box of a polyline using Google Maps API v3? I\'m working on a project where I need to update the bounds as data is ad开发者_StackOverflowded and removed fro
I\'m writing a Firefox extension.I\'m trying to limit it to just XUL+Javascript (no XPCOM).When I get a mouseover event for an HTML element, I need to get its bounding box in the windows coordinate sy
I load multiple meshs from .x files in different mesh variables. Now I would like to calculate the bounding sphere across all the meshes I have loaded (and which are being displayed)
I have a map in which I apply a custom overlay using KMbox overlay to signify where I think the users general point of interest lies. What I want is to display this map to the user and allow them to c
In AS3, I have a Sprite that has a Z axis rotation applied开发者_运维技巧. How do I calculate that Sprite\'s dimensions (it\'s original size) from Sprite.rotationZ and Sprite.getRect(...)?sprite.widt
The AS3 getBounds function returns a rectangle that is not fitting tightly to a rotated ellipse. Instead it returns an axis-aligned rectangle based on the bounds of a rectangle whose width/height corr
I\'m trying to get a SVG \'text\' element fitting inside of a svg \'rect\' element. e.g. In the example开发者_Go百科 below, I used a monospace text of 5 chars with a font-size of 100px and I expected
Given a coordinate (lat, long), I am trying to calculate a square bounding box that is a given distance (e.g. 50km) away from the coordinate.So as input I have lat, long and distance and as output I w
Given a latitude and longitude, anddistance, I want to find a bounding box where the distances are less than the given distance.