1 viewer
rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off
crates/cre8-util-pdf/src/render/color.rs
Items
const MAX_DEPTH const MAX_COLORANTS enum ColorSpace const NOTE_CMYK const NOTE_LAB const NOTE_CAL const NOTE_ICC impl ColorSpace
Functions
By call-graph weight (PageRank; 1.0 is the average function). 13 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| to_bytessrc/render/color.rs:271 | fn | 4 | 1 | 5 | 0 | 2 | |
| ColorSpace::to_rgbsrc/render/color.rs:210 | method | 37 | 8 | 7 | 5 | 1.6 | |
| ColorSpace::load_atsrc/render/color.rs:52 | method | 118 | 34 | 1 | 9 | 1.3 | |
| ColorSpace::componentssrc/render/color.rs:173 | method | 9 | 5 | 5 | 0 | 1 | |
| ColorSpace::loadsrc/render/color.rs:48 | method | 3 | 1 | 5 | 1 | 0.9 | |
| ColorSpace::default_decodesrc/render/color.rs:196 | method | 7 | 3 | 2 | 0 | 0.8 | |
| cmyk_to_rgbsrc/render/color.rs:250 | fn | 3 | 1 | 1 | 0 | 0.8 | |
| lab_to_rgbsrc/render/color.rs:254 | fn | 16 | 3 | 1 | 0 | 0.8 | |
| to_colorsrc/render/color.rs:276 | fn | 4 | 1 | 3 | 1 | 0.8 | |
| ColorSpace::paints_nothingsrc/render/color.rs:205 | method | 3 | 1 | 1 | 0 | 0.6 | |
| ColorSpace::initialsrc/render/color.rs:184 | method | 10 | 6 | 1 | 0 | 0.5 | |
| device_spaces_convert_and_cmyk_is_naivesrc/render/color.rs:286 | fn | 8 | 1 | 0 | 2 | 0.5 | |
| lab_white_and_black_land_on_white_and_blacksrc/render/color.rs:296 | fn | 5 | 1 | 0 | 2 | 0.5 |
Source not readable from this process.