개정판 06b40010
dev issue #497 : Snap Grid 기능 추가 (SPPID 도면만 현재 가능)
Change-Id: If1fd23c7e22a18f95054160fe12914ed0384bc4b
DTI_PID/SPPIDConverter/SPPIDModel/SPPID_Document.cs | ||
---|---|---|
90 | 90 |
double y = double.NaN; |
91 | 91 |
SPPIDUtil.ConvertPointBystring(item.ORIGINALPOINT, ref x, ref y); |
92 | 92 |
SPPIDUtil.ConvertSPPIDPoint(ref x, ref y, SIZE_WIDTH, SIZE_HEIGHT, SPPIDDocumentX, SPPIDDocumentY); |
93 |
|
|
94 |
SPPIDUtil.ConvertGridPoint(ref x, ref y); |
|
95 |
|
|
93 | 96 |
item.SPPID.ORIGINAL_X = x; |
94 | 97 |
item.SPPID.ORIGINAL_Y = y; |
95 | 98 |
} |
... | ... | |
116 | 119 |
double y = double.NaN; |
117 | 120 |
SPPIDUtil.ConvertPointBystring(item.ORIGINALPOINT, ref x, ref y); |
118 | 121 |
SPPIDUtil.ConvertSPPIDPoint(ref x, ref y, SIZE_WIDTH, SIZE_HEIGHT, SPPIDDocumentX, SPPIDDocumentY); |
122 |
|
|
123 |
SPPIDUtil.ConvertGridPoint(ref x, ref y); |
|
124 |
|
|
119 | 125 |
item.SPPID.ORIGINAL_X = x; |
120 | 126 |
item.SPPID.ORIGINAL_Y = y; |
121 | 127 |
} |
내보내기 Unified diff