internal void Compile(IEnumerator<HtmlChunk> source, int width, string id = null, HtFont font = null, HtColor color = default(HtColor), TextAlign align = TextAlign.Left, VertAlign valign = VertAlign.Bottom) { this.d.Clear(); this.CompiledWidth = width; this.d.Parse(source, width, id, font, color, align, valign); this.MergeSameTextChunks(); this.UpdateHeight(); //this.UpdateWidth(); }
internal void Compile(IEnumerator <HtmlChunk> source, int width, string id = null, HtFont font = null, HtColor color = default(HtColor), TextAlign align = TextAlign.Left, VertAlign valign = VertAlign.Bottom) { this.d.Clear(); this.CompiledWidth = width; this.d.Parse(source, width, id, font, color, align, valign); this.MergeSameTextChunks(); this.UpdateHeight(); }