예제 #1
0
파일: HtCompiler.cs 프로젝트: fengqk/Art
 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();
 }
예제 #2
0
 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();
 }