📄 mitab_capi.h
字号:
#define TABTL_Arrow 2
int MITAB_DLL MITAB_STDCALL mitab_c_getlibversion();
const char MITAB_DLL * MITAB_STDCALL mitab_c_getlasterrormsg();
int MITAB_DLL MITAB_STDCALL mitab_c_getlasterrormsg_vb (char * errormsg, int l);
int MITAB_DLL MITAB_STDCALL mitab_c_getlasterrorno();
mitab_handle MITAB_DLL MITAB_STDCALL mitab_c_open( const char * filename );
void MITAB_DLL MITAB_STDCALL mitab_c_close( mitab_handle handle );
mitab_handle MITAB_DLL MITAB_STDCALL mitab_c_create( const char * filename,
const char * mif_or_tab,
const char * mif_projectiondef,
double north, double south,
double east, double west );
int MITAB_DLL MITAB_STDCALL mitab_c_set_quick_spatial_index_mode( mitab_handle handle );
int MITAB_DLL MITAB_STDCALL mitab_c_add_field( mitab_handle handle, const char * field_name,
int field_type, int width, int precision,
int indexed, int unique );
int MITAB_DLL MITAB_STDCALL
mitab_c_write_feature( mitab_handle handle, mitab_feature feature );
int MITAB_DLL MITAB_STDCALL
mitab_c_next_feature_id( mitab_handle handle, int last_feature_id );
mitab_feature MITAB_DLL MITAB_STDCALL
mitab_c_read_feature( mitab_handle handle, int feature_id );
void MITAB_DLL MITAB_STDCALL mitab_c_destroy_feature( mitab_feature );
int MITAB_DLL MITAB_STDCALL mitab_c_get_feature_id( mitab_feature );
mitab_feature MITAB_DLL MITAB_STDCALL
mitab_c_create_feature( mitab_handle, int feature_type );
void MITAB_DLL MITAB_STDCALL
mitab_c_set_field( mitab_feature, int field_index, const char * value );
void MITAB_DLL MITAB_STDCALL
mitab_c_set_text( mitab_feature feature, const char * text );
const char MITAB_DLL * MITAB_STDCALL
mitab_c_get_text( mitab_feature feature );
int MITAB_DLL MITAB_STDCALL
mitab_c_get_text_vb( mitab_feature feature, char * text, int l );
void MITAB_DLL MITAB_STDCALL
mitab_c_set_text_display( mitab_feature feature,
double angle, double height, double width,
int fg_color, int bg_color,
int justification, int spacing, int linetype );
double MITAB_DLL MITAB_STDCALL
mitab_c_get_text_angle( mitab_feature feature );
double MITAB_DLL MITAB_STDCALL
mitab_c_get_text_height( mitab_feature feature );
double MITAB_DLL MITAB_STDCALL
mitab_c_get_text_width( mitab_feature feature );
int MITAB_DLL MITAB_STDCALL
mitab_c_get_text_fgcolor( mitab_feature feature );
int MITAB_DLL MITAB_STDCALL
mitab_c_get_text_bgcolor( mitab_feature feature );
int MITAB_DLL MITAB_STDCALL
mitab_c_get_text_justification( mitab_feature feature );
int MITAB_DLL MITAB_STDCALL
mitab_c_get_text_spacing( mitab_feature feature );
int MITAB_DLL MITAB_STDCALL
mitab_c_get_text_linetype( mitab_feature feature );
void MITAB_DLL MITAB_STDCALL mitab_c_set_pen( mitab_feature feature,
int width, int pattern, int color );
int MITAB_DLL MITAB_STDCALL
mitab_c_get_pen_color( mitab_feature feature );
int MITAB_DLL MITAB_STDCALL
mitab_c_get_pen_width( mitab_feature feature );
int MITAB_DLL MITAB_STDCALL
mitab_c_get_pen_pattern( mitab_feature feature );
void MITAB_DLL MITAB_STDCALL mitab_c_set_brush( mitab_feature feature,
int fg_color, int bg_color, int pattern,
int transparent );
int MITAB_DLL MITAB_STDCALL
mitab_c_get_brush_fgcolor( mitab_feature feature );
int MITAB_DLL MITAB_STDCALL
mitab_c_get_brush_bgcolor( mitab_feature feature );
int MITAB_DLL MITAB_STDCALL
mitab_c_get_brush_pattern( mitab_feature feature );
int MITAB_DLL MITAB_STDCALL
mitab_c_get_brush_transparent( mitab_feature feature );
void MITAB_DLL MITAB_STDCALL
mitab_c_set_font( mitab_feature feature, const char * font_name );
const char MITAB_DLL * MITAB_STDCALL
mitab_c_get_font( mitab_feature feature );
int MITAB_DLL MITAB_STDCALL
mitab_c_get_font_vb( mitab_feature feature, char * font, int l );
void MITAB_DLL MITAB_STDCALL mitab_c_set_symbol( mitab_feature feature, int symbol_no,
int symbol_size, int symbol_color );
void MITAB_DLL MITAB_STDCALL
mitab_c_set_symbol_angle( mitab_feature feature, double symbol_angle );
int MITAB_DLL MITAB_STDCALL
mitab_c_get_symbol_color( mitab_feature feature );
int MITAB_DLL MITAB_STDCALL
mitab_c_get_symbol_no( mitab_feature feature );
int MITAB_DLL MITAB_STDCALL
mitab_c_get_symbol_size( mitab_feature feature );
double MITAB_DLL MITAB_STDCALL
mitab_c_get_symbol_angle( mitab_feature feature );
void MITAB_DLL MITAB_STDCALL mitab_c_set_points( mitab_feature feature, int part,
int vertex_count, double * x, double * y );
void MITAB_DLL MITAB_STDCALL mitab_c_set_arc( mitab_feature feature,
double center_x, double center_y,
double x_radius, double y_radius,
double start_angle, double end_angle);
int MITAB_DLL MITAB_STDCALL mitab_c_get_type( mitab_feature feature );
int MITAB_DLL MITAB_STDCALL mitab_c_get_parts( mitab_feature feature );
int MITAB_DLL MITAB_STDCALL mitab_c_get_vertex_count( mitab_feature feature, int part );
double MITAB_DLL MITAB_STDCALL mitab_c_get_vertex_x( mitab_feature, int part, int vertex );
double MITAB_DLL MITAB_STDCALL mitab_c_get_vertex_y( mitab_feature, int part, int vertex );
int MITAB_DLL MITAB_STDCALL mitab_c_get_feature_count( mitab_handle handle );
int MITAB_DLL MITAB_STDCALL mitab_c_get_field_count( mitab_handle handle );
int MITAB_DLL MITAB_STDCALL mitab_c_get_field_type( mitab_handle handle, int field );
const char MITAB_DLL * MITAB_STDCALL mitab_c_get_field_name(mitab_handle handle, int field);
int MITAB_DLL MITAB_STDCALL mitab_c_get_field_name_vb( mitab_handle handle, int field, char * name, int l );
int MITAB_DLL MITAB_STDCALL mitab_c_get_field_width( mitab_handle handle, int field );
int MITAB_DLL MITAB_STDCALL mitab_c_get_field_precision( mitab_handle handle, int field );
int MITAB_DLL MITAB_STDCALL mitab_c_is_field_indexed( mitab_handle handle, int field );
int MITAB_DLL MITAB_STDCALL mitab_c_is_field_unique( mitab_handle handle, int field );
const char MITAB_DLL * MITAB_STDCALL mitab_c_get_field_as_string( mitab_feature feature,
int field );
double MITAB_DLL MITAB_STDCALL mitab_c_get_field_as_double(mitab_feature feature, int field);
int MITAB_DLL MITAB_STDCALL mitab_c_get_field_as_string_vb( mitab_feature feature, int field, char * value, int l );
mitab_projinfo MITAB_DLL MITAB_STDCALL mitab_c_get_projinfo( mitab_handle dataset );
int MITAB_DLL MITAB_STDCALL mitab_c_set_projinfo( mitab_handle dataset,
mitab_projinfo projinfo );
const char MITAB_DLL * MITAB_STDCALL mitab_c_get_mif_coordsys( mitab_handle dataset);
const char MITAB_DLL * MITAB_STDCALL mitab_c_get_extended_mif_coordsys( mitab_handle dataset);
int MITAB_DLL MITAB_STDCALL mitab_c_get_mif_coordsys_vb( mitab_handle dataset, char * coordsys, int l);
int MITAB_DLL MITAB_STDCALL mitab_c_get_extended_mif_coordsys_vb( mitab_handle dataset, char * coordsys, int l);
int MITAB_DLL MITAB_STDCALL mitab_c_load_coordsys_table( const char *filename );
int MITAB_DLL MITAB_STDCALL
mitab_c_is_interior_ring( mitab_feature feature, int requestedringindex );
void MITAB_DLL MITAB_STDCALL
mitab_c_get_projection_info( mitab_projinfo projInfo,
int *nProjId, int *nEllipsoidId, int *nUnitsId,
double *adProjParams /* array with six entries */);
void MITAB_DLL MITAB_STDCALL
mitab_c_set_projection_info( mitab_projinfo projInfo,
int nProjId, int nEllipsoidId, int nUnitsId,
double *adProjParams /* array with six entries */);
void MITAB_DLL MITAB_STDCALL
mitab_c_get_datum_info( mitab_projinfo projInfo,
double *dDatumShiftX, double *dDatumShiftY, double *dDatumShiftZ,
double *adDatumParams /* array with five entries */);
void MITAB_DLL MITAB_STDCALL
mitab_c_set_datum_info( mitab_projinfo projInfo,
double dDatumShiftX, double dDatumShiftY, double dDatumShiftZ,
double *adDatumParams /* array with five entries */);
int MITAB_DLL MITAB_STDCALL /* Returns 0 if no affine params*/
mitab_c_get_affine_params( mitab_projinfo projInfo, int *nAffineUnits,
double *adAffineParams /* array with 6 entries */);
void MITAB_DLL MITAB_STDCALL
mitab_c_set_affine_params( mitab_projinfo projInfo, int nAffineUnits,
double *adAffineParams /* array with 6 entries */);
mitab_feature MITAB_DLL MITAB_STDCALL
mitab_c_get_collection_region_ref( mitab_feature feature );
mitab_feature MITAB_DLL MITAB_STDCALL
mitab_c_get_collection_polyline_ref( mitab_feature feature );
mitab_feature MITAB_DLL MITAB_STDCALL
mitab_c_get_collection_multipoint_ref( mitab_feature feature );
int MITAB_DLL MITAB_STDCALL
mitab_c_set_collection_region( mitab_feature feature,
mitab_feature region,
int make_copy );
int MITAB_DLL MITAB_STDCALL
mitab_c_set_collection_polyline( mitab_feature feature,
mitab_feature polyline,
int make_copy );
int MITAB_DLL MITAB_STDCALL
mitab_c_set_collection_multipoint( mitab_feature feature,
mitab_feature multipoint,
int make_copy );
#ifdef __cplusplus
}
#endif
#endif /* def _MITAB_CAPI_H_INCLUDED */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -