Esempio n. 1
0
        public bool Host_CopySVGIconSymbol(SciterElement el, SciterValue[] args, out SciterValue result)
        {
            string hash = args[0].Get("");
            string ID   = args.Length == 2 ? args[1].Get("") : "SOME-NAME-HERE";
            var    icn  = Joiner._iconsByHash[hash];

            Utils.CopyText(SvgSpriteXML.GetIconSymbolXML(icn, ID));
            result = null;
            return(true);
        }