Pinta.HistogramWidget.DrawHistogram C# (CSharp) Метод

DrawHistogram() приватный Метод

private DrawHistogram ( Context g ) : void
g Context
Результат void
        private void DrawHistogram(Context g)
        {
            Histogram histogram = Histogram;
            long max = histogram.GetMax ();
            float[] mean = histogram.GetMean ();

            int channels = histogram.Channels;

            for (int i = 0; i < channels; ++i) {
                DrawChannel(g, histogram.GetVisualColor(i), i, max, mean[i]);
            }
        }