r-lib / ragg
Showing 1 of 2 files from the diff.
Other files ignored by Codecov
NEWS.md has changed.

@@ -22,6 +22,8 @@
Loading
22 22
23 23
#include "util/agg_color_conv.h"
24 24
25 +
static const int MAX_CELLS = 1 << 20;
26 +
25 27
/* Base class for graphic device interface to AGG. See AggDevice.cpp for 
26 28
 * implementation details. 
27 29
 * 
@@ -309,7 +311,7 @@
Loading
309 311
  
310 312
  lwd *= lwd_mod;
311 313
  
312 -
  agg::rasterizer_scanline_aa<> ras;
314 +
  agg::rasterizer_scanline_aa<> ras(MAX_CELLS);
313 315
  ras.clip_box(clip_left, clip_top, clip_right, clip_bottom);
314 316
  agg::scanline_p8 slp;
315 317
  agg::ellipse e1;
@@ -410,7 +412,7 @@
Loading
410 412
  
411 413
  lwd *= lwd_mod;
412 414
  
413 -
  agg::rasterizer_scanline_aa<> ras;
415 +
  agg::rasterizer_scanline_aa<> ras(MAX_CELLS);
414 416
  ras.clip_box(clip_left, clip_top, clip_right, clip_bottom);
415 417
  agg::scanline_p8 slp;
416 418
  agg::path_storage poly;
@@ -493,7 +495,7 @@
Loading
493 495
  lwd *= lwd_mod;
494 496
  
495 497
  agg::scanline_u8 sl;
496 -
  agg::rasterizer_scanline_aa<> ras;
498 +
  agg::rasterizer_scanline_aa<> ras(MAX_CELLS);
497 499
  ras.clip_box(clip_left, clip_top, clip_right, clip_bottom);
498 500
  agg::path_storage ps;
499 501
  ps.remove_all();
@@ -537,7 +539,7 @@
Loading
537 539
  
538 540
  lwd *= lwd_mod;
539 541
  
540 -
  agg::rasterizer_scanline_aa<> ras;
542 +
  agg::rasterizer_scanline_aa<> ras(MAX_CELLS);
541 543
  ras.clip_box(clip_left, clip_top, clip_right, clip_bottom);
542 544
  agg::scanline_p8 slp;
543 545
  agg::path_storage path;
Files Coverage
R 72.90%
src 69.37%
Project Totals (71 files) 69.44%
1
comment: false
2

3
coverage:
4
  status:
5
    project:
6
      default:
7
        target: auto
8
        threshold: 1%
9
        informational: true
10
    patch:
11
      default:
12
        target: auto
13
        threshold: 1%
14
        informational: true
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading