Merge branch 'develop' into feature/draw

This commit is contained in:
Sergey Konovalov
2024-11-20 01:16:00 +03:00
157 changed files with 36360 additions and 29852 deletions

View File

@ -31,12 +31,12 @@
*/
"use strict";
function CNativeGraphics()
function CNativeGraphics(nativeEmbed)
{
AscCommon.CGraphicsBase.call(this, AscCommon.RendererType.NativeDrawer);
/** @suppress {checkVars} */
this.Native = CreateEmbedObject("CGraphicsEmbed");
this.Native = nativeEmbed ? nativeEmbed : CreateEmbedObject("CGraphicsEmbed");
this.isNativeGraphics = true;