This commit is contained in:
Christian Schulz 2025-08-03 16:17:41 +02:00
commit c8453b189d
2 changed files with 5 additions and 5 deletions

View file

@ -30,7 +30,7 @@ namespace Greenshot.Editor.FileFormat.Dto;
/// <summary>
/// All DTO classes should not contain any business logic. This applies to helper methods as well
/// So this is the placae for them.
/// So this is the place for them.
/// </summary>
public static class DtoHelper
{
@ -48,7 +48,7 @@ public static class DtoHelper
}
/// <summary>
/// We store Color as an ARGB integer, so we have to compare two colors in by their ARGB values
/// We store Color as an ARGB integer, so we have to compare two colors by their ARGB values
/// </summary>
/// <param name="leftColor"></param>
/// <param name="rightColor"></param>

View file

@ -115,8 +115,8 @@ The version is composed of two parts:
The version is represented as `{format version}.{schema version}` (i.e. as string, `02.01`, this pattern still matches markers in V1 and V2).
- **Format Version:** See `VersionHandler.GreenshotFileFormatVersion`.
- **Schema Version:** See `VersionHandler.SchemaVersion`.
- **Format Version:** See `GreenshotFileVersionHandler.GreenshotFileFormatVersion`.
- **Schema Version:** See `GreenshotFileVersionHandler.CurrentSchemaVersion`.
---
@ -185,7 +185,7 @@ It provides methods to save and load files. There is a `GreenshotFileFormatHandl
Every `FileFormatHandler` calls the associated `VersionHandler` wich determines the file format version and calls the appropriate class that implements the serialization/deserialization logic.
From `FileFormatHandler` to the implementation, only first-class domain objects (`GreenshotFile`, `GreenshotTemplate`) or file streams are passed as parameters.
From `FileFormatHandler` to the implementation, only first-class domain objects (`GreenshotFile`, `GreenshotTemplate`) or file streams are passed as parameters. _(In particular, no `Surface` or `DrawableContainer`.)_
---