matmul3x3(tmp2, translation_matrix, zoom_matrix);
fixup_zoom_matrix();
+ update();
}
void VideoWidget::mousePressEvent(QMouseEvent *e)
last_drag_x = e->position().x();
last_drag_y = e->position().y();
+
+ update();
}
// Normalize the matrix so that we never get skew or similar,