public static void DrawEditHandle( Graphics graphics, Pen pen, PointF position, double editHandleSize) { GdiDrawUtil.DrawEditHandle(graphics, pen, (Point2D)position, editHandleSize); }
internal void Draw( Graphics graphics, Rasterizer2D fastRasterizer, Rectangle drawingBounds, System.Drawing.Color backColor) { GDIGraphics3D.smethod_0(); GraphicsConfig config = (GraphicsConfig)this.graphicsConfig_0.Clone(); config.BackColor = (ArgbColor)backColor; BlinnClipper4D drawingBoundsClipper = new BlinnClipper4D((double)drawingBounds.Left, (double)drawingBounds.Right, (double)drawingBounds.Top, (double)drawingBounds.Bottom, 0.0, 0.0, false, true); using (Class386 context = new Class386(this.graphicsConfig_0, graphics, fastRasterizer, this.nullable_0, drawingBoundsClipper, this.matrix4D_0, this.method_5(), this.method_6(), this.float_0, this.float_1, Class1002.Create(config, this.float_1), Class1002.Create(config, this.float_0))) { foreach (Interface12 nterface12 in this.linkedList_0) { nterface12.Draw(context); } foreach (Interface12 nterface12 in this.linkedList_1) { nterface12.Draw(context); } } if (this.nodeCollection_0 == null || this.nodeCollection_0.Count <= 0) { return; } foreach (WW.Cad.Drawing.Node node in (List <WW.Cad.Drawing.Node>) this.nodeCollection_0) { using (Pen pen = new Pen((System.Drawing.Color) this.graphicsConfig_0.NodeColor, node.HighLighted ? 2f : 1f)) { WW.Math.Point2D position = this.matrix4D_0.TransformTo2D(node.Position); GdiDrawUtil.DrawEditHandle(graphics, pen, position, this.graphicsConfig_0.NodeSize); } } }