MCPcopy Create free account
hub / github.com/alandefreitas/matplotplusplus / is_rgba

Method is_rgba

source/matplot/axes_objects/matrix.cpp:335–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333 bool matrix::is_rgb() const { return matrices_.size() == 3; }
334
335 bool matrix::is_rgba() const { return matrices_.size() == 4; }
336
337 bool matrix::has_alpha() const {
338 return matrices_.size() == 4 || alpha_ != 0.;

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected