Refactoring and performance improvements for getStrokedBBox.
canvas.getStrokedBBox internals refactored to svgutils. getStrokedBBox/getCheckedBBox renamed to svgedit.utilities.getBBoxWithTransform Removed duplicate calls to native getBBox. Refactored slow transformed BBox from temporary DOM append/remove to matrix calculations. Lots of tests. Added qunit/qunit-assert-close.js.
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
<iframe src='contextmenu_test.html' width='100%' height='70' scrolling='no'></iframe>
|
||||
<iframe src='math_test.html' width='100%' height='70' scrolling='no'></iframe>
|
||||
<iframe src='svgutils_test.html' width='100%' height='70' scrolling='no'></iframe>
|
||||
<iframe src='svgutils_bbox_test.html' width='100%' height='70' scrolling='no'></iframe>
|
||||
<iframe src='history_test.html' width='100%' height='70' scrolling='no'></iframe>
|
||||
<iframe src='select_test.html' width='100%' height='70' scrolling='no'></iframe>
|
||||
<iframe src='draw_test.html' width='100%' height='70' scrolling='no'></iframe>
|
||||
|
||||
Reference in New Issue
Block a user