Commit c68d4dc7 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

git-svn-id:...

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@53056 954022d7-b5bf-4e40-9824-e11837661b57
parent 9cfffe0a
......@@ -27,9 +27,14 @@ function Path(extrusionOk, fill, stroke, w, h)
if(this.pathW!=undefined)
{
this.divPW = 1/w;
}
if(this.pathH!=undefined)
{
this.divPH = 1/h;
}
this.ArrPathCommandInfo = new Array();
this.ArrPathCommand = new Array();
......@@ -323,14 +328,20 @@ Path.prototype = {
var ch, cw;
if(this.pathW!=undefined)
{
ch = (gdLst["h"]/this.pathH);
cw = (gdLst["w"]/this.pathW);
}
else
{
ch=1;
cw=1;
}
if(this.pathH!=undefined)
{
ch = (gdLst["h"]/this.pathH);
}
else
{
ch=1;
}
var APCI=this.ArrPathCommandInfo, n = APCI.length, cmd;
var x0, y0, x1, y1, x2, y2, wR, hR, stAng, swAng, lastX, lastY;
for(var i=0; i<n; i++)
......@@ -542,13 +553,19 @@ Path.prototype = {
var ch, cw;
if(this.pathW!=undefined)
{
ch = (gdLst["h"]/this.pathH);
cw = (gdLst["w"]/this.pathW);
}
else
{
ch = 1;
cw = 1;
cw=1;
}
if(this.pathH!=undefined)
{
ch = (gdLst["h"]/this.pathH);
}
else
{
ch=1;
}
var APCI=this.ArrPathCommandInfo, n = APCI.length, cmd;
var x0, y0, x1, y1, x2, y2, wR, hR, stAng, swAng, lastX, lastY;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment