예제 #1
0
    void RenderShading()
    {
      if (this.paragraph.Format.IsNull("Shading"))
        return;

      ShadingRenderer shadingRenderer = new ShadingRenderer(this.gfx, this.paragraph.Format.Shading);
      Area area = GetShadingArea();

      shadingRenderer.Render(area.X, area.Y, area.Width, area.Height);
    }
예제 #2
0
 void RenderShading(Cell cell, Rectangle innerRect)
 {
   ShadingRenderer shadeRenderer = new ShadingRenderer(this.gfx, cell.Shading);
   shadeRenderer.Render(innerRect.X, innerRect.Y, innerRect.Width, innerRect.Height);
 }
예제 #3
0
        private void RenderShading(Cell cell, Rectangle innerRect)
        {
            ShadingRenderer shadeRenderer = new ShadingRenderer(_gfx, cell.Shading);

            shadeRenderer.Render(innerRect.X, innerRect.Y, innerRect.Width, innerRect.Height, cell.RoundedCorner);
        }
예제 #4
0
 private void RenderShading(Cell cell, Rectangle innerRect)
 {
     ShadingRenderer shadeRenderer = new ShadingRenderer(_gfx, cell.Shading);
     shadeRenderer.Render(innerRect.X, innerRect.Y, innerRect.Width, innerRect.Height, cell.RoundedCorner);
 }
예제 #5
0
        void RenderShading(Cell cell, Rectangle innerRect)
        {
            ShadingRenderer shadeRenderer = new ShadingRenderer(this.gfx, cell.Shading);

            shadeRenderer.Render(innerRect.X, innerRect.Y, innerRect.Width, innerRect.Height);
        }
예제 #6
0
        void RenderShading()
        {
            if (_paragraph.Format._shading == null || _paragraph.Format._shading.IsNull())
                return;

            ShadingRenderer shadingRenderer = new ShadingRenderer(_gfx, _paragraph.Format.Shading);
            Area area = GetShadingArea();

            shadingRenderer.Render(area.X, area.Y, area.Width, area.Height);
        }