コード例 #1
0
ファイル: PlotAreaRenderer.cs プロジェクト: t00/PdfSharpXps
 /// <summary>
 /// Initializes the plot area's fill format common to all derived plot area renderers.
 /// If fill format is given all uninitialized values will be set.
 /// </summary>
 protected void InitFillFormat(PlotAreaRendererInfo rendererInfo)
 {
     if (rendererInfo.plotArea.fillFormat != null)
     {
         rendererInfo.FillFormat = Converter.ToXBrush(rendererInfo.plotArea.fillFormat, XColors.White);
     }
 }
コード例 #2
0
ファイル: PlotAreaRenderer.cs プロジェクト: t00/PdfSharpXps
 /// <summary>
 /// Initializes the plot area's line format common to all derived plot area renderers.
 /// If line format is given all uninitialized values will be set.
 /// </summary>
 protected void InitLineFormat(PlotAreaRendererInfo rendererInfo)
 {
     if (rendererInfo.plotArea.lineFormat != null)
     {
         rendererInfo.LineFormat = Converter.ToXPen(rendererInfo.plotArea.lineFormat, XColors.Black, DefaultLineWidth);
     }
 }
コード例 #3
0
 /// <summary>
 /// Returns an initialized PlotAreaRendererInfo.
 /// </summary>
 internal override RendererInfo Init()
 {
   PlotAreaRendererInfo pari = new PlotAreaRendererInfo();
   pari.plotArea = ((ChartRendererInfo)this.rendererParms.RendererInfo).chart.plotArea;
   InitLineFormat(pari);
   InitFillFormat(pari);
   return pari;
 }
コード例 #4
0
 /// <summary>
 /// Returns an initialized PlotAreaRendererInfo.
 /// </summary>
 internal override RendererInfo Init()
 {
     PlotAreaRendererInfo pari = new PlotAreaRendererInfo();
     pari._plotArea = ((ChartRendererInfo)_rendererParms.RendererInfo)._chart._plotArea;
     InitLineFormat(pari);
     InitFillFormat(pari);
     return pari;
 }
コード例 #5
0
ファイル: PlotAreaRenderer.cs プロジェクト: t00/PdfSharpXps
        /// <summary>
        /// Returns an initialized PlotAreaRendererInfo.
        /// </summary>
        internal override RendererInfo Init()
        {
            PlotAreaRendererInfo pari = new PlotAreaRendererInfo();

            pari.plotArea = ((ChartRendererInfo)this.rendererParms.RendererInfo).chart.plotArea;
            InitLineFormat(pari);
            InitFillFormat(pari);
            return(pari);
        }
コード例 #6
0
 /// <summary>
 /// Initializes the plot area's fill format common to all derived plot area renderers.
 /// If fill format is given all uninitialized values will be set.
 /// </summary>
 protected void InitFillFormat(PlotAreaRendererInfo rendererInfo)
 {
   if (rendererInfo.plotArea.fillFormat != null)
     rendererInfo.FillFormat = Converter.ToXBrush(rendererInfo.plotArea.fillFormat, XColors.White);
 }
コード例 #7
0
 /// <summary>
 /// Initializes the plot area's line format common to all derived plot area renderers.
 /// If line format is given all uninitialized values will be set.
 /// </summary>
 protected void InitLineFormat(PlotAreaRendererInfo rendererInfo)
 {
   if (rendererInfo.plotArea.lineFormat != null)
     rendererInfo.LineFormat = Converter.ToXPen(rendererInfo.plotArea.lineFormat, XColors.Black, DefaultLineWidth);
 }