public void dbug_PushLayoutTraceMessage(dbugVisualRootMsg msg, dbugLayoutInfo layer) { if (dbugLastestDebugVisualLay != null) { dbugLastestDebugVisualLay.WriteInfo(msg.msg, layer); } }
public void WriteInfo(string info, dbugLayoutInfo layer) { ++_msgLineNum; ShouldBreak(); _strmWriter.Write(new string('\t', _indentCount)); _strmWriter.Write(info); _strmWriter.Write(layer.ToString()); _strmWriter.Write("\r\n"); _strmWriter.Flush(); }
void debug_RecordLayerInfo(dbugLayoutInfo layer) { RootGraphic visualroot = RootGraphic.dbugCurrentGlobalVRoot; if (visualroot.dbug_RecordDrawingChain) { visualroot.dbug_AddDrawLayer(layer); } }
public void dbug_AddDrawLayer(dbugLayoutInfo layerInfo) { dbug_rootDrawingMsg.AddLast(new dbugLayoutMsg(layerInfo, new string('.', dbug_drawLevel) + "[F" + dbug_drawLevel + "] " + layerInfo.ToString())); }
public void PushLayerElement(dbugLayoutInfo layer) { _elementStack.Push(layer); BeginNewContext(); }
public dbugLayoutMsg(dbugLayoutInfo layer, string msg) { this.owner = layer; this.msg = msg; this.msgOwnerKind = dbugLayoutMsgOwnerKind.Layer; }