]> git.mxchange.org Git - simgear.git/commit
Canvas: do not write bounding box to property tree.
authorThomas Geymayer <tomgey@gmail.com>
Mon, 31 Mar 2014 11:24:33 +0000 (13:24 +0200)
committerThomas Geymayer <tomgey@gmail.com>
Mon, 31 Mar 2014 11:28:03 +0000 (13:28 +0200)
commitd332da06057f923858097a607ecf868e81c00d0d
treefbfd25fdb95e992de2ad5382c56b6c85800a1221
parent6ea55c685125ff32ed152eebd760c549dbe02069
Canvas: do not write bounding box to property tree.

 - Prevent writing to property tree in wrong thread.
 - Add Element::getBoundingBox and
   Element::getTightBoundingBox as uniform way to
   retrieve bounding boxes of all canvas elements.
 - Update path bounding boxe in update traversal.
simgear/canvas/Canvas.cxx
simgear/canvas/elements/CanvasElement.cxx
simgear/canvas/elements/CanvasElement.hxx
simgear/canvas/elements/CanvasImage.cxx
simgear/canvas/elements/CanvasPath.cxx
simgear/canvas/elements/CanvasText.cxx