示例#1
0
                    protected void EarthView_World_Spatial2D_Renderer_CDrawTheme_startDraw_void_ISpatialDisplay_ITheme_Function(IntPtr ref_display, IntPtr ref_theme)
                    {
                        EarthView.World.Spatial.Display.Ispatialdisplay csobj_ref_display = new EarthView.World.Spatial.Display.Ispatialdisplay(CreatedWhenConstruct.CWC_NotToCreate);
                        csobj_ref_display.BindNativeObject(ref_display, "ISpatialDisplay");
                        csobj_ref_display.Delegate = true;
                        IClassFactory csobj_ref_displayClassFactory = GlobalClassFactoryMap.Get(csobj_ref_display.GetCppInstanceTypeName());

                        if (csobj_ref_displayClassFactory != null)
                        {
                            csobj_ref_display.Delegate = true;
                            csobj_ref_display          = csobj_ref_displayClassFactory.Create() as EarthView.World.Spatial.Display.Ispatialdisplay;
                            csobj_ref_display.BindNativeObject(ref_display, "ISpatialDisplay");
                            csobj_ref_display.Delegate = true;
                        }
                        EarthView.World.Spatial.Theme.Itheme csobj_ref_theme = new EarthView.World.Spatial.Theme.Itheme(CreatedWhenConstruct.CWC_NotToCreate);
                        csobj_ref_theme.BindNativeObject(ref_theme, "ITheme");
                        csobj_ref_theme.Delegate = true;
                        IClassFactory csobj_ref_themeClassFactory = GlobalClassFactoryMap.Get(csobj_ref_theme.GetCppInstanceTypeName());

                        if (csobj_ref_themeClassFactory != null)
                        {
                            csobj_ref_theme.Delegate = true;
                            csobj_ref_theme          = csobj_ref_themeClassFactory.Create() as EarthView.World.Spatial.Theme.Itheme;
                            csobj_ref_theme.BindNativeObject(ref_theme, "ITheme");
                            csobj_ref_theme.Delegate = true;
                        }

                        StartDraw(csobj_ref_display, csobj_ref_theme);
                    }
示例#2
0
                    protected void EarthView_World_Spatial2D_Renderer_CDrawTheme_draw_void_ISpatialDisplay_ISymbol_IFeature_Function(IntPtr ref_display, IntPtr symbol, IntPtr feature)
                    {
                        EarthView.World.Spatial.Display.Ispatialdisplay csobj_ref_display = new EarthView.World.Spatial.Display.Ispatialdisplay(CreatedWhenConstruct.CWC_NotToCreate);
                        csobj_ref_display.BindNativeObject(ref_display, "ISpatialDisplay");
                        csobj_ref_display.Delegate = true;
                        IClassFactory csobj_ref_displayClassFactory = GlobalClassFactoryMap.Get(csobj_ref_display.GetCppInstanceTypeName());

                        if (csobj_ref_displayClassFactory != null)
                        {
                            csobj_ref_display.Delegate = true;
                            csobj_ref_display          = csobj_ref_displayClassFactory.Create() as EarthView.World.Spatial.Display.Ispatialdisplay;
                            csobj_ref_display.BindNativeObject(ref_display, "ISpatialDisplay");
                            csobj_ref_display.Delegate = true;
                        }
                        EarthView.World.Spatial.Display.Isymbol csobj_symbol = new EarthView.World.Spatial.Display.Isymbol(CreatedWhenConstruct.CWC_NotToCreate);
                        csobj_symbol.BindNativeObject(symbol, "ISymbol");
                        csobj_symbol.Delegate = true;
                        IClassFactory csobj_symbolClassFactory = GlobalClassFactoryMap.Get(csobj_symbol.GetCppInstanceTypeName());

                        if (csobj_symbolClassFactory != null)
                        {
                            csobj_symbol.Delegate = true;
                            csobj_symbol          = csobj_symbolClassFactory.Create() as EarthView.World.Spatial.Display.Isymbol;
                            csobj_symbol.BindNativeObject(symbol, "ISymbol");
                            csobj_symbol.Delegate = true;
                        }
                        EarthView.World.Spatial.GeoDataset.Ifeature csobj_feature = new EarthView.World.Spatial.GeoDataset.Ifeature(CreatedWhenConstruct.CWC_NotToCreate);
                        csobj_feature.BindNativeObject(feature, "IFeature");
                        csobj_feature.Delegate = true;
                        IClassFactory csobj_featureClassFactory = GlobalClassFactoryMap.Get(csobj_feature.GetCppInstanceTypeName());

                        if (csobj_featureClassFactory != null)
                        {
                            csobj_feature.Delegate = true;
                            csobj_feature          = csobj_featureClassFactory.Create() as EarthView.World.Spatial.GeoDataset.Ifeature;
                            csobj_feature.BindNativeObject(feature, "IFeature");
                            csobj_feature.Delegate = true;
                        }

                        Draw(csobj_ref_display, csobj_symbol, csobj_feature);
                    }
示例#3
0
 public override void StartDraw(EarthView.World.Spatial.Display.Ispatialdisplay ref_display, byte transparent, EarthView.World.Spatial.Theme.Itheme ref_pTheme, int mode)
 {
     base.StartDraw_NoVirtual(ref_display, transparent, ref_pTheme, mode);
 }
示例#4
0
 /// <summary>
 /// 开始绘制专题图
 /// </summary>
 /// <param name="display">显示器</param>
 /// <param name="theme">专题图</param>
 /// <returns></returns>
 public new void StartDraw_NoVirtual(EarthView.World.Spatial.Display.Ispatialdisplay ref_display, EarthView.World.Spatial.Theme.Itheme ref_theme)
 {
     EarthView_World_Spatial2D_Renderer_CDrawUniqueValueMatchSymbolTheme_startDraw_void_ISpatialDisplay_ITheme_NoVirtual(this.NativeObject, object.Equals(ref_display, null) ? IntPtr.Zero : ref_display.NativeObject, object.Equals(ref_theme, null) ? IntPtr.Zero : ref_theme.NativeObject);
 }
示例#5
0
 public override void Draw(EarthView.World.Spatial.Display.Ispatialdisplay ref_display, EarthView.World.Spatial.Display.Isymbol symbol, EarthView.World.Spatial.GeoDataset.Ifeature feature)
 {
     base.Draw_NoVirtual(ref_display, symbol, feature);
 }
 /// <summary>
 /// 开始绘制。
 /// </summary>
 /// <param name="display">绘图参数</param>
 /// <returns></returns>
 public void StartDrawing(EarthView.World.Spatial.Display.Ispatialdisplay ref_display)
 {
     EarthView_World_Spatial_CGeoElementDrawing_startDrawing_void_ISpatialDisplay(this.NativeObject, object.Equals(ref_display, null) ? IntPtr.Zero : ref_display.NativeObject);
 }
示例#7
0
 /// <summary>
 /// 开始渲染
 /// </summary>
 /// <param name="display">设备</param>
 /// <param name="pSymbol">渲染符号</param>
 /// <returns></returns>
 public void StartDraw(EarthView.World.Spatial.Display.Ispatialdisplay ref_display, EarthView.World.Spatial.Display.Isymbol ref_pSymbol)
 {
     EarthView_World_Spatial_Display_CGeometryRenderer_startDraw_void_ISpatialDisplay_ISymbol(this.NativeObject, object.Equals(ref_display, null) ? IntPtr.Zero : ref_display.NativeObject, object.Equals(ref_pSymbol, null) ? IntPtr.Zero : ref_pSymbol.NativeObject);
 }
 /// <summary>
 /// 开始绘制专题图
 /// </summary>
 /// <param name="display">显示器</param>
 /// <param name="theme">专题图</param>
 /// <returns></returns>
 public override void StartDraw(EarthView.World.Spatial.Display.Ispatialdisplay ref_display, EarthView.World.Spatial.Theme.Itheme ref_theme)
 {
     EarthView_World_Spatial2D_Renderer_CDrawStatisticsTheme_startDraw_void_ISpatialDisplay_ITheme(this.NativeObject, object.Equals(ref_display, null) ? IntPtr.Zero : ref_display.NativeObject, object.Equals(ref_theme, null) ? IntPtr.Zero : ref_theme.NativeObject);
 }
示例#9
0
 /// <summary>
 /// 绘制操作
 /// </summary>
 /// <param name="display">显示设备对象</param>
 /// <param name="state">跟踪目标状态</param>
 /// <param name="rect">绘制范围</param>
 /// <returns></returns>
 public new void Paint_NoVirtual(EarthView.World.Spatial.Display.Ispatialdisplay display, EarthView.World.Spatial2D.Controls.EVTRACKINGITEMSTATE state, EarthView.World.Spatial.Display.SpatialRect rect)
 {
     EarthView_World_Spatial2D_Controls_CTrackingGeomItemEx_paint_void_ISpatialDisplay_EVTrackingItemState_CSpatialRect_NoVirtual(this.NativeObject, object.Equals(display, null) ? IntPtr.Zero : display.NativeObject, ref state, object.Equals(rect, null) ? IntPtr.Zero : rect.NativeObject);
 }
示例#10
0
 /// <summary>
 /// 开始绘制
 /// </summary>
 /// <param name="display">空间显示参数</param>
 /// <param name="lableProperty">标注属性</param>
 /// <returns></returns>
 public void StartDraw(EarthView.World.Spatial.Display.Ispatialdisplay display, EarthView.World.Spatial.GeoDataset.Ifeatureclass fc, EarthView.World.Spatial.Theme.Itheme pTheme, string filter)
 {
     EarthView_World_Spatial2D_Renderer_CLayerLabelRenderer_startDraw_void_ISpatialDisplay_IFeatureClass_ITheme_EVString(this.NativeObject, object.Equals(display, null) ? IntPtr.Zero : display.NativeObject, object.Equals(fc, null) ? IntPtr.Zero : fc.NativeObject, object.Equals(pTheme, null) ? IntPtr.Zero : pTheme.NativeObject, filter);
 }
示例#11
0
 public virtual void Draw(EarthView.World.Spatial.Display.Ispatialdisplay ref_display, EarthView.World.Spatial.Display.Isymbol symbol, EarthView.World.Spatial.GeoDataset.Ifeature feature)
 {
     EarthView_World_Spatial2D_Renderer_CDrawTheme_draw_void_ISpatialDisplay_ISymbol_IFeature(this.NativeObject, object.Equals(ref_display, null) ? IntPtr.Zero : ref_display.NativeObject, object.Equals(symbol, null) ? IntPtr.Zero : symbol.NativeObject, object.Equals(feature, null) ? IntPtr.Zero : feature.NativeObject);
 }
示例#12
0
 /// <summary>
 /// 开始绘制
 /// </summary>
 /// <param name="display">空间显示参数</param>
 /// <param name="lableProperty">标注属性</param>
 /// <returns></returns>
 public void StartDraw(EarthView.World.Spatial.Display.Ispatialdisplay display, EarthView.World.Spatial.Theme.Itheme theme)
 {
     EarthView_World_Spatial2D_Renderer_CFeatureRenderer_startDraw_void_ISpatialDisplay_ITheme(this.NativeObject, object.Equals(display, null) ? IntPtr.Zero : display.NativeObject, object.Equals(theme, null) ? IntPtr.Zero : theme.NativeObject);
 }
                    /// <summary>
                    /// 构造函数
                    /// </summary>
                    /// <returns></returns>
                    public AnnotationBuilder(EarthView.World.Spatial.Atlas.Imap ref_map, EarthView.World.Spatial.Atlas.Ivectorlayer ref_dataLayer, EarthView.World.Spatial.Display.Ispatialdisplay ref_spatialDisplay, EarthView.World.Spatial.Geometry.Ienvelope extent, EarthView.World.Core.Database.SqlDatabase db) : base(CreatedWhenConstruct.CWC_NotToCreate)
                    {
                        NameValuePairList list         = new NameValuePairList();
                        BasePtr           valueref_map = new BasePtr(ref_map);

                        list.Add("ref_map", valueref_map.PtrVal);
                        BasePtr valueref_dataLayer = new BasePtr(ref_dataLayer);

                        list.Add("ref_dataLayer", valueref_dataLayer.PtrVal);
                        BasePtr valueref_spatialDisplay = new BasePtr(ref_spatialDisplay);

                        list.Add("ref_spatialDisplay", valueref_spatialDisplay.PtrVal);
                        BasePtr valueextent = new BasePtr(extent);

                        list.Add("extent", valueextent.PtrVal);
                        BasePtr valuedb = new BasePtr(db);

                        list.Add("db", valuedb.PtrVal);
                        Create("CAnnotationBuilder", list);
                        RegisterCallBack();
                        this.needDispose = true;
                        GlobalTraceInfoMap.Put(this);
                    }