| 98 | } |
| 99 | |
| 100 | Image Chart::image(const unsigned pWidth, const unsigned pHeight, |
| 101 | const ChannelFormat pFormat, const dtype pDataType) |
| 102 | { |
| 103 | fg_image temp = 0; |
| 104 | FG_THROW(fg_add_image_to_chart(&temp, get(), pWidth, pHeight, (fg_channel_format)pFormat, (fg_dtype)pDataType)); |
| 105 | return Image(temp); |
| 106 | } |
| 107 | |
| 108 | Histogram Chart::histogram(const unsigned pNBins, const dtype pDataType) |
| 109 | { |
nothing calls this directly
no test coverage detected