Commit aeef3c9d authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49457 954022d7-b5bf-4e40-9824-e11837661b57
parent 02fe12a6
...@@ -525,6 +525,7 @@ CGraphics.prototype = ...@@ -525,6 +525,7 @@ CGraphics.prototype =
if (true == this.m_oContext.mozImageSmoothingEnabled) if (true == this.m_oContext.mozImageSmoothingEnabled)
this.m_oContext.mozImageSmoothingEnabled = false; this.m_oContext.mozImageSmoothingEnabled = false;
this.m_oLastFont.Clear();
this.m_oContext.save(); this.m_oContext.save();
}, },
EndDraw : function() EndDraw : function()
......
...@@ -528,6 +528,7 @@ CGraphics.prototype = ...@@ -528,6 +528,7 @@ CGraphics.prototype =
this.m_oContext.mozImageSmoothingEnabled = false; this.m_oContext.mozImageSmoothingEnabled = false;
*/ */
this.m_oLastFont.Clear();
this.m_oContext.save(); this.m_oContext.save();
}, },
EndDraw : function() EndDraw : function()
......
...@@ -18,6 +18,23 @@ function CFontSetup() ...@@ -18,6 +18,23 @@ function CFontSetup()
this.SetUpMatrix = new CMatrix(); this.SetUpMatrix = new CMatrix();
} }
CFontSetup.prototype =
{
Clear : function()
{
this.Name = "";
this.Index = -1;
this.Size = 12;
this.Bold = false;
this.Italic = false;
this.SetUpIndex = -1;
this.SetUpSize = 12;
this.SetUpStyle = -1;
this.SetUpMatrix = new CMatrix();
}
};
function CGrState_Pen() function CGrState_Pen()
{ {
......
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