39 Cairo::RefPtr<Cairo::Surface> surf = Cairo::ImageSurface::create(
40 (
unsigned char*) this->_pxm.data,
41 Cairo::Surface::Format::ARGB32,
42 (
int) this->_pxm.
width(),
43 (
int) this->_pxm.height(),
44 (
int) this->_pxm.width() * 4
48 editor->rotate(
_rotate * std::numbers::pi / 180.0);