Commit 757dd77d authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander Trofimov
parent c689f560
...@@ -362222,6 +362222,19 @@ CDrawingDocument.prototype = ...@@ -362222,6 +362222,19 @@ CDrawingDocument.prototype =
} }
}, },
RenderDocument : function(Renderer)
{
var _count = this.LogicDocument.Pages.length;
for (var i = 0; i < _count; i++)
{
var _info = this.LogicDocument.Get_PageLimits(i);
Renderer.BeginPage(_info.XLimit, _info.YLimit);
this.LogicDocument.DrawPage(i, Renderer);
Renderer.EndPage();
}
},
ToRenderer : function() ToRenderer : function()
{ {
var Renderer = new CDocumentRenderer(); var Renderer = new CDocumentRenderer();
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