12.3a: guides, the layout grid, Snap To and the View entries (Compositor 1.1.7)

This commit is contained in:
雷电芽衣 committed 2026-09-26 20:12:11 -04:00
1 parent 4bfc6c237e
commit 338451fc35
25 files changed
+1029 -52

No files matched your search

+3
View File
@@ -1,6 +1,7 @@
#pragma once
#include "Document/LayerAdjustment.h"
#include "Document/LayerAppearance.h"
#include "Document/Guides.h"
#include "Document/LayerGroups.h"
#include "Document/LayerMask.h"
#include "Document/LayerTransform.h"
@@ -63,6 +64,8 @@ struct CanvasDocument {
int height;
double resolution = 72;
std::vector<ImageLayer> layers; // Bottom to top.
// Saved with the project; undo covers them.
std::vector<CanvasGuide> guides;
// Part of the document so undo covers it; never saved.
std::optional<DocumentSelection> selection;