mirror of
https://gitee.com/Donal/ofd.js.git
synced 2024-11-30 02:48:47 +08:00
加上判断是否监制章的线条
This commit is contained in:
parent
43d23e4b72
commit
9ee9e1bef2
@ -262,8 +262,8 @@ export default {
|
||||
const ctm = pathObject['@_CTM'];
|
||||
let svg = document.createElementNS('http://www.w3.org/2000/svg','svg');
|
||||
svg.setAttribute('version','1.1');
|
||||
svg.style.width = Math.ceil(boundary.w);
|
||||
svg.style.height = Math.ceil(boundary.h);
|
||||
svg.style.width = isStampAnnot? boundary.w: Math.ceil(boundary.w);
|
||||
svg.style.height = isStampAnnot? boundary.h : Math.ceil(boundary.h);
|
||||
let path = document.createElementNS('http://www.w3.org/2000/svg','path');
|
||||
if (lineWidth) {
|
||||
defaultLineWith = converterDpi(lineWidth);
|
||||
|
Loading…
Reference in New Issue
Block a user