| 558 | } |
| 559 | |
| 560 | void CairoImage::drawAt(const GraphicsContext& context, const Point<int>& pos) |
| 561 | { |
| 562 | DISTRHO_SAFE_ASSERT_RETURN(surface != nullptr,); |
| 563 | |
| 564 | cairo_t* const handle = static_cast<const CairoGraphicsContext&>(context).handle; |
| 565 | |
| 566 | cairo_set_source_surface(handle, surface, pos.getX(), pos.getY()); |
| 567 | cairo_paint(handle); |
| 568 | } |
| 569 | |
| 570 | CairoImage& CairoImage::operator=(const CairoImage& image) noexcept |
| 571 | { |
no outgoing calls
no test coverage detected