Exemple #1
0
        internal Display(IMap map, bool createLabelEngine)
            : this(map)
        {
            m_extentChanged  = true;
            m_fontsizeFactor = m_widthFactor = m_refScale = -1.0;
            //m_fixScales = new ArrayList();

            _labelEngine = (createLabelEngine) ? new LabelEngine2() : null;
        }
Exemple #2
0
        public Display(IMap map)
        {
            this.Map = map;

            m_extentChanged  = true;
            m_fontsizeFactor = m_widthFactor = m_refScale = -1.0;
            //m_fixScales=new ArrayList();

            _labelEngine = new LabelEngine2();

            _screen = new DisplayScreen();
            _screen.RefreshSettings();

            this.dpi = GraphicsEngine.Current.Engine.ScreenDpi;
        }
Exemple #3
0
 public RenderLabelEngine(IDisplay display, ILabelEngine labelEngine, ICancelTracker cancelTracker)
 {
     _display       = display;
     _cancelTracker = cancelTracker;
     _labelEngine   = labelEngine;
 }