201209PX Small work on Blob, SvgPath
This commit is contained in:
parent
39fabe4ee5
commit
6929e0f45c
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue