public Class957(WireframeGraphicsCache cache) { this.wireframeGraphicsCache_0 = cache; this.linkedListNodeRef_0 = new LinkedListNodeRef <IWireframeDrawable>(cache.linkedList_0, cache.linkedList_0.Last); if (cache.bool_1) { this.stack_0 = new Stack <WireframeGraphicsCache.Class958>(); } this.stack_1 = new Stack <LinkedListNodeRef <IWireframeDrawable> >(); }
public void EndEntity() { if (this.wireframeGraphicsCache_0.bool_1) { this.stack_0.Pop(); this.class958_0 = this.stack_0.Count > 0 ? this.stack_0.Peek() : (WireframeGraphicsCache.Class958)null; } if (this.stack_1.Count > 0) { this.linkedListNodeRef_0 = this.stack_1.Pop(); } else { this.linkedListNodeRef_0 = (LinkedListNodeRef <IWireframeDrawable>)null; } }
public Class942(GDIGraphics3D graphics) { this.graphicsConfig_0 = graphics.graphicsConfig_0; this.linkedListNodeRef_0 = new LinkedListNodeRef <Interface12>(graphics.linkedList_0, graphics.linkedList_0.Last); this.linkedListNodeRef_1 = new LinkedListNodeRef <Interface12>(graphics.linkedList_1, graphics.linkedList_1.Last); this.float_0 = graphics.float_0; this.float_1 = graphics.float_1; this.bool_0 = graphics.bool_0; this.bool_1 = graphics.bool_1; this.dictionary_0 = graphics.dictionary_0; if (!graphics.bool_1) { return; } this.stack_0 = new Stack <GDIGraphics3D.Class941>(); }
public Class452(WpfWireframeGraphics3D graphics) { this.wpfWireframeGraphics3D_0 = graphics; this.interface11_0 = Class622.Create(graphics.Config); this.graphicsConfig_0 = graphics.graphicsConfig_0; this.linkedListNodeRef_0 = new LinkedListNodeRef <Interface37>(graphics.linkedList_0); this.matrix4D_0 = graphics.matrix4D_0; this.double_0 = graphics.double_0; this.double_1 = graphics.double_1; this.objectTaggerDelegate_0 = graphics.FrameworkElementTagger; this.bool_0 = graphics.bool_0; this.dictionary_0 = graphics.dictionary_0; if (!graphics.bool_0) { return; } this.stack_0 = new Stack <WpfWireframeGraphics3D.Class451>(); }
public void EndEntity() { if (this.wireframeGraphics2Cache_0.bool_1) { this.stack_0.Pop(); this.class923_0 = this.stack_0.Count > 0 ? this.stack_0.Peek() : (WireframeGraphics2Cache.Class923)null; } if (this.stack_1.Count > 0) { LinkedList <IWireframeDrawable2> linkedList = this.linkedListNodeRef_0.LinkedList; this.linkedListNodeRef_0 = this.stack_1.Pop(); ((WireframeGraphics2Cache.Class924) this.linkedListNodeRef_0.CurrentNode.Value).Drawables = linkedList; } else { this.linkedListNodeRef_0 = (LinkedListNodeRef <IWireframeDrawable2>)null; } }
private void method_3( IList <Class908> chunks, DxfEntity entity, DrawContext.Wireframe drawContext) { LinkedListNodeRef <Interface12> linkedListNodeRef = !this.bool_0 ? this.linkedListNodeRef_0 : this.linkedListNodeRef_1; bool?nullable0 = this.nullable_0; if ((!nullable0.GetValueOrDefault() ? 1 : (!nullable0.HasValue ? 1 : 0)) != 0) { linkedListNodeRef.Insert((Interface12) new Class807()); this.nullable_0 = new bool?(true); } System.Drawing.Color color = (System.Drawing.Color) this.GetColor(drawContext.GetPlotColor(entity)); short lineWeight = drawContext.GetLineWeight(entity); foreach (Class908 chunk in (IEnumerable <Class908>)chunks) { Class1036 class1036 = new Class1036(chunk, color, lineWeight); linkedListNodeRef.Insert((Interface12)class1036); } }
private void method_4(bool forText, Interface12 drawable) { LinkedListNodeRef <Interface12> linkedListNodeRef = !forText || !this.bool_0 ? this.linkedListNodeRef_0 : this.linkedListNodeRef_1; if (forText) { bool?nullable0 = this.nullable_0; if ((!nullable0.GetValueOrDefault() ? 1 : (!nullable0.HasValue ? 1 : 0)) != 0) { linkedListNodeRef.Insert((Interface12) new Class807()); this.nullable_0 = new bool?(true); } } else { bool?nullable0 = this.nullable_0; if ((nullable0.GetValueOrDefault() ? 1 : (!nullable0.HasValue ? 1 : 0)) != 0) { linkedListNodeRef.Insert((Interface12) new Class748()); this.nullable_0 = new bool?(false); } } linkedListNodeRef.Insert(drawable); }