]> git.mxchange.org Git - simgear.git/commit
Canvas: improved clipping and new property clip-frame.
authorThomas Geymayer <tomgey@gmail.com>
Sun, 3 Nov 2013 19:12:45 +0000 (20:12 +0100)
committerThomas Geymayer <tomgey@gmail.com>
Sun, 3 Nov 2013 19:12:45 +0000 (20:12 +0100)
commit38ddfab1e0d7c0bd0ef6d2de7c2487510fc9e700
tree7049bcb1543f2a107834ea95eacc326f35ef2a5a
parent353b7e4438ff28f35f92844694d89914c8fe063c
Canvas: improved clipping and new property clip-frame.

 - Update clipping rect if canvas view or texture size
   changes.
 - Add new property "clip-frame" to specify coordinate
   frame for "clip" coordinates. Coordinates can be
   global, relative to the parent or relative to the
   element itself.
simgear/canvas/elements/CanvasElement.cxx
simgear/canvas/elements/CanvasElement.hxx