GISγư

ѧԺgisл2002.7. 
email:gis@xinhuanet.com
web:http://user.7host.com/codemaster

	{#пɵҪıǩ}

#1. overview
#(1)ڵݿĶ
#2.  Tools
#	2.1    Brush
#	2.2    AirBrush
#	2.3    Line, PolyLine, Spline
#	2.4    Rectangle
#	2.5    Cirlipse, Cone, Tube,  Arch
#	2.6    T-piece
#	2.7    Text
#	2.8    Fill
#	2.9    Rubber
#	2.10  Active rectangle
#	2.11  Smudge
#	2.12  Move, Copy & Reflect
#	2.13  Resize, Perspective Shear, Rotate
#	2.14  Tile
#3.  Operations
#	3.1  ָһ
#	3.2   ͼ
#	3.3   
#	3.4   ǹ
#	3.5  
#	3.6   ϶С
#	3.7   
#4. غͱ
#    4.1  Load  or  Add a picture file
#    4.2  Save as BMP or JPG
#    4.3  Save rectangle as BMP
#    4.4  mapinfoļ       
#5.  Printing
#6.  Colors
#7.  mapinfo
#8.  GISγƽۣ
#9.  

1. Overview

һʵĻͼ21йѡ
ÿһ߶tooltiptext,ӢĵŶǺǣԿ
һ˵ʱд˸ѡɫڻֻ
greyŶļѡ񱣴ΪjpgbmpڱΪݿ⣬
ֻһ㣬һЩߣһЩı档ܱǸ
ϣнgisݿϤʦͬѧҺõ
ллΪݿĶ͵Ϣ벻ϤȥäĿ
УԼиӰ죬µݿⶨҲο
ϺϢĵĻϢݿݽݡ
ҷǳϣʦͬѧ
email:gis@xinhuanet.com
web:http://user.7host.com/codemaster

(1)ڵݿĶ
ݿĽṹ壺
smipoint
˵Ҫе״ĵʵ壬ڹߡ
ʵʱΪԪضڡ 
		
sName		
Description		
X		
Y		

sType		
sSubType	
	sName

	˵
صơ
	
	Description
	
	˵
йص˵
	
	X
	
˵
صXֵ

Y

˵
صYֵ

sType 

˵
ص(ֵΪ1tPoint)
ͳ
ࡡ	˵	ֵ	
״	tPoint	        1	
״	tPolyline	2	
״	tPolygon	3	
ע	tText	        4	
ʹ	tErrGeometry	0	

sSubType 
˵
صĴֵͣΪ1tPoint
ͳ
ࡡ	˵	ֵ	
	              tPot	1	
㼯	tPoints	        2	
ʹ	tErrPoint	0

ֱ : ֻ㣬תϵͳݿʱҪɶȡ
յꣻʵʵΧǽˮϵߵȣ
ʵͬ
smilineֱ߶
˵ֱֻ߶
	      	
sName	       Add	
Description    Clone	
sStart	       GetLength	
sEnd		
sType		
sSubType		

sName

	˵
ֱ߶ơ
	
	Description
	
	˵
йֱ߶˵
	
	sStart

	˵
ػֱ߶

sEnd

˵
ػֱ߶յ

sType

	˵
ֱ߶ͣ2tPolyline
	
	sSubType
	
˵
ֱ߶Ĵͣ1tLine
ͳ
ࡡ	˵	ֵ	
ֱ	tLine	        1	
	tPLine	        2	
	tArc	       3	
	tCline	       4	
߼	tLines	         5	
ʹ	tErrPoint	0	

Add

˵
յ֮һʹ֮߶

GetLength 

˵
ֱ߶ĳȡ


smipline:  ˳ӣתϵͳݿ
ʱҪɶȡÿԪꣻ
˵˳ӵ߶ 
		
sName	         Item	
Description	 Add	
Points	         Remove	
Count		
sType		
sSubType

sName
﷨
String  smiPLine.sName
˵
߶ơ

Description
﷨
String  smiPLine.Description
˵
й߶

Points
﷨
smiPoints  smiPLine.Points
˵
߶ĵ㼯϶

Count 
﷨
Long  smiPLine.Count
˵
߶ֵĿ

sType
﷨
TypeOfGeometry smiPLine.sType
˵
߶ͣ2tLine

sSubType
﷨
TypeOfLine  smiPLine.sSubType
˵
߶Ĵͣ2tPLine

Item  
﷨
smiPoint  smiPLine.Item(i as Long)
˵
õ߶еi

Add
﷨
Boolean smiPLine.Add(sp as smiPoint, i as Long)
˵
߶һ󣬷ӵĳɹ״

Remove
﷨
Boolean smiPLine.Remove(i as Long)
˵
߶ɾi,ɾĳɹ״
		

  ˳βӣ˵
ɵķ棬תݿʱҪɶȡÿ
ꣻ
˵˳βӣɵķ档
		
sName	        Add	
Description	Remove	
sType		
sSubType		
sPoints		
sPLine		
sName  
﷨
String  smiArea.sName
˵
ؼơ

Description  
﷨
String  smiArea.Description
˵
йؼ

sType  
﷨
TypeOfGeometry  smiArea.sType
˵
ؼʵĴͣݣֵΪ3

sSubType  
﷨
TypeOfPolygon  smiArea.sSubType
˵
ʵͣ1
ͳ
ࡡ	˵	ֵ	
	tArea	        1	
	tCPolygon	2	
	         tIsland	3	
漯	tpolygons	4	
ʹ	tErrPolygon	0	

sPoints  

˵
ؼĵ㼯϶

sPLine  

˵
ؼı߽ߣ

Add
﷨
Boolean  Area.Add(sp as smiPoint ,i as Long)
˵
ı߽еiһ

Remove
﷨
Boolean  smiArea.Remove(i as Long)
˵
ı߽ɾi


 : ɷոɵ棬תݿʱҪ
ɶȡߵÿԪĶӦҪأͬߣ

 :  ж棬һ汻ڿգת
ݿʱɶȡÿӦļҪأжÿ
ʵеĵλ߻Ǳߣ

漯:  Ķҷձûûнϵ
תݿʱԶȡÿĶӦҪأ

ע(TextPoint)  вıĶת
ݿʱԶȡ5	ķʽ
ϡС¡ϡС¡ϡСµȣ
עǵݡעǵתǶ

2.  Tools

	ΪһСҶ˵ʲôˣĺܼ򵥣Ҳ
֪ô˵ȣ
	
	2.1    Brush

	ҾǸܺõpenŶΪʮʽѡ
иĺô,㿴Ű죿
	
	2.2    AirBrush

	ʮһʽǹtoolbar ϵɣȻѡҪʽ
        ɣ
	
	2.3    Line, PolyLine, Spline

	Ǹ򵥵ĹߣҪʼĵ㣬ȻڵҪ
ĵ㣬ƶҪĵط߰ߺ,Խе
պϣպϺκ;Ρ
	
	

	PolyLine

	ֱ߲࣬Ҽ

	 Spline

	Լϲһ߻иȤģҡ

	2.4    Rectangle

	ǵü򵥣˵Ҳ

	Ҳơ
	
	2.5    Cirlipse, Cone, Tube,  Arch

	Ǻǣ˵ˡ

	Cone

	ͼǻԲˣconeĵˣҪѡ
        ȻǶˣˡ

	Tube

	coneһİɣͼβҪΪһŶ

	Arch

	һҼҵԺŵĶҲûþǡ

	2.6    T-piece

	;Ĳ

	2.7    Text

	ıѡɫ壬Ȼǵͼ
ˣıԼȥˣȻ㻹ƶҼȷλá

	2.8    Fill

	ĺ׳õvb䷽Ҳ֪ˣ
ô ң
	
	2.9    Rubber

	㿴Ű졣

	2.10  Active rectangle

	ѡһҪactiveŶ
	2.11  Smudge

	Ű
	
	2.12  Move, Copy & Reflect

	active ĲͼοԿƶȲ 
	
	2.13  Resize, Perspective Shear, Rotate

	µС.
	
	Perspective Shear

	͸ӣǿҲС
	
	Rotate

	תûʲô˵
	
	2.14  Tile

	һ¾֪
	
	
3.  Operations

	3.1   ָһ

	

	3.2   ͼ
	

	3.3   

	ʽѡ񣬿Ӧ֪ôˡ

	3.4   ǹ

	

	3.5   
	
	offŦڵͼξͿ,㻹ѡһ
    Ŵ
	
	3.6   ϶С

	϶ͼΡԿÿƶأȻ㻬顣

	Canvas Size

	ͼδڵĴֱ߶ȡ

	3.7   
	Ҳ԰һЩʹõ鷳

4. غͱ

	4.1    Load  or  Add a picture file

	4.2    Save as BMP or JPG
	
	4.3    Save rectangle as BMP
	
	ѡΪһbmpļ
         
        4.4    mapinfoļ
5.  Printing
	

6.  Colors

	0-255ѡԶ塣ѡҼɫ
7.  mapinfo
    mapinfotableļֻŴС϶
ѡڻûб༭ܣΪĲmapinfo Ķο
һЩڶοmapinfoοйݡ

8.  GISγƽۣ



9.  
	
         Ĳapi
	
	



