示例#1
0
 public DxfViewPort()
     : base()
 {
     LowerLeft           = DxfPoint.Origin;
     UpperRight          = new DxfPoint(1.0, 1.0, 0.0);
     ViewCenter          = DxfPoint.Origin;
     SnapBasePoint       = DxfPoint.Origin;
     SnapSpacing         = new DxfVector(1.0, 1.0, 0.0);
     GridSpacing         = new DxfVector(1.0, 1.0, 0.0);
     ViewDirection       = DxfVector.ZAxis;
     TargetViewPoint     = DxfPoint.Origin;
     ViewHeight          = 1.0;
     ViewPortAspectRatio = 1.0;
     LensLength          = 50.0;
     FrontClippingPlane  = 0.0;
     BackClippingPlane   = 0.0;
     ViewHeight          = 1.0;
     SnapRotationAngle   = 0.0;
     ViewTwistAngle      = 0.0;
     ViewMode            = 0;
     CircleSides         = 1000;
     FastZoom            = true;
     UCSIcon             = 3;
     SnapOn                   = false;
     GridOn                   = false;
     SnapStyle                = DxfSnapStyle.Standard;
     SnapIsometricPlane       = DxfSnapIsometricPlane.Left;
     PlotStyleSheet           = null;
     RenderMode               = DxfViewRenderMode.Classic2D;
     HasOwnUCS                = false;
     UCSOrigin                = DxfPoint.Origin;
     UCSXAxis                 = DxfVector.XAxis;
     UCSYAxis                 = DxfVector.YAxis;
     OrthographicViewType     = DxfOrthographicViewType.None;
     UCSElevation             = 0.0;
     UCSHandle                = 0u;
     BaseUCSHandle            = 0u;
     ShadePlotSetting         = DxfShadeEdgeMode.FacesShadedEdgeNotHighlighted;
     MajorGridLines           = false;
     BackgroundObjectPointer  = 0u;
     ShadePlotObjectPointer   = 0u;
     VisualStyleObjectPointer = 0u;
     IsDefaultLightingOn      = true;
     DefaultLightingType      = DxfDefaultLightingType.OneDistantLight;
     Brightness               = 0.0;
     Contrast                 = 0.0;
     AmbientColor             = DxfColor.FromRawValue(7);
     AmbientColorInt          = 0;
     AmbientColorName         = "BLACK";
 }
示例#2
0
 public DxfBoundingBox(DxfPoint minimumPoint, DxfVector size)
 {
     MinimumPoint = minimumPoint;
     Size         = size;
 }