home *** CD-ROM | disk | FTP | other *** search
Text File | 1988-02-09 | 30.1 KB | 1,243 lines |
-
-
-
-
-
-
-
-
-
- ú┴ ú├ ú┴ ú─ ú«ú╠ ú╔ ú┬ ╙├ ╗º ╩╓ ▓ß
-
-
-
- ░µ ▒╛: 1.0
-
-
-
-
-
- ------ ╓▒╜╙╔·│╔ú┴ú⌡ú⌠ú∩ú├ú┴ú─╡─ú─ú╫ú╟═╝╨╬╬─╝■╡─ ------
-
-
-
- ╕▀ ╝╢ ╙∩ ╤╘ ┐Γ
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ╓╨╣·┐╞╤º╘║╧ú═√╕▀╝╢╡τ─╘╝╝╩⌡╣½╦╛
-
- ╥╗╛┼░╦╞▀─Ω╩«╢■╘┬
-
-
- ╡┌╥╗╒┬ ╨≥ ╤╘
-
-
- ú┴ú⌡ú⌠ú∩ú├ú┴ú─╩╟├└╣·ú┴ú⌡ú⌠ú∩úΣúσú≤úδ╣½╦╛┐¬╖ó╡─═¿╙├╝╞╦π╗·╕¿╓·╗µ═╝
- ╚φ╝■ú¼─┐╟░╦ⁿ╥╤│╔╬¬╣·─┌═Γ╬ó╗·╔╧╙ª╙├╫ε╣π╖║╡─ú├ú┴ú─╚φ╝■íú╙ª╙├┴∞╙≥░ⁿ└¿ú║
- ╡τ╫╙íó╗·╨╡íó╜¿╓■íó╗»╣ñíó╣ñ│╠íó╖■╫░íó╥╒╩⌡╡╚íú╦ⁿ╓«╦∙╥╘╡├╡╜╚τ┤╦╣π╖║╡─╙ª
- ╙├ú¼╩╟╥≥╬¬╞Σ╧╡═│╡─┐¬╖┼╨╘ú¼╝░╞Σ╠ß╣⌐╡─╕≈╓╓╢■┤╬┐¬╖ó╡─╩╓╢╬ú║╙├╗º┐╔╥╘╫╘╝║
- ▒α╓╞╕≈╓╓╫¿╥╡╡─╫¿╙├╞┴─╗╝░╩²╫╓╗»╥╟▓╦╡Ñú╗╩╣╙├├ⁿ┴ε╬─╝■ú¼╙├╞Σ╗∙▒╛├ⁿ┴ε╫Θ║╧
- │╔╕▀╝╢╡─├ⁿ┴εú╗╠ß╣⌐╨φ╢α╓╓═╝╨╬╩²╛▌╜╗╗╗╬─╝■ú║ú─ú╪ú╞ú¼ú─ú╪ú┬ú¼ú╔ú╟ú┼ú╙ú╗
- ú┴ú⌡ú⌠ú∩ú├ú┴ú──┌▓┐╘╦╨╨╡─▒α│╠╙∩╤╘ú┴ú⌡ú⌠ú∩ú╠úΘú≤ú≡ú╗╥╘╝░═¿╣²ú≤úΦúσú∞ú∞
- ├ⁿ┴ε╓▒╜╙╡≈╙├═Γ▓┐╡─╓┤╨╨│╠╨≥íú╒Γ╨⌐╩╓╢╬╬▐╥╔╩╟╓º│╓┴╦╙├╗º╜°╨╨╕≈╫¿╥╡╡─╢■┤╬
- ┐¬╖óú¼╚╗╢°╗╣╙╨║▄┤≤╡─╛╓╧▐╨╘ú║▒╪╨δ═¿╣²╫¬╗╗▓┼─▄░╤═╝╨╬╜╗╗╗╬─╝■▒Σ│╔┐╔╙├╡─
- ═╝╨╬╬─╝■ú╗├ⁿ┴ε╬─╝■╓┤╨╨╦┘╢╚┬²ú¼╟╥╚▒╔┘╤¡╗╖╙δ╖╓╓ºú╗ú┴ú⌡ú⌠ú∩ú╠úΘú≤ú≡╙∩╤╘
- ╩▄╡╜─┌┤µ╡─╧▐╓╞ú¼▓ó╙╔╙┌╩╟╜Γ╩═╓┤╨╨ú¼▓╗─▄▒α╓╞┤≤╨═íó╕┤╘╙╢°╨º┬╩╕▀╡─│╠╨≥ú¼
- ╢°╟╥╫≈╬¬╙∩╤╘╥▓▓╗╚τ╞Σ╦ⁿ╕▀╝╢▒α│╠╙∩╤╘╥╫╙┌╒╞╬╒íú╬¬╗║╜Γ╔╧╩÷├¼╢▄ú¼╬╥╣½╦╛╢╘
- ú┴ú⌡ú⌠ú∩ú├ú┴ú─╡─ú─ú╫ú╟═╝╨╬╬─╝■╜°╨╨┴╦╧╡═│╡╪╖╓╬÷ú¼┐¬╖ó│÷┐╔╣⌐╕▀╝╢╙∩╤╘╓▒
- ╜╙╡≈╙├╡─ú┴ú⌡ú⌠ú∩ú├ú┴ú─╜╙┐┌│╠╨≥┐Γú║ú┴ú├ú┴ú─ú«ú╠ú╔ú┬íú╦ⁿ┐╔╩╣─π╙├╕▀╝╢╙∩
- ╤╘╙├└α╦╞╙┌ú┴ú⌡ú⌠ú∩ú├ú┴ú─╡─═╝╨╬▒α╝¡├ⁿ┴ε╡─║»╩²╓▒╜╙╔·│╔ú─ú╫ú╟═╝╨╬╬─╝■íú
- ╞Σ║├┤ª╘┌╙┌┐╔╥╘╓▒╜╙╘┌╞┴─╗╔╧╢╘╞Σ╜°╨╨▒α╝¡íó╨▐╕─íó▓σ╚δ(╡≈╙├)ú¼╓▒╜╙╙├╗µ═╝
- ╗·╝░┤≥╙í╗·╩Σ│÷íú╘┌═╝╨╬▒α╝¡╫┤╠¼╧┬ú¼┐╔╓▒╜╙╔·│╔─π╦∙╨Φ╥¬╡─═╝╨╬┐Θú¼╢°╬▐╨Φ
- ╚╬║╬╫¬╗╗╣²│╠íú╦ⁿ╗╣╩╟▒φ╩╛ú┴ú⌡ú⌠ú∩ú├ú┴ú─═╝╨╬╡─╫ε╜⌠┤╒╡─╩²╛▌╬─╝■ú¼┤≤┤≤╜┌
- ╩í─π╡─┤┼┼╠┐╒╝Σíú╙╔╙┌ú┴ú├ú┴ú─ú«ú╠ú╔ú┬╩╟╙╔╕▀╝╢╙∩╤╘ú├ú¼ú╞ú∩ú≥ú⌠ú≥úßúε╡╚
- ╡≈╙├ú¼╥≥┤╦╥╗░π╙├╗º╥╫╙┌╒╞╬╒ú¼╩╣╙├╖╜▒πíú╦ⁿ╠╪▒≡╩╩║╧╙├╙┌╔·│╔╕≈╓╓╫¿╙├íó╕┤
- ╘╙╝░╚²╬¼╡─═╝╨╬┐Θú¼┐╔╤╕╦┘╜½╣ñ│╠╩²╛▌╫¬╗╗│╔╩╡╙├╡─═╝╨╬íú│╔╬¬╙├╗º╢■┤╬┐¬╖ó
- ╡─╙╨╨º╣ñ╛▀íú
-
-
-
- ╡┌╢■╒┬ ACAD.LIB ╜Θ ╔▄
-
- 2.1 ╙▓╝■╗╖╛│:
-
- ╙╔ ACAD.LIB ╔·│╔╡─╚φ╝■┐╔╘╦╨╨╙┌ IBM-PC/XT, AT ╝░╞Σ╝µ╚▌╗·. ╫ε║├╥¬╙╨ 10
- ╒╫╗≥ 10 ╒╫╥╘╔╧╡─┤≤╚▌┴┐╙▓┼╠. ─┌┤µ╬¬ 512K ╗≥ 640K. ╞Σ╦ⁿ╔Φ▒╕┐╔░┤ AutoCAD ╡─
- ╥¬╟≤╤í╙├.
-
- ╘┌─│╨⌐╟Θ┐÷╧┬, ╝┤╩╣├╗╙╨═╝╨╬╝α╩╙╞≈, ╥▓┐╔╥╘└√╙├ ACAD.LIB ╡─│╠╨≥╔·│╔═╝╨╬
- ╬─╝■, ╚╗║≤╙├╗µ═╝╗·╩Σ│÷.
-
-
- 2.2 ╚φ╝■╗╖╛│:
-
- ACAD.LIB ╩╟╘┌ MS.DOS ╧╡═│╧┬, ╙├ Microsoft C 4.0 ░µ╡─ C ╙∩╤╘┐¬╖ó╡─.
- ╥¬╟≤╡─╗╖╛│╚τ╧┬:
-
- 1.▓┘╫≈╧╡═│▒╪╨δ╬¬ MS-DOS (╗≥ PC-DOS) 2.0 ░µ╗≥╕ⁿ╕▀░µ▒╛.
-
- 2.▓╔╙├╡─╕▀╝╢╙∩╤╘▒╪╨δ╬¬╥╘╧┬╝╕╓╓:
-
- a.Microsoft Fortran 3.3 ░µ╗≥╕ⁿ╕▀░µ.
- b.Microsoft Pascal 3.3 ░µ╗≥╕ⁿ╕▀░µ.
- c.Microsoft C 4.0 ░µ╗≥╕ⁿ╕▀░µ.
- d.┐╔╥╘╙δMicrosoft C 4.0 ░µ│╠╨≥┴¼╜╙╡─╞Σ╦ⁿ╚╬║╬╙∩╤╘.
-
- 3.link │╠╨≥▒╪╨δ▓╔╙├ Microsoft link 3.51 ░µ╗≥╕ⁿ╕▀░µ▒╛.
-
- 4.╙╔ ACAD.LIB │╠╨≥┐Γ╔·│╔╡─ DWG═╝╨╬╬─╝■╡─░µ▒╛║┼╙δ▓╔╙├╡─╤∙░σ═╝╨╬╬─╝■╙╨╣╪.
-
- 5.╘┌═╝╨╬╬─╝■╔·│╔╩▒, ╨Φ╘┌┼╠╔╧═¼╩▒┤≥┐¬8-10╕÷╬─╝■. ╥≥┤╦▒╪╨δ╘┌╧╡═│╡─┼Σ╓├╬─╝■
- ╓╨, ╜½┐╔═¼╩▒┤≥┐¬╡─╬─╝■╕÷╩²╢¿╬¬20╕÷, ╝┤files=20.
-
- 6.╙╔╙┌ ACAD.LIB ╓╨╡─║»╩²╧α╡▒╙┌ AtuoCAD ═╝╨╬▒α╝¡╓╨╡──│╠⌡├ⁿ┴ε (│² OPNDWG
- ╙δ clodwg ═Γ). ╥≥┤╦╙╨▒╪╥¬╩∞╧ñ AutoCAD ╡─╩╣╙├╝░╞Σ╣ª─▄.
-
- 7.╦∙╙╨╛▀╙╨╢α╓╓─┌┤µ─ú╩╜╡─╙∩╤╘╙δ ACAD.LIB ╧α┴¼, ╢╝▒╪╨δ▓╔╙├┤≤╡──┌┤µ─ú╩╜.
-
- 2.3 ┐Γ║»╩²╟σ╡Ñ
-
- 1. ARC ╗µ╘▓╗í
-
- 2. ATTDEF ╩⌠╨╘╢¿╥σ
-
- 3. BLOCK ╔·│╔═╝╨╬┐Θ
-
- 4. CIRCLE ╗µ╘▓
-
- 5. CLODWG ╣╪▒╒═╝╨╬╬─╝■
-
- 6. DOUCIR ╗µ╘▓╗╖╗≥╩╡╨─╘▓
-
- 7. FACE3D ╗µ╚²╬¼├µ
-
- 8. INSERT ═╝╨╬┐Θ▓σ╚δ
-
- 9. LAYER ╔Φ╡▒╟░▓π, ╗≥╤í╥╗╕÷╨┬╡─╡▒╟░▓π
-
- 10. LINE ╗µ╓▒╧▀
-
- 11. LINE3D ╗µ╚²╬¼╓▒╧▀
-
- 12. OPNDWG ┤≥┐¬═╝╨╬╬─╝■
-
- 13. PLINE ╗µ╢¿┐φ╕┤║╧╧▀
-
- 14. POINT ╗µ╡π
-
- 15. POLINE ╗µ▒Σ┐φ╕┤║╧╧▀
-
- 16. SOLID ╗µ╠ε│Σ╩╡╠σ
-
- 17. STYLE ╔Φ╡▒╟░╫╓╠σ, ╗≥╔·│╔╥╗╕÷╨┬╡─╡▒╟░╫╓╠σ
-
- 18. TEXT ▒Ω╫ó╬─╫╓
-
- 19. TRACE ╗µ┤°┐φ╢╚╓▒╧▀
-
- 20. WBLOCK ╔·│╔═╝╨╬┐Θ, ▓ó╨╬│╔┤┼┼╠╬─╝■
-
-
-
- 2.4 ╓º│╓╡─╕▀╝╢╙∩╤╘╝░┴¼╜╙╖╜╖¿
-
- ACAD.LIB ╩╟╙├ Microsoft C 4.0 ░µ╩╡╧╓╡─, ▒α╥δ▓╔╙├┴╦┤≤─ú╩╜. ╥≥┤╦╚╬║╬┐╔
- ╥╘╙δ MS C 4.0 ░µ┴¼╜╙╡─╙∩╤╘╢╝┐╔╡≈╙├ ACAD.LIB ╓╨╡─┐Γ║»╩². ╧┬├µ╬╥├╟╕°│÷╙δ╚²
- ╕÷▒Ω╫╝░µ▒╛╡─╕▀╝╢╙∩╤╘╡─┴¼╜╙╡─╖╜╖¿. ╘┌┤╦╥╘═Γ╡─╚╬║╬╞Σ╦ⁿ▒α│╠╙∩╤╘, ╓╗╥¬─▄╙δ
- MS C 4.0░µ┴¼╜╙, ▓╬╒╒╞Σ╦╡├≈╩Θ, ╝┤┐╔╡≈╙├ ACAD.LIB ┐Γ║»╩².
-
- ╥╗. C ╙∩╤╘:
-
- C ▒α╥δ│╠╨≥▒╪╨δ▓╔╙├ Microsoft C 4.0 ░µ, ╗≥╕ⁿ╕▀░µ▒╛. ▒α╥δ─ú╩╜▒╪╨δ╤í┤≤
- ╨═, ╗≥╛▐╨═(╝┤╙├▒α╥δ╤í╧ε /AL, /AH). ╘┌╬╥├╟╠ß╣⌐╡─ ACAD.LIB╡─ C ╙∩╤╘░µ▒╛┼╠
- ╔╧, ╣▓╙╨╥╘╧┬ 5 ╕÷╬─╝■.
-
- 1. ACAD.LIB ------ ╓▒╜╙╔·│╔AutoCAD DWG═╝╨╬╬─╝■╡─║»╩²┐Γ.
- 2. ALIBC.H ------- ║»╩²╦╡├≈═╖╬─╝■, ╦╡├≈╦∙╙╨┐Γ║»╩²╡─└α╨═, ╝░▓╬╩²└α╨═.
- 3. ACAD.DWG ------ ╗∙╙┌AutoCAD 2.5░µ╡─╤∙░σ═╝╨╬╬─╝■.
- 4. HCAD.DWG ------ ╗∙╙┌HCAD 2.5░µ╡─╤∙░σ═╝╨╬╬─╝■.
- 5. DEMO.C -------- ACAD.LIB┐Γ║»╩²╡≈╙├╩╡└².
- 6. ACADLIB.DOC --- ▒╛╩╓▓ß.
-
- ╧┬├µ╥╘ DEMO │╠╨≥╬¬└², ╕°│÷▒α╥δ, ┴¼╜╙╣²│╠:
-
- 1. ▒α╥δ:
- MSC /AL demo;
- 2. ┴¼╜╙:
- link /STACK:8000 demo,,,ACAD
-
- ╢■. Fortran ╙∩╤╘:
-
- Fortran▒α╥δ│╠╨≥▒╪╨δ▓╔╙├ Microsoft Fortran 3.3 ░µ╗≥╕ⁿ╕▀░µ▒╛. ╘┌╬╥├╟╠ß
- ╣⌐╡─ ACAD.LIB ╡─ Fortran ░µ▒╛┼╠╔╧, ╣▓╙╨╥╘╧┬ 8╕÷╬─╝■:
-
- 1. ACAD.LIB ------ ╓▒╜╙╔·│╔ AutoCAD DWG ═╝╨╬╬─╝■╡─║»╩²┐Γ.
- 2. ALIBF.H ------- ║»╩²╦╡├≈═╖╬─╝■, ╦╡├≈╦∙╙╨┐Γ║»╩²╡─└α╨═╝░╞Σ▓╬╩²└α╨═.
- 3. ACAD.DWG ------ ╗∙╙┌ AutoCAD 2.5 ░µ╡─╤∙░σ═╝╬─╝■.
- 4. ACAD.DWG ------ ╗∙╙┌ HCAD 2.5 ░µ╡─╤∙░σ═╝╬─╝■.
- 5. DEMO.FOR ------ ACAD.LIB ┐Γ║»╩²╡≈╙├╩╡└².
- 6. ACADLIB.DOC --- ▒╛╩╓▓ß.
- 7. LIBH.LIB ------|
- 8. LLIBC.LIB -----|
- 9. LLIBFP.LIB ----|- C ╙∩╤╘▒Ω╫╝┐Γ║»╩²
- 10. LLIBFA.LIB ----|
- 11. EM.LIB --------|
-
- ╧┬├µ╥╘ DEMO.FOR │╠╨≥╬¬└², ╕°│÷▒α╥δ, ┴¼╜╙╣²│╠:
-
- 1. ▒α╥δ:
- FOR1 DEMO
- PAS2
- 2. ┴¼╜╙:
- LINK DEMO,,,ACAD
-
- ╫ó╥Γ: ╦∙╙╨╫╓╖√┤«▒╪╨δ╙╨C ╩⌠╨╘, ╝┤╫╓╖√┤«║≤╕·╥╗╫╓─╕ C. (└²╚τ`ACAD.DWG'C).
- ╦∙╙╨╥¬╟≤╩²╫Θ╫≈╬¬▓╬╩²╡─║»╩², ╘┌╫≈▓╬╩²╠µ╗╗╩▒, ▒╪╨δ╙├╞Σ╡┌╥╗╕÷╘¬╦╪╫≈
- ╬¬▓╬╩². (└²╚τ PACE3D(XX[1], YY[1], ZZ[1], 6)).
-
-
-
- ╚². PASCAL ╙∩╤╘:
-
- PASCAL ▒α╥δ│╠╨≥▒╪╨δ▓╔╙├ Microsoft Fortran 3.3 ░µ╗≥╕ⁿ╕▀░µ▒╛. ╘┌╬╥├╟╠ß
- ╣⌐╡─ ACAD.LIB ╡─ PASCAL ░µ▒╛┼╠╔╧, ╣▓╙╨╥╘╧┬ 8 ╕÷╬─╝■:
-
- 1. ACAD.LIB ------ ╓▒╜╙╔·│╔AutoCAD DWG═╝╨╬╬─╝■╡─║»╩²┐Γ.
- 2. ALIBP.H ------- ║»╩²╦╡├≈═╖╬─╝■, ╦╡├≈╦∙╙╨┐Γ║»╩²╡─└α╨═╝░╞Σ▓╬╩²└α╨═.
- 3. ACAD.DWG ------ ╗∙╙┌AutoCAD 2.5░µ╡─╤∙░σ═╝╬─╝■.
- 4. DEMO.PAS ------ ACAD.LIB┐Γ║»╩²╡≈╙├╩╡└².
- 5. ACADLIB.DOC --- ▒╛╩╓▓ß.
- 6. LIBH.LIB ------|
- 7. LLIBC.LIB -----|
- 8. LLIBFP.LIB ----|- C ╙∩╤╘▒Ω╫╝┐Γ║»╩²
- 9. LLIBFA.LIB ----|
- 10. EM.LIB --------|
-
- ╧┬├µ╥╘ DEMO.PAS │╠╨≥╬¬└², ╕°│÷▒α╥δ, ┴¼╜╙╣²│╠:
-
- 1. ▒α╥δ:
- PAS1 demo
- PAS2
- 2. ┴¼╜╙:
- LINK DEMO,,,ACAD
-
- ╫ó╥Γ: ╦∙╙╨╫╓╖√┤«▒╪╨δ╥╘┴π╫≈╬¬╜ß╩°╖√. (└²╚τ "ACAD.DWG"*CHS(0)). ╦∙╙╨╥¬╟≤
- ╩²╫Θ╫≈╬¬▓╬╩²╡─║»╩², ╘┌╫≈▓╬╩²╠µ╗╗╩▒, ▒╪╨δ╙├╞Σ╡┌╥╗╕÷╘¬╦╪╫≈╬¬▓╬╩².
- ( └²╚τ PACE3D(XX[1], YY[1], ZZ[1], 6)).
-
-
- 2.5 ┐Γ║»╩²▒Ω╫╝╖╡╗╪┬δ╢¿╥σ:
-
- 0 = ╡≈╙├│╔╣ª
- 1 = ╬─╝■┤≥┐¬│÷┤φ
- 2 = ╢┴╬─╝■│÷┤φ
- 3 = ╨┤╬─╝■│÷┤φ
- 4 = ╬─╝■╢¿╬╗│÷┤φ
-
-
- 2.6 ACAD.LIB┐Γ╝╙├▄╦╡├≈
-
- ╙╔ACAD.LIB│╠╨≥┐Γ╔·│╔╡─│╠╨≥▒╪╨Φ┼Σ╙╨╬╥╣½╦╛╫¿├┼╡─╝╙├▄┐¿╖╜─▄╘╦╨╨.
-
-
-
-
- ╡┌╚²╒┬ ACAD.LIB ┐Γ║»╩²╡≈╙├╖╜╖¿
-
-
- ACAD.LIB╣▓╙╨┐╔╡≈╙├╡─║»╩²19╕÷. │²┴╦OPNDWG╙δCLODWG║»╩²═Γ, ╞Σ╦ⁿ║»╩²╢╝╢╘
- ╙ª╙┌AutoCAD╡─╥╗╕÷├ⁿ┴ε. ╥≥╢°╧Ω╧╕┴╦╜ΓAutoCAD╧α╙ª╡─├ⁿ┴ε, ╗ß╙╨╓·╙┌╙├║├╒Γ╨⌐║»
- ╩². ╧┬├µ╕°│÷├┐╕÷║»╩²╡─╛▀╠σ╡≈╙├╖╜╖¿, ╝░╞Σ╚δ┐┌▓╬╩², ╖╡╗╪▓╬╩²╡─╢¿╥σ.
-
-
- 3.1 ARC
- ║»╩²╦╡├≈: arc(x0,y0,r0,ang0,ang1)
- double x0,y0,r0,ang0,ang1;
-
- ╣ª─▄╦╡├≈: ╗µ╥╗╕°╢¿╘▓╨─, ░δ╛╢╝░╞≡╩╝╜╟╙δ╓╒╓╣╜╟╡─╘▓╗í.
-
- ▓╬╩²╦╡├≈: ╦∙╙╨▓╬╩²╢╝╩╟╦½╛½╢╚╩╡╩², ╞Σ╓╨x0, y0╬¬╘▓╨─, r0╬¬░δ╛╢, ango, angl╬¬
- ╞≡╩╝╜╟╢╚╙δ╓╒╓╣╜╟╢╚, ╙╔╗í╢╚▒φ╩╛.
-
- ╡≈╙├╛┘└²:
-
- ---------------------------- C ---------------------------------
-
- int circle(x0,y0,r);
- double x0,y0,r;
-
- int error;
- error = arc(x0,y0,r0,ang0,ang1);
-
- ------------------------- FORTRAN ------------------------------
-
- INTERFACE TO INTEGER*2 FUNCTION ARC[C](X0,Y0,R0,ANG0,ANG1)
- DOUBLE PRECISION X0,Y0,R0,ANG0,ANG1
- END
-
- INTEGER*2 ARC
- IERR = ARC(X0,Y0,R0,ANG0,ANG1)
-
- ------------------------- PASCAL -------------------------------
-
- FUNCTION arc(x0,y0,r0,ang0,ang1:REAL8):INTEGER2[C];EXTERN;
- PROCEDURE arcp;
- VAR error:INTEGER2;
- BEGIN
- error = arc(x0,y0,r0,ang0,ang1)
- END;
-
- ╖╡╗╪╓╡╦╡├≈: ╖╡╗╪╓╡╬¬ 5▒φ╩╛░δ╛╢ r╨í╙┌╗≥╡╚╙┌ 0. ╞Σ╦ⁿ╖╡╗╪╓╡▓╬╒╒2.5╜┌╢¿╥σ.
-
-
- ע:
-
-
- 3.2 ATTDEF
- ║»╩²╦╡├≈: attdef(aname,adefault,aprompt,xb,yb,ascale,aangle,alab)
- char *aname,*adefault,*aprompt;
- double xb,yb,ascale,aangle;
- int alab;
-
- ╣ª─▄╦╡├≈: ╢¿╥σ╥╗╕÷╩⌠╨╘. Insert╩▒,╩⌠╨╘╓╡░┤╚▒╩í╓╡▓σ╚δ.
-
- ▓╬╩²╦╡├≈: aname: ╩⌠╨╘├√;
- adefault: ╩⌠╨╘╚▒╩í╓╡;
- aprompt: ╩⌠╨╘╠ß╩╛;
- xb,yb: ╩⌠╨╘╗∙╡π╡─╫°▒Ω╓╡;
- ascale: ▒╚└²╓╡;
- aangle: ╘┌XY╞╜├µ╔╧╚╞╗∙╡π╨²╫¬╡─╜╟╢╚,╗í╢╚╓╡;
- alab: ▒Ω╓╛╓╡;
- 0: ╥╘╧┬╚²╓╓╖╜╩╜╡─╖±;
- 1: Invisible (▓╗┐╔╝√╖╜╩╜);
- 2: Constant (║π╢¿╖╜╩╜);
- 4: Verify (╤Θ╓ñ╖╜╩╜);
- 1,2║═4╖╜╩╜┐╔╥╘╗∞║╧╩╣╙├,╚τ╙√╓├╖╜╩╜╬¬(IC),┐╔╓├
- lab=1+2=3.
-
-
- ╡≈╙├╛┘└²:
-
- ---------------------------- C ---------------------------------
-
- int attdef(aname,adefault,aprompt,xb,yb,ascale,aangle,alab)
- char *aname,*adefault,*aprompt;
- double xb,yb,ascale,aangle;
- int alab;
-
- int error;
- error = attdef(aname,adefault,aprompt,xb,yb,ascale,aangle,alab);
-
- ------------------------- FORTRAN ------------------------------
-
- INTERFACE TO INTEGER*2 FUNCTION ATTDEF[C](ANAME[REFERENCE],
- + ADEFAULT[REFERENCE],APROMPT[REFERENCE],XB,
- + YB,ASCALE,AANGLE,ALAB)
- CHARACTER*1 ANAME,ADEFAULT,APROMPT
- INTEGER*2 ALAB
- DOUBLE PRECISION XB,YB,ASCALE,AANGLE
- END
-
- INTEGER*2 ATTDEF
- IERR = ATTDEF('ANAME'C,'ADEFAULT'C,' 'C,XB,YB,ASCALE,AANGLE,ALAB)
-
- ------------------------- PASCAL -------------------------------
-
- FUNCTION attdef(VARS aname,adefault,aprompt:BYTE;
- xb,yb,ascale,aangle:REAL8;
- alab:INTEGER2;):INTEGER2[C];EXTERN;
- PROCEDURE attdefp;
- VAR error:INTEGER2;
- BEGIN
- error = attdef("aname"*CHR(0),"adefault"*CHR(0)," "*CHR(0),
- xb,yb,ascale,aangle,alab)
- END;
-
- ╖╡╗╪╓╡╦╡├≈: ╦∙╙╨╖╡╗╪╓╡▓╬╒╒2.5╜┌╢¿╥σ.
-
-
- ע:
-
-
- 3.3 BLOCK
- ║»╩²╦╡├≈: block(blk_name,xb,yb)
- char blk_name[];
- double xb,yb;
-
- ╣ª─▄╦╡├≈: ┤╦║»╩²╜½┤╙┤≥┐¬═╝╨╬╬─╝■(═¿╣²╡≈╙├OPNDWG║»╩²), ╗≥┤╙╔╧╥╗┤╬╡≈╙├ block
- ╗≥wblock║»╩²┐¬╩╝, ╡╜▒╛┤╬╡≈╙├╕├║»╩²╬¬╓╣╦∙╔·│╔╡─╦∙╙╨╩╡╠σ╫÷│╔╥╗╕÷═╝
- ╨╬┐Θ. ╕├═╝╨╬┐Θ╬¬─┌▓┐┐Θ, ╜÷┐╔╘┌▒╛═╝╨╬─┌▓┐╥²╙├.
-
- ▓╬╩²╦╡├≈: blk-name╬¬╫╓╖√┤«└α╨═, ▒φ╩╛┐Θ├√. xb, yb╬¬╦½╛½╢╚╩╡╩²└α╨═, ▒φ╩╛┐Θ╡─
- ╗∙╡π.
-
- ╡≈╙├╛┘└²:
-
- ---------------------------- C ---------------------------------
-
- int block(blk_name,xb,yb);
- char blk_name[];
- double xb,yb;
-
- int error;
- error = block("block1",xb,yb);
-
- ------------------------- FORTRAN ------------------------------
-
- INTERFACE TO INTEGER*2 FUNCTION BLOCK[C](BLKNAME[REFERENCE],
- + XB,YB)
- CHARACTER*1 BLKNAME
- DOUBLE PRECISION XB,YB
- END
-
- INTEGER*2 BLOCK
- IERR = BLOCK('BLOCK1'C,XB,YB)
-
- ------------------------- PASCAL -------------------------------
-
- FUNCTION block(VARS blk_name:STRING(31);xb,yb:REAL8):INTEGER2[C];EXTERN;
-
- PROCEDURE blockp;
- VAR error:INTEGER2;
- BEGIN
- error = block("block1"*CHR(0),xb,yb)
- END;
-
- ╖╡╗╪╓╡╦╡├≈: ╦∙╙╨╖╡╗╪╓╡▓╬╒╒2.5╜┌╢¿╥σ.
-
- ע:
-
-
- 3.4 CIRCLE
- ║»╩²╦╡├≈: circle(x0,y0,r)
- double x0,y0,r;
-
- ╣ª─▄╦╡├≈: ╗µ╥╗╕°╢¿╘▓╨─╝░░δ╛╢╡─╘▓.
-
- ▓╬╩²╦╡├≈: ╦∙╙╨▓╬╩²╢╝╩╟╦½╛½╢╚╩╡╩², ╞Σ╓╨x0, y0╬¬╘▓╨─, r╬¬░δ╛╢.
-
- ╡≈╙├╛┘└²:
-
- ---------------------------- C ---------------------------------
-
- int circle(x0,y0,r);
- double x0,y0,r;
-
- int error;
- error = circle(x0,y0,r);
-
- ------------------------- FORTRAN ------------------------------
-
- INTERFACE TO INTEGER*2 FUNCTION CIRCLE[C](X0,Y0,R)
- DOUBLE PRECISION X0,Y0,R
- END
-
- INTEGER*2 CIRCLE
- IERR = CIRCLE(X0,Y0,R)
-
- ------------------------- PASCAL -------------------------------
-
- FUNCTION circle(x0,y0,r:REAL8):INTEGER2[C];EXTERN;
-
- PROCEDURE circlep;
- VAR error:INTEGER2;
- BEGIN
- error = circle(x0,y0,r)
- END;
-
- ╖╡╗╪╓╡╦╡├≈: ╖╡╗╪╓╡╬¬ 5▒φ╩╛░δ╛╢╬¬ r╨í╙┌╗≥╡╚╙┌ 0,
- ╞Σ╦ⁿ╖╡╗╪╓╡▓╬╒╒ 2.5╜┌╢¿╥σ.
-
-
- ע:
-
-
- 3.5 CLODWG
- ║»╩²╦╡├≈: clodwg()
-
- ╣ª─▄╦╡├≈: ╣╪▒╒═╝╨╬╬─╝■, ╔·│╔╥╗╕÷ AutoCAD ╡─ DWG ═╝╨╬╬─╝■.
-
- ▓╬╩²╦╡├≈: ╬▐▓╬╩².
-
- ╡≈╙├╛┘└²:
-
- ---------------------------- C ---------------------------------
-
- int clodwg();
-
- int error;
- error = clodwg();
-
- ------------------------- FORTRAN ------------------------------
-
- INTERFACE TO INTEGER*2 FUNCTION CLODWG[C]()
- END
-
- INTEGER*2 CLODWG
- IERR = CLODWG()
-
- ------------------------- PASCAL -------------------------------
-
- FUNCTION clodwg():INTEGER2[C];EXTERN;
-
- PROCEDURE clodwgp;
- VAR error:INTEGER2;
- BEGIN
- error = clodwg()
- END;
-
- ╖╡╗╪╓╡╦╡├≈: ╦∙╙╨╖╡╗╪╓╡▓╬╒╒2.5╜┌╢¿╥σ.
-
-
- ╫ó: ╕├║»╩²▒╪╨δ╙δ║»╩² OPNDWG │╔╢╘╩╣╙├, ▓╗╙ª╨╬│╔╟╢╠╫╡≈╙├.
-
-
- 3.6 DOUCIR
- ║»╩²╦╡├≈: doucir(x0,y0,ir,or)
- double x0,y0,ir,or;
-
- ╣ª─▄╦╡├≈: ╗µ╕°╢¿╘▓╨─╝░─┌, ═Γ╘▓░δ╛╢╡─╘▓╗╖. ╚⌠─┌╘▓░δ╛╢╬¬ 0, ╘≥╜½╗µ│÷╩╡╨─╘▓.
-
- ▓╬╩²╦╡├≈: ╦∙╙╨▓╬╩²╢╝╩╟╦½╛½╢╚╩╡╩², ╞Σ╓╨ x0, y0 ╬¬╘▓╨─╫°▒Ω, ir ╬¬─┌╘▓░δ╛╢,
- or ╬¬═Γ╘▓░δ╛╢.
-
- ╡≈╙├╛┘└²:
-
- ---------------------------- C ---------------------------------
-
- int doucir(x0,y0,ir,or);
- double x0,y0,ir,or;
-
- int error;
- error = doucir(x0,y0,ir,or);
-
- ------------------------- FORTRAN ------------------------------
-
- INTERFACE TO INTEGER*2 FUNCTION DOUCIR[C](X0,Y0,IR,OR)
- DOUBLE PRECISION X0,Y0,IR,OR
- END
-
- INTEGER*2 DOUCIR
- IERR = DOUCIR(X0,Y0,IR,OR)
-
- ------------------------- PASCAL -------------------------------
-
- FUNCTION doucir(x0,y0,ir,or:REAL8):INTEGER2[C];EXTERN;
-
- PROCEDURE doucirp;
- VAR error:INTEGER2;
- BEGIN
- error = doucir(x0,y0,ir,or)
- END;
-
- ╖╡╗╪╓╡╦╡├≈: ╚τ╣√ir╗≥or╨í╙┌┴π, ╘≥╖╡╗╪╓╡╬¬5, ╚τ╣√ ir > or ╘≥╖╡╗╪╓╡╬¬ 6.
- ╞Σ╦ⁿ╖╡╗╪╓╡▓╬╒╒2.5╜┌╢¿╥σ.
-
-
- ע:
-
-
- 3.7 FACE3D
- ║»╩²╦╡├≈: face3d(xx,yy,zz,n)
- double xx[],yy[],zz[];
- int n;
-
- ╣ª─▄╦╡├≈: ╗µ╢α╕÷┴¼╜╙╡─╚²╬¼├µ. ├┐╕÷╚²╬¼├µ╙╔╦─╕÷╚²╬¼╡π╫≈╬¬╢Ñ╡π; ╒Γ╦─╕÷╡π╙╔╦│
- ╩▒╒δ╗≥─µ╩▒╒δ╕°│÷, ╟░╥╗╕÷╚²╬¼├µ╡─╫ε║≤┴╜╕÷╢Ñ╡π╩╟║≤╥╗╚²╬¼├µ╡─┐¬╩╝┴╜
- ╕÷╢Ñ╡π.
-
- ▓╬╩²╦╡├≈: xx, yy, zz╬¬╦½╛½╢╚╩╡╨═╩²╫Θ, ▒φ╩╛╚²╬¼├µ╢Ñ╡π╡─╚²╬¼╫°▒Ω. n╬¬╒√╨╬╩²,
- ▒φ╩╛╚²╬¼├µ╢Ñ╡π╡─╕÷╩², ▒╪╨δ n >= 4.
-
- ╡≈╙├╛┘└²:
-
- ---------------------------- C ---------------------------------
-
- int face3d(xx,yy,zz,n);
- double xx[],yy[],zz[];
-
- int error;
- error = face3d(xx,yy,zz,n);
-
- ------------------------- FORTRAN ------------------------------
-
- INTERFACE TO INTEGER*2 FUNCTION FACE3D[C](XX[REFERENCE],
- + YY[REFERENCE],ZZ[REFERENCE],N)
- DOUBLE PRECISION XX,YY,ZZ
- INTEGRE*2 N
- END
-
- INTEGER*2 FACE3D
- IERR = FACE3D(XX,YY,ZZ,N)
-
- ------------------------- PASCAL -------------------------------
-
- FUNCTION face3d(VARS xx,yy,zz:REAL8,n:INTEGER2):INTEGER2[C];EXTERN;
-
- PROCEDURE face3dp;
- VAR error:INTEGER2;
- BEGIN
- error = face3d(xx,yy,zz,n)
- END;
-
- ╖╡╗╪╓╡╦╡├≈: ╚τ╣√ n<4 ╘≥╖╡╗╪╓╡╬¬ 5, ╞Σ╦ⁿ╖╡╗╪╓╡▓╬╒╒ 2.5 ╜┌╢¿╥σ.
-
- ע:
-
-
- 3.8 INSERT
- ║»╩²╦╡├≈: insert(blk_name,xb,yb,xr,yr,zr,ro)
- char blk_name[];
- double xb,yb,xr,yr,zr,ro;
-
- ╣ª─▄╦╡├≈: ░┤╕°╢¿╡─▓σ╚δ╡π, ╝░ X,Y,Z╖╜╧≥╡─╔∞╦⌡▒╚└², ╥╘╝░╚╞┐Θ╗∙╡π╡─╨²╫¬╜╟╢╚,
- ╘┌═╝╨╬╓╨▓σ╚δ╥╤╢¿╥σ╡─═╝╨╬┐Θ. ╩╫╧╚, ╜½╦╤╦≈▒╛═╝╨╬╢¿╥σ╡──┌▓┐┐Θ, ╚τ╣√
- ├╗╙╨, ╘≥╜½╕°╢¿╡─┐Θ├√╫≈╬¬═╝╨╬╬─╝■├√, ╦╤╦≈═Γ▓┐┐Θ, ╜°╨╨▓σ╚δ.
-
- ▓╬╩²╦╡├≈: blk.name╬¬╫╓╖√┤«└α╨═, ▒φ╩╛╥¬▓σ╚δ╡─┐Θ├√. ╞Σ╓╨╢╝╩╟╦½╛½╢╚└α╨═, ╞Σ╓╨
- xb, yb╬¬▓σ╚δ╡π; xr, yr, zr╬¬X,Y,Z╓ß╖╜╧≥╡─▓σ╚δ╔∞╦⌡▒╚└²; ro ╬¬╚╞┐Θ
- ╗∙╡π, ╘┌ XY ╞╜├µ╔╧╡─╨²╫¬╜╟╢╚, ╙├╗í╢╚▒φ╩╛.
-
- ╡≈╙├╛┘└²:
-
- ---------------------------- C ---------------------------------
-
- int insert(blk_name,xb,yb,xr,yr,zr,ro);
- char blk_name[];
- double xb,yb,xr,yr,zr,ro;
-
- int error;
- error = insert(blk_name,xb,yb,xr,yr,zr,ro);
-
- ------------------------- FORTRAN ------------------------------
-
- INTERFACE TO INTEGER*2 FUNCTION INSERT[C](BLKNAME[REFERENCE],
- + XB,YB,XR,YR,ZR,RO)
- CHARACTER*1 BLKNAME
- DOUBLE PRECISION XB,YB,XR,YR,ZR,RO
- END
-
- INTEGER*2 INSERT
- IERR = INSERT('BLOCK1'C,XB,YB,XR,YR,ZR,RO)
-
- ------------------------- PASCAL -------------------------------
-
- FUNCTION insert(VARS blk_name:BYTE;xb,yb,xr,yr,zr,ro:REAL8):INTEGER2[C];EXTERN;
- PROCEDURE insertp;
- VAR error:INTEGER2;
- BEGIN
- error = insert(blk_name,xb,yb,xr,yr,zr,ro)
- END;
-
- ╖╡╗╪╓╡╦╡├≈: ╚τ╣√╦∙╕°╡─┐Θ▓╗┤µ╘┌, ╘≥╖╡╗╪╓╡╬¬ 5. ╞Σ╦ⁿ╖╡╗╪╓╡▓╬╒╒2.5╜┌╢¿╥σ.
-
- ע:
-
-
- 3.9 LAYER
- ║»╩²╦╡├≈: layer(layer_name,color,ltype_name)
- char layer_name[],ltype_name[];
- int color;
-
- ╣ª─▄╦╡├≈: ╚⌠╓╕╢¿▓π├√╡─▓π┤µ╘┌, ▓ó╟╥▓╗╩╟╡▒╟░▓π, ╘≥╜½╞Σ╔Φ╓├╬¬╡▒╟░▓π, ╞Σ╦ⁿ▓╬╩²
- ║÷┬╘; ╚⌠╕°╢¿▓π├√╡─▓π▓╗┤µ╘┌, ╘≥░┤╕°╢¿╡─╞Σ╦ⁿ▓╬╩²╜¿┴ó╥╗╕÷╨┬▓π, ▓ó╟╥
- ╜½╞Σ╔Φ╓├╬¬╡▒╟░▓π.
-
- ▓╬╩²╦╡├≈: layer-name╬¬╫╓╖√┤«└α╨═, ▒φ╩╛▓π├√. color ╬¬╒√╨═, ▒φ╩╛╗µ╘┌╕├▓π╔╧╡─
- ╩╡╠σ╤╒╔½. ╡▒1=<color=<7 ╩▒, ╤╒╔½║┼╙δ AutoCAD╡─▒Ω╫╝╢¿╥σ╧α═¼, ╞Σ╦ⁿ
- ╤╒╔½╓╡▓╗╚╖╢¿. ltype-name╬¬╫╓╖√┤«└α╨═, ▒φ╩╛╧▀╨═├√.
-
- ╡≈╙├╛┘└²:
-
- ---------------------------- C ---------------------------------
-
- int layer(layer_name,color,ltype_name);
- char layer_name[],ltype_name[];
- int color;
-
- int error;
- error = layer("layer1",color,"dot")
-
- ------------------------- FORTRAN ------------------------------
-
- INTERFACE TO INTEGER*2 FUNCTION LAYER[C](LAYERNAME[REFERENCE],
- + COLOR,LTYPENAME[REFERENCE])
- CHARACTER*1 LAYERNAME,LTYPENAME
- INTEGER*2 COLOR
- END
-
- INTEGER*2 LAYER
- IERR = LAYER('LAYER1'C,COLOR,'dot'C)
-
- ------------------------- PASCAL -------------------------------
-
- FUNCTION layer(VARS layername:BYTE;color:INTEGER2;
- VARS ltypename:BYTE):INTEGER2[C];EXTERN;
-
- PROCEDURE layerp;
- VAR error:INTEGER2;
- BEGIN
- error = layer("layer1"*CHR(0),color,"dot"*CHR(0))
- END;
-
- ╖╡╗╪╓╡╦╡├≈: ╦∙╙╨╖╡╗╪╓╡▓╬╒╒2.5╜┌╡─╢¿╥σ.
-
- ע:
-
-
- 3.10 LINE
- ║»╩²╦╡├≈: line(x0,y0,x1,y1)
- double x0,y0,x1,y1;
-
- ╣ª─▄╦╡├≈: ░┤╕°╢¿╡─╞≡╡π╙δ╓╒╡π╫°▒Ω, ╗µ╥╗╠⌡╓▒╧▀.
-
- ▓╬╩²╦╡├≈: ╦∙╙╨▓╬╩²╢╝╩╟╦½╛½╢╚╩╡╩², ╞Σ╓╨x0, y0╬¬╞≡╡π╫°▒Ω, x1, y1╬¬╓╒╡π╫°▒Ω.
-
- ╡≈╙├╛┘└²:
-
- ---------------------------- C ---------------------------------
-
- int line(x0,y0,x1,y1);
- double x0,y0,x1,y1;
-
- int error;
- error = line(x0,y0,x1,y1);
-
- ------------------------- FORTRAN ------------------------------
-
- INTERFACE TO INTEGER*2 FUNCTION LINE[C](X0,Y0,X1,Y1)
- DOUBLE PRECISION X0,Y0,X1,Y1
- END
-
- INTEGER*2 LINE;
- IERR = LINE(X0,Y0,X1,Y1)
-
- ------------------------- PASCAL -------------------------------
-
- FUNCTION line(x0,y0,x1,y1:REAL8):INTEGER2[C];EXTERN;
- PROCEDURE linep;
- VAR error:INTEGER2;
- BEGIN
- error = line(x0,y0,x1,y1)
- END;
-
- ╖╡╗╪╓╡╦╡├≈: ╦∙╙╨╖╡╗╪╓╡▓╬╒╒2.5╜┌╡─╢¿╥σ.
-
- ע:
-
-
- 3.11 LINE3D
- ║»╩²╦╡├≈: line3d(x0,y0,z0,x1,y1,z1)
- double x0,y0,z0,x1,y1,z1;
-
- ╣ª─▄╦╡├≈: ░┤╕°╢¿╡─╚²╬¼╞≡╡π╙δ╓╒╡π╫°▒Ω, ╗µ╥╗╠⌡╚²╬¼╓▒╧▀.
-
- ▓╬╩²╦╡├≈: ╦∙╙╨▓╬╩²╢╝╩╟╦½╛½╢╚╩╡╨═, ╞Σ╓╨x0, y0, z0╬¬╞≡╡π╫°▒Ω, x1, y1, z1╬¬╓╒
- ╡π╫°▒Ω.
-
- ╡≈╙├╛┘└²:
-
- ---------------------------- C ---------------------------------
-
- int line3d(x0,y0,z0,x1,y1,z1);
- double x0,y0,z0,x1,y1,z1;
-
- int error;
- error = line3d(x0,y0,z0,x1,y1,z1);
-
- ------------------------- FORTRAN ------------------------------
-
- INTERFACE TO INTEGER*2 FUNCTION LINE3D[C](X0,Y0,Z0,X1,Y1,Z1)
- DOUBLE PRECISION X0,Y0,Z0,X1,Y1,Z1
- END
-
- INTEGER*2 LINE3D
- IERR = LINE3D(X0,Y0,Z0,X1,Y1,Z1)
-
- ------------------------- PASCAL -------------------------------
-
- FUNCTION line3d(x0,y0,z0,x1,y1,z1:REAL8):INTEGER2[C];EXTERN;
- PROCEDURE line3dp;
- VAR error:INTEGER2;
- BEGIN
- error = line3d(x0,y0,z0,x1,y1,z1)
- END;
-
- ╖╡╗╪╓╡╦╡├≈: ╦∙╙╨╖╡╗╪╓╡▓╬╒╒2.5╜┌╡─╢¿╥σ.
-
- ע:
-
-
- 3.12 OPNDWG
- ║»╩²╦╡├≈: opndwg(d_name,s_name)
- char d_name[],s_name[];
-
- ╣ª─▄╦╡├≈: ╥└╒╒╕°╢¿╡─╤∙░σ═╝┤┤╜¿╓╕╢¿╡─═╝╨╬╬─╝■.
-
- ▓╬╩²╦╡├≈: ╦∙╙╨▓╬╩²╢╝╩╟╫╓╖√┤«└α╨═, ╞Σ╓╨ d_name ╬¬╥¬┤┤╜¿╡─ DWG ═╝╨╬╬─╝■├√,
- s_name ╬¬╦∙╥└╒╒╡─╤∙░σ═╝╨╬╬─╝■├√.
-
- ╡≈╙├╛┘└²:
-
- ---------------------------- C ---------------------------------
-
- int opndwg(d_name,s_name);
- char d_name[],s_name[];
-
- int error;
- error = opndwg("test.dwg","hcad");
-
- ------------------------- FORTRAN ------------------------------
-
- INTERFACE TO INTEGER*2 FUNCTION OPNDWG[C](DNAME[REFERENCE],
- + SNAME[REFERENCE])
- CHARACTER*1 DNAME,SNAME
- END
-
- INTEGER*2 OPNDWG
- IERR = OPNDWG("TEST.DWG"C,"HCAD.DWG"C)
-
- ------------------------- PASCAL -------------------------------
-
- FUNCTION opndwg(VARS dname,sname:BYTE):INTEGER2[C];EXTERN;
-
- PROCEDURE opndwgp;
- VAR error:INTEGER2;
- BEGIN
- error = opendwg("test.dwg"*CHR(0),"hcad"*CHR(0))
- END;
-
- ╖╡╗╪╓╡╦╡├≈: ╚τ╣√╤∙░σ═╝╬─╝■▓╗┤µ╘┌, ╘≥╖╡╗╪╓╡╬¬ 5. ╞Σ╦ⁿ╖╡╗╪╓╡▓╬╒╒2.5╜┌╡─╢¿╥σ.
-
- ╫ó: ▓╔╙├╤∙░σ═╝╔·│╔╨┬╡─═╝╨╬╬─╝■╙δ AutoCAD╡─▒α╝¡╨┬═╝╡─╖╜╖¿╧α═¼. ╒Γ╤∙┐╔
- ╥╘╘┌╤∙░σ═╝╓╨╢¿╥σ║├╦∙╙╨╚▒╩í╓╡, ╚τ═╝╖∙, ═°╕±, ▓π, ╧▀╨═, ╫╓╠σ, ▓╦╡Ñ
- ╬─╝■├√, ╡╚╡╚, ╔⌡╓┴╥╗╕÷"▒│╛░"═╝. ╥▓╛═╩╟╦╡┐╔╥╘╘┌╥╗╕÷╥╤╛¡╫≈║├╡─═╝╨╬
- ╔╧╝╠╨°╫≈═╝, ╨╬│╔╫ε╓╒═╝╨╬, ╡½╩╟▒╪╨δ╥¬╫ó╥Γ╤∙░σ═╝╡─░µ▒╛║┼╙δ╦∙╙├╡─╣ª
- ─▄▒╪╨δ╥╗╓┬. ╝┤▓╗─▄╘┌╡═░µ▒╛╡─╤∙░σ═╝╔╧╫≈╕▀░µ▒╛╡─╩╡╠σ═╝╦╪. └²╚τ╙├
- 2.5 ░µ╡─═╝╫≈╤∙░σ═╝, ╘┌╞Σ╔╧╙├║»╩² line3d ╗µ┴╦╥╗╠⌡╚²╬¼╓▒╧▀. ╒Γ╜½╡╝
- ╓┬╔·│╔╥╗╕÷╖╟╖¿═╝╨╬.
-
-
- 3.13 PLINE
- ║»╩²╦╡├≈: pline(xx,yy,width,bulge,n,c)
- double xx[],yy[],bulge[],width;
- int n,c;
-
- ╣ª─▄╦╡├≈: ╗µ╥╗╠⌡╕°╢¿┐φ╢╚╡─╕┤║╧╡─╟·╒█╧▀.
-
- ▓╬╩²╦╡├≈: XX, YY╬¬╦½╛½╢╚╩²╫Θ, ▒φ╩╛╕┤╧▀╜ß╡π╡─X, Y╫°▒Ω. Width ╬¬╦½╛½╢╚╩╡╩²,
- ▒φ╩╛╕├╠⌡╕┤║╧╧▀╡─┐φ╢╚. n ╬¬╒√╨═╩², ▒φ╩╛╕├╠⌡╕┤║╧╧▀╜ß╡π╡─╕÷╩². C ╬¬
- ╒√╨═╩², ╩╟╕├╠⌡╕┤║╧╧▀┐¬╣╪▒Ω╓╛, ╝┤╞≡╡π╙δ╓╒╡π╩╟╖±╧α┴¼. ╚⌠ C=0╘≥╩╟┐¬
- ╡─, ╚⌠ C != 0 ╘≥╩╟╣╪╡─. bulge ╬¬╦½╛½╢╚╩╡╩²╩²╫Θ, ▒φ╩╛╕┤║╧╧▀╓╨╗í╢╬
- ╡─═╣╢╚. ╚⌠ bulge[i] != 0, ╘≥▒φ╩╛╕┤║╧╧▀╓╨╡┌ i╢╬╬¬╗í╢╬,
-
- |-- > 0 ─µ╩▒╒δ
- bulge[i] = (+/-)2*H/D -|
- |-- < 0 ╦│╩▒╒δ
-
- ╞Σ╓╨D▒φ╩╛┴╜╢Ñ╡π╓«╝Σ╡─╛α└δ. h▒φ╩╛┤╙╕├╧▀╢╬╓╨╡π╡╜╗í╢╬╡─┤╣╓▒╛α└δ.
- ╚⌠ bulge[i]=0, ╘≥▒φ╩╛╕┤║╧╧▀ i ╢╬╬¬╓▒╧▀╢╬.
-
- ╡≈╙├╛┘└²:
-
- ---------------------------- C ---------------------------------
-
- int pline(xx,yy,width,bulge,n,c);
- double xx[],yy[],bulge[],width;
- int n,c;
-
- int error;
- error = pline(xx,yy,width,bulge,n,c);
-
- ------------------------- FORTRAN ------------------------------
-
- INTERFACE TO INTEGER*2 FUNCTION PLINE[C](XX[REFERENCE],
- + YY[REFERENCE],WIDTH,BULGE[REFERENCE],N,C)
- DOUBLE PRECISION XX,YY,WIDTH,BULGE
- INTEGRE*2 N,C
- END
-
- INTEGER*2 PLINE
- IERR = PLINE(XX,YY,WIDTH,BULGE,N,C)
-
- ------------------------- PASCAL -------------------------------
-
- FUNCTION pline(VARS xx,yy:REAL8;width:REAL8;VARS bulge:REAL8;
- n,c:INTEGER2):INTEGER2[C];EXTERN;
-
- PROCEDURE plinep;
- VAR error:INTEGER2;
- BEGIN
- error = pline(xx,yy,width,bulge,c,n)
- END;
-
- ╖╡╗╪╓╡╦╡├≈: ╚τ╣√n=<0╘≥╖╡╗╪╓╡╬¬5. ╞Σ╦ⁿ╖╡╗╪╓╡▓╬╒╒2.5╜┌╡─╢¿╥σ.
-
- ╫ó: ╥¬╩╡╧╓═Ω╚½░┤╒╒ AutoCAD ╦∙╢¿╥σ╡─╕┤║╧╧▀, ╟δ╙├║»╩² poline.
-
-
- 3.14 POINT
- ║»╩²╦╡├≈: point(x0,y0)
- double x0,y0;
-
- ╣ª─▄╦╡├≈: ░┤╕°╢¿╡─╫°▒Ω╗µ╡π.
-
- ▓╬╩²╦╡├≈: x0, y0╬¬╦½╛½╢╚╩╡╩², ▒φ╩╛╕├╡π╡─╫°▒Ω.
-
- ╡≈╙├╛┘└²:
-
- ---------------------------- C ---------------------------------
-
- int point(x0,y0);
- double x0,y0;
-
- int error;
- error = point(x0,y0)
-
- ------------------------- FORTRAN ------------------------------
-
- INTERFACE TO INTEGER*2 FUNCTION POINT[C](X0,Y0)
- DOUBLE PRECISION X0,Y0
- END
-
- INTEGER*2 POINT
- IERR = POINT(X0,Y0)
-
- ------------------------- PASCAL -------------------------------
-
- FUNCTION point(x0,y0:REAL8):INTEGER2[C];EXTERN;
-
- PROCEDURE pointp;
- VAR error:INTEGER2;
- BEGIN
- error = point(x0,y0)
- END;
-
- ╖╡╗╪╓╡╦╡├≈: ╦∙╙╨╖╡╗╪╓╡▓╬╒╒2.5╜┌╡─╢¿╥σ.
-
- ע:
-
-
- 3.15 POLINE
- ║»╩²╦╡├≈: poline(xx,yy,w0,w1,bulge,n,c)
- double xx[],yy[],w0[],w1[],bulge[];
- int n,c;
-
- ╣ª─▄╦╡├≈: ╗µ╥╗╠⌡▒Σ┐φ╡─╕┤║╧╟·╒█╧▀.╕├╕┤║╧╧▀╓╨├┐╢╬╡─╞≡╩╝┐φ╢╚╙δ╓╒╓╣┐φ╢╚╢╝┐╔╥╘
- ▓╗═¼.
-
- ▓╬╩²╦╡├≈: XX, YY╬¬╦½╛½╢╚╩²╫Θ, ▒φ╩╛╕┤║╧╧▀╜ß╡π╡─ x, y ╫°▒Ω. w0, w1╬¬╦½╛½╢╚╩²
- ╫Θ, ▒φ╩╛╜ß╡π╡─┐φ╢╚╓╡. w0(i) ▒φ╩╛╜ß╡π i-1╡╜ i╢╬╡─╓╒╓╣┐φ╢╚, w1(i)
- ▒φ╩╛╜ß╡π i ╡╜ i+1 ╢╬╡─╞≡╩╝┐φ╢╚. n ╬¬╒√╨═╩²▒φ╩╛╕├╠⌡╕┤║╧╧▀╜ß╡π╡─╕÷
- ╩². c ╬¬╒√╨═╩², ╩╟╕├╠⌡╕┤║╧╧▀╡─┐¬╣╪▒Ω╓╛, ╝┤╞≡╡π╙δ╓╒╡π╩╟╖±╧α┴¼. ╚⌠
- c=0 ╘≥╩╟┐¬╡─, ╚⌠ c != 0 ╘≥╩╟╣╪╡─. bulge ╬¬╦½╛½╢╚╩²╫Θ, ▒φ╩╛╕┤║╧╧▀
- ╓╨╗í╢╚╡─═╣╢╚. ╚⌠ bulge[i]!=0, ▒φ╩╛╕┤║╧╧▀╓╨╡┌ i╢╬╬¬╗í╢╚, bulge ╢¿
- ╥σ▓╬╒╒ 3.12 PLINE ╓╨╡─╦╡├≈. ╚⌠ bulge[i]=0, ╘≥▒φ╩╛╕┤║╧╧▀ i╢╬╬¬╓▒
- ╧▀╢╬.
-
- ╡≈╙├╛┘└²:
-
- ---------------------------- C ---------------------------------
-
- int poline(xx,yy,w0,w1,bulge,n,c);
- double xx[],yy[],w0[],w1[],bulge[];
- int n,c;
-
- int error;
- error = poline(xx,yy,w0,w1,bulge,n,c);
-
- ------------------------- FORTRAN ------------------------------
-
- INTERFACE TO INTEGER*2 FUNCTION POLINE[C](XX[REFERENCE],
- + YY[REFERENCE],W0[REFERENCE],W1[REFERENCE],
- + BULGE[REFERENCE],N,C)
- DOUBLE PRECISION XX,YY,W0,W1,BULGE
- INTEGRE*2 N,C
- END
-
- INTEGER*2 POLINE
- IERR = POLINE(XX,YY,W0,W1,BULGE,N,C)
-
- ------------------------- PASCAL -------------------------------
-
- FUNCTION poline(VARS xx,yy,w0,w1:REAL8;VARS bulge:REAL8;
- n,c:INTEGER2):INTEGER2[C];EXTERN;
- PROCEDURE polinep;
- VAR error:INTEGER2;
- BEGIN
- error = poline(xx,yy,w0,w1,bulge,c,n)
- END;
-
- ╖╡╗╪╦╡├≈: ╚⌠ n <= 0, ╘≥╖╡╗╪╓╡╬¬ 5, ╞Σ╦ⁿ╖╡╗╪╓╡▓╬╒╒ 2.5 ╜┌╡─╢¿╥σ.
-
- ╫ó: ╚⌠╕┤║╧╧▀╦∙╙╨╢╬╬¬═¼╥╗┐φ╢╚, ╗≥┐φ╢╚╛∙╬¬┴π, ╘≥┐╔╡≈╙├╕ⁿ╝≥╡Ñ╡─║»╩² pline.
-
-
- 3.16 SOLID
- ║»╩²╦╡├≈: solid(xx,yy,n)
- double xx[],yy[];
- int n;
-
- ╣ª─▄╦╡├≈: ╗µ╢α╕÷┴¼╨°╡─╠ε│Σ╩╡╠σ, ├┐╕÷╠ε│Σ╩╡╠σ╙╔╦─╕÷╡π╫≈╬¬╢Ñ╡π, ╢Ñ╡π▓╗═¼╡─╦│
- ╨≥┐╔╡├╡╜▓╗═¼╩▒╜ß╡π═╝╨╬. ╟δ▓╬┐╝AutoCAD ╙├╗º╩╓▓ß╣µ╢¿╢Ñ╡π╦│╨≥. ╟░╥╗
- ╕÷╠ε│Σ╩╡╠σ╡─╫ε║≤┴╜╕÷╢Ñ╡π╬¬║≤╥╗╕÷╠ε│Σ╩╡╠σ╡─┐¬╩╝┴╜╕÷╢Ñ╡π.
-
- ▓╬╩²╦╡├≈: XX, YY╬¬╦½╛½╢╚╩╡╨═╩²╫Θ. ▒φ╩╛╠ε│Σ╩╡╠σ╡─╢Ñ╡π╫°▒Ω. n ╬¬╒√╨═╩², ▒φ╩╛
- ╢Ñ╡π╡─╕÷╩², ▒╪╨δ n >= 4.
-
-
- ╡≈╙├╛┘└²:
-
- ---------------------------- C ---------------------------------
-
- int solid(xx,yy,n);
- double xx[],yy[];
- int n;
-
- int error;
- error = solid(xx,yy,n);
-
- ------------------------- FORTRAN ------------------------------
-
- INTERFACE TO INTEGER*2 FUNCTION SOLID[C](XY[REFERENCE],
- + YY[REFERENCE],N)
- DOUBLE PRECISION XX,YY
- INTEGER*2 N
- END
-
- INTEGER*2 SOLID
- IERR = SOLID(XX,YY,N)
-
- ------------------------- PASCAL -------------------------------
-
- FUNCTION solid(VARS xx,yy:REAL8;n:INTEGER2):INTEGER2[C];EXTERN;
-
- PROCEDURE solidp;
- VAR error:INTEGER2;
- BEGIN
- error = solid(xx,yy,n)
- END;
-
- ╖╡╗╪╓╡╦╡├≈: ╚τ╣√ n<4╘≥╖╡╗╪╓╡╬¬ 5. ╞Σ╦ⁿ╖╡╗╪╓╡▓╬╒╒2.5╜┌╡─╢¿╥σ.
-
- ע:
-
-
- 3.17 STYLE
- ║»╩²╦╡├≈: style(style_name,shp_f1,shp_f2,height,width,angle,bud)
- char style_name[],shp_f1[],shp_f2[];
- double height,width,angle;
- int bud;
-
- ╣ª─▄╦╡├≈: ╔Φ╓├╡▒╟░╫╓╠σ, ╚τ╣√╥¬╔Φ╓├╡─╡▒╟░╫╓╠σ▓╗┤µ╘┌, ╘≥╕∙╛▌╦∙╕°╡─╫╓╠σ├√╝░╞Σ
- ▓╬╩²╔·│╔╥╗╕÷╨┬╡─╫╓╠σ, ▓ó░╤╦ⁿ╫≈╬¬╡▒╟░╫╓╠σ.
-
- ▓╬╩²╦╡├≈: style_name╬¬╫╓╖√┤«└α╨═, ▒φ╩╛╫╓╠σ├√. shp-f1, shp-f2╬¬╫╓╖√┤«└α╨═,
- ▒φ╩╛╕├╫╓╠σ╦∙╙├╡─╡┌1, 2╨═╬─╠σ├√, ▓╗╨Φ╥¬└⌐╒╣├√. height▒φ╩╛╕▀╢╚, ╚τ
- ╬¬┴π, ╘≥▓╗╣╠╢¿. width╬¬╦½╛½╢╚╩╡╩², ▒φ╩╛┐φ╢╚╥≥╫╙. angle╬¬╦½╛½╢╚╩╡
- ╩²╨═, ▒φ╩╛╟π╨▒╜╟╢╚, ╙├╗í╢╚▒φ╩╛. bud ╬¬╒√╨═, ▒φ╩╛╫╓╠σ╩╟╖±╖┤╧≥, ╡▀
- ╡╣. bud=0 ▒φ╩╛╒²│ú; bud=2 ▒φ╩╛╖┤╧≥; bud=4 ▒φ╩╛╡▀╡╣; bud=6 ▒φ╩╛╝╚
- ╖┤╧≥, ╙╓╡▀╡╣.
-
- ╡≈╙├╛┘└²:
-
- ---------------------------- C ---------------------------------
-
- int style(style_name,shp_f1,shp_f2,height,width,angle,bud);
- char style_name[],shp_f1[],shp_f2[];
- double height,width,angle;
- int bud;
-
- int error;
- error = style("STANDARD","TXT","",height,width,angle,bud);
-
- ------------------------- FORTRAN ------------------------------
-
- INTERFACE TO INTEGER*2 FUNCTION STYLE[C](STYLENAME[REFERENCE],
- + SHP_F1[REFERENCE],SHP_F2[REFERENCE],
- + HEIGHT,WIDTH,ANGLE,BUD)
- CHARACTER*1 STYLENAME,SHP_F1,SHP_F2
- DOUBLE PRECISION HEIGHT,WIDTH,ANGLE
- INTEGER*2 BUD
- END
-
- INTEGER*2 STYLE
- IERR = STYLE('STANDARD'C,'TXT'C,''C,HEIGHT,WIDTH,ANGLE,BUD)
-
- ------------------------- PASCAL -------------------------------
-
- FUNCTION style(VARS style_name,shp_f1,shp_f2:BYTE;
- height,width,angle:REAL8;bud:INTEGER2):INTEGER2[C];EXTERN;
-
- PROCEDURE stylep;
- VAR error:INTEGER2;
- BEGIN
- error = style("STANDARD"*CHR(0),"TXT"*CHR(0),""*CHR(0),
- height,width,angle,bud)
- END;
-
- ╖╡╗╪╓╡╦╡├≈: ╚τ╣√bd╓╡╖╟╖¿, ╘≥╖╡╗╪╓╡╬¬ 5. ╞Σ╦ⁿ╖╡╗╪╓╡▓╬╒╒2.5╜┌╡─╢¿╥σ.
-
- ╫ó: ▒╛║»╩²╓╗╩╩╙├╙┌ 2.5░µ╝╚╞Σ╕ⁿ╕▀░µ▒╛. ╥╗╕÷╫╓╠σ┐╔╙╔┴╜╕÷╨═╬─╝■╔·│╔. ╚τ
- ╣√╜÷╙├╥╗╕÷╨═╬─╝■, ╘≥╡┌╢■╕÷╨═╬─╝■├√╕°╥╗╕÷┐╒╫╓╖√┤«╝┤┐╔.
-
- 3.18 TEXT
- ║»╩²╦╡├≈: text(x0,y0,height,angle,string)
- double x0,y0,height,angle;
- char string[];
-
- ╣ª─▄╦╡├≈: ╥└╒╒╓╕╢¿╡─╬╗╓├, ╕▀╢╚╝░╜╟╢╚╘┌═╝╓╨▒Ω╫ó╕°╢¿╡─╫╓╖√┤«.
-
- ▓╬╩²╦╡├≈: x0, y0 ╬¬╦½╛½╢╚╩╡╩², ▒φ╩╛╫╓╖√┤«╫≤╧┬╢╦╡π╡─╫°▒Ω. height ╬¬╦½╛½╢╚╩╡
- ╩², ▒φ╩╛╕▀╢╚. angle ╬¬╦½╛½╢╚╩╡╩², ▒φ╩╛╜╟╢╚. string ╬¬╫╓╖√┤«└α╨═, ╩╟╥¬▒Ω╫ó╡─
- ╫╓╖√┤«.
-
- ╡≈╙├╛┘└²:
-
- ---------------------------- C ---------------------------------
-
- int text(x0,y0,height,angle,string);
- double x0,y0,height,angle;
- char string[];
-
- int error;
- error = text(x0,y0,height,angle,"TEXT STRING")
-
- ------------------------- FORTRAN ------------------------------
-
- INTERFACE TO INTEGER*2 FUNCTION TEXT[C](X0,Y0,HEIGHT,
- + ANGLE,STRING[REFERENCE])
- DOUBLE PRECISION X0,Y0,HEIGHT,ANGLE
- CHARACTER*1 STRING
- INTEGER*2 BUD
- END
-
- INTEGER*2 TEXT
- IERR = TEXT(X0,Y0,HEIGHT,ANGLE,'TEXT STRING'C)
-
- ------------------------- PASCAL -------------------------------
-
- FUNCTION text(x0.y0,height,angle:REAL8;VARS string:BYTE):INTEGER2[C];EXTERN;
-
- PROCEDURE textp;
- VAR error:INTEGER2;
- BEGIN
- error = text(x0,y0,height,angle,"TEXT STRING"*CHR(0))
- END;
-
- ╖╡╗╪╓╡╦╡├≈: ╦∙╙╨╖╡╗╪╓╡▓╬╒╒2.5╜┌╡─╢¿╥σ.
-
- ע:
-
-
- 3.19 TRACE
- ║»╩²╦╡├≈: trace(x0,y0,x1,y1,w)
- double x0,y0,x1,y1,w;
-
- ╣ª─▄╦╡├≈: ╗µ╥╗╠⌡┤°┐φ╢╚╡─╓▒╧▀.
-
- ▓╬╩²╦╡├≈: ╦∙╙╨▓╬╩²╢╝╩╟╦½╛½╢╚╩╡╩². ╞Σ╓╨ x0, y0 ▒φ╩╛╧▀╡─╞≡╡π; x1, y1▒φ╩╛╧▀╡─
- ╓╒╡π; w▒φ╩╛╧▀╡─┐φ╢╚.
-
- ╡≈╙├╛┘└²:
-
- ---------------------------- C ---------------------------------
-
- int trace(x0,y0,x1,y1,w);
- double x0,y0,x1,y1,w;
-
- int error;
- error = trace(x0,y0,x1,y1,w)
-
- ------------------------- FORTRAN ------------------------------
-
- INTERFACE TO INTEGER*2 FUNCTION TRACE[C](X0,Y0,X1,W)
- DOUBLE PRECISION X0,Y0,X1,Y1,W
- END
-
- INTEGER*2 TRACE
- IERR = TRACE(X0,Y0,X1,Y1,W)
-
- ------------------------- PASCAL -------------------------------
-
- FUNCTION trace(x0,y0,x1,y1,w:REAL8):INTEGER2[C];EXTERN;
-
- PROCEDURE tracep;
- VAR error:INTEGER2;
- BEGIN
- error = trace(x0,y0,x1,y1,w)
- END;
-
- ╖╡╗╪╓╡╦╡├≈: ╚τ╣√╞≡╡π╙δ╓╒╡π╓╪║╧, ╘≥╖╡╗╪╓╡╬¬ 5. ╚τ╣√ w<0 ╖╡╗╪╓╡╬¬ 6. ╞Σ╦ⁿ╖╡╗╪
- ╓╡▓╬╒╒ 2.5╜┌.
-
- ע:
-
-
- 3.20 WBLOCK
- ║»╩²╦╡├≈: wblock(blk_name,xb,yb)
- char blk_name[];
- double xb,yb;
-
- ╣ª─▄╦╡├≈: ┤╦║»╩²╜½┤╙┤≥┐¬═╝╨╬╬─╝■ ( ═¿╣²╡≈╙├ OPNDWG ║»╩² ), ╗≥┤╙╔╧╥╗┤╬╡≈╙├
- block ╗≥ wblock ║»╩²┐¬╩╝, ╡╜▒╛┤╬╡≈╙├╕├║»╩²╬¬╓╣╦∙╔·│╔╡─╦∙╙╨╩╡╠σ╫÷
- │╔╥╗╕÷═╝╨╬┐Θ. ▓ó╜½╞Σ╔·│╔ DWG ╬─╝■, ╝┤═Γ▓┐═╝╨╬┐Θ. ┐╔╙╔╞Σ╦ⁿ═╝╨╬╥²
- ╙├.
-
- ▓╬╩²╦╡├≈: blk_name╬¬╫╓╖√┤«└α╨═, ▒φ╩╛┐Θ├√. xb, yb╬¬╦½╛½╢╚╩╡╩²└α╨═, ▒φ╩╛┐Θ╡─
- ╗∙╡π.
-
- ╡≈╙├╛┘└²:
-
- ---------------------------- C ---------------------------------
-
- int wblock(blk_name,xb,yb);
- char blk_name[];
- double xb,yb;
-
- int error;
- error = wblock("Desk",xb,yb);
-
- ------------------------- FORTRAN ------------------------------
-
- INTERFACE TO INTEGER*2 FUNCTION WBLOCK[C](BLKNAME[REFERENCE],
- + XB,YB)
- CHARACTER*1 WBLKNAME
- DOUBLE PRECISION XB,YB
- END
-
- INTEGER*2 WBLOCK
- IERR = WBLOCK('Desk'C,XB,YB)
-
- ------------------------- PASCAL -------------------------------
-
- FUNCTION wblock(VARS blk_name:BYTE;xb,yb:REAL8):INTEGER2[C];EXTERN;
-
- PROCEDURE wblockp;
- VAR error:INTEGER2;
- BEGIN
- error = wblock("Desk"*CHR(0),xb,yb)
- END;
-
- ╖╡╗╪╓╡╦╡├≈: ╦∙╙╨╖╡╗╪╓╡▓╬╒╒2.5╜┌╡─╢¿╥σ.
-
- ע:
-
-