git repos / sago_multi_scrambler_puzzle2

commit 71062a50

Poul Sander · 2025-11-10 20:31
71062a50a4b13cfc50a3f4a4de1e56b5a3295191 patch · browse files
parent 9d28203d84bd787437d17f9ededfb66d1e43c054

Add comment about tile alignment

Changed files

M src/sago/SagoLogicalResize.hpp before
diff --git a/src/sago/SagoLogicalResize.hpp b/src/sago/SagoLogicalResize.hpp index a765f0a..1eda7ae 100644 --- a/src/sago/SagoLogicalResize.hpp +++ b/src/sago/SagoLogicalResize.hpp
@@ -41,6 +41,7 @@ namespace sago {
* - Physical coordinates: Actual screen/window size (e.g., 1280x720, 3840x2160, etc.)
* - Scale factor: Calculated to fit logical size into physical size while preserving aspect ratio
* - Margins: Black bars added to maintain aspect ratio (letterboxing/pillarboxing)
+ * - Tile alignment: As long as tiles are resized with LogicalToPhysical, they will align correctly. No gaps or overlaps.
*
* Example usage:
* @code