201209PX Small work on Blob, SvgPath

This commit is contained in:
phantomix 2020-12-11 00:55:48 +01:00
parent 39fabe4ee5
commit 6929e0f45c
2 changed files with 13 additions and 2 deletions

View File

@ -7,8 +7,14 @@ namespace dezentrale.model
{
[XmlIgnore] public string Guid { get; set; }
public string FileName { get; set; }
public byte[] Data { get; set; }
public DateTime Added { get; set; } = DateTime.Now;
public DateTime LastChanged { get; set; }
}
//This is for storage into a separate file
public class BlobData
{
[XmlIgnore] public string Guid { get; set; }
public byte[] Data { get; set; } = null;
}
}

View File

@ -293,7 +293,12 @@ namespace dezentrale.model.svg
/** Tries to transform all contained path commands to absolute coordinate values */
public void MakeAbsolute()
{
double x = 0;
double y = 0;
foreach(SvgPathCommand c in CommandList)
{
}
}
/** Tries to transform all contained path commands to absolute coordinate values */
public void MakeRelative()
@ -313,7 +318,7 @@ namespace dezentrale.model.svg
{
if(!cmd.Relative)
{
//cmd.Translate(dx, dy);
}
}
}