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

Method draw_text

source/matplot/backend/backend_interface.cpp:93–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91 }
92
93 void backend_interface::draw_text(
94 [[maybe_unused]] const std::vector<double> &x,
95 [[maybe_unused]] const std::vector<double> &y,
96 [[maybe_unused]] const std::vector<double> &z) {
97 if (!consumes_gnuplot_commands()) {
98 throw std::logic_error(
99 "There is no function to draw_text in this backend yet");
100 } else {
101 throw std::logic_error("This backend has no function draw_text "
102 "because it is based on gnuplot commands");
103 }
104 }
105
106 void backend_interface::draw_image(
107 [[maybe_unused]] const std::vector<std::vector<double>> &x,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected