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

Method has_alpha

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

Source from the content-addressed store, hash-verified

335 bool matrix::is_rgba() const { return matrices_.size() == 4; }
336
337 bool matrix::has_alpha() const {
338 return matrices_.size() == 4 || alpha_ != 0.;
339 }
340
341 const std::vector<std::vector<double>> &matrix::matrix_r() const {
342 return matrices_[0];

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected