Esempio n. 1
0
        private void tabGraph_Paint(object sender, PaintEventArgs e)
        {
            PrepareBackBuffer();

            // plotting in Long (as X) / Lat (as Y) coordinates
            mapUtil.DrawMaps(e.Graphics, BackBuffer, BackBufferGraphics, MouseMoving,
                             checkIsRunning.Checked, comboMultiMaps.SelectedIndex, GetUnitsConversionCff(), GetUnitsName(),
                             PlotLong, PlotLat, Counter / Decimation, GetLineColor(comboBoxKmlOptColor), GetLineWidth(comboBoxKmlOptWidth),
                             checkPlotTrackAsDots.Checked,
                             Plot2ndLong, Plot2ndLat, Counter2nd, GetLineColor(comboBoxLine2OptColor), GetLineWidth(comboBoxLine2OptWidth),
                             checkPlotLine2AsDots.Checked);
        }