?? line.cs
字號:
?using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
namespace SunDXFDll
{
[StructLayout(LayoutKind.Sequential)]
public struct Line
{
public int x1;
public int y1;
public int x2;
public int y2;
public Line(int X1, int Y1, int X2, int Y2)
{
this.x1 = X1;
this.y1 = Y1;
this.x2 = X2;
this.y2 = Y2;
}
}
[StructLayout(LayoutKind.Sequential)]
public struct Rect
{
public int X1;
public int X2;
public int Y1;
public int Y2;
public Rect(int x1, int y1, int x2, int y2)
{
this.X1 = x1;
this.X2 = x2;
this.Y1 = y1;
this.Y2 = y2;
}
}
public enum HatchStyle
{
hsSolid,
hsPatternData,
hsHorizontal,
hsVertical,
hsFDiagonal,
hsBDiagonal,
hsCross,
hsDiagCross
}
public enum HatchBoundaryType
{
hbtPolyPolyline,
hbtCircle,
hbtEllipse
}
public enum DXFIntConst : short
{
DXF_ALTERNATIVEBLACK = 250,
DXF_AQUA = 4,
DXF_BLACK = 7,
DXF_BLUE = 5,
DXF_BYBLOCK = 0,
DXF_BYLAYER = 0x100,
DXF_DKGRAY = 0xfb,
DXF_FUCHSIA = 6,
DXF_GRAY = 8,
DXF_GREEN = 0x4a,
DXF_LIME = 3,
DXF_LTGRAY = 0xfe,
DXF_MAROON = 14,
DXF_NAVY = 0x9a,
DXF_OLIVE = 0x2c,
DXF_PURPLE = 0xe0,
DXF_RED = 1,
DXF_SILVER = 9,
DXF_TEAL = 12,
DXF_WHITE = 0xff,
DXF_YELLOW = 2
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -