Extract canvas object draw and brush panel services

This commit is contained in:
2026-06-16 18:43:14 +02:00
parent b56a46a82c
commit a5002a4e3e
10 changed files with 504 additions and 279 deletions

View File

@@ -0,0 +1,22 @@
#pragma once
#include "canvas.h"
#include <functional>
namespace pp::panopainter {
void legacy_canvas_draw_objects_direct(
Canvas& canvas,
std::function<void(const glm::mat4& camera, const glm::mat4& proj, int i)> observer,
Layer& layer,
int frame);
void legacy_canvas_draw_objects(
Canvas& canvas,
std::function<void(const glm::mat4& camera, const glm::mat4& proj, int i)> observer,
Layer& layer,
int frame,
bool save_history);
} // namespace pp::panopainter