path: root/framework/inc/dispatch/interceptionhelper.hxx
diff options
authorAshod Nakashian <>2016-06-04 21:29:30 -0400
committerAshod Nakashian <>2016-06-05 10:53:06 -0400
commitafcc01f161a4efd15a8bfd212423ac21f3d02e0c (patch)
tree7670f1f1f68ed30766d923e88671ba0b5aed884d /framework/inc/dispatch/interceptionhelper.hxx
parent86c980482fbaeccc4ca23e2fa3525bfbff06df17 (diff)
LOK: fast tile rendering (graphics and buttons)private/Ashod/fast-calc-rendering
Since embedded graphics and buttons use absolute coordinates, we set the origin to be the top-left corner of the tile. This includes the origin + ScrPos (see previous patch). Then, the coordinates of the graphic is shifted by this amount to make sure it renders in its relative position to the tile. This renders embedded graphics and buttons at their correct position, with some limitations. Tiles large enough to cover a graphic object show the graphic object where it should be. However, rendering a relatively small tile doesn't render the graphic. This seems to be an issue with moving the graphic's coordinate at a later stage than the 2D Processor decides what objects intersect with the 'view area' that is rendered. Another issue is that graphs don't render. What they seem to suffer is incorrect scale and a fix coordinates (they show up as tiny thumbnails at the top-left corner and grow in proportion to the real graph when resized). These shall be addressed in a separate patch. Change-Id: I4b71bf5f2e357d1114d46022bc00905ceed0c2f9
Diffstat (limited to 'framework/inc/dispatch/interceptionhelper.hxx')
0 files changed, 0 insertions, 0 deletions