Commit bf7048b5 authored by Oleg Korshul's avatar Oleg Korshul

save/restore graphics state (notes draw)

parent 74d46a23
......@@ -5698,17 +5698,21 @@ function CNotesDrawer(page)
if (this.HtmlPage.bIsRetinaSupport)
g.IsRetina = true;
g.SaveGrState();
g.m_oCoordTransform.tx = this.OffsetX;
g.m_oCoordTransform.ty = -this.Scroll;
g.transform(1, 0, 0, 1, 0, 0);
//g.IsNoDrawingEmptyPlaceholder = true;
// g.IsNoDrawingEmptyPlaceholderText = true;
//g.IsNoDrawingEmptyPlaceholderText = true;
this.HtmlPage.m_oDrawingDocument.isDrawingNotes = true;
this.HtmlPage.m_oLogicDocument.Notes_Draw(this.Slide, g);
this.HtmlPage.m_oDrawingDocument.isDrawingNotes = false;
this.IsRepaint = false;
g.RestoreGrState();
};
this.OnRecalculateNote = function (slideNum, width, height)
......
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