Пример #1
0
 internal virtual void Draw(Display.DisplayPipeline pipeline, System.Drawing.Color color, int density)
 {
   IntPtr pDisplayPipeline = pipeline.NonConstPointer();
   IntPtr ptr = ConstPointer();
   int argb = color.ToArgb();
   UnsafeNativeMethods.CRhinoDisplayPipeline_DrawSurface(pDisplayPipeline, ptr, argb, density);
 }
Пример #2
0
 internal virtual void Draw(Display.DisplayPipeline pipeline, System.Drawing.Color color, int thickness)
 {
   IntPtr pDisplayPipeline = pipeline.NonConstPointer();
   IntPtr ptr = ConstPointer();
   int argb = color.ToArgb();
   UnsafeNativeMethods.CRhinoDisplayPipeline_DrawCurve(pDisplayPipeline, ptr, argb, thickness);
 }