Skip to content

Commit 0af9e9c

Browse files
committed
updated copyright year
1 parent 69015e1 commit 0af9e9c

12 files changed

+16
-16
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2022 - 2023 Phap Dieu Duong
3+
Copyright (c) 2022 - 2024 Phap Dieu Duong
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

Source/DXControl/D2Phap.DXControl.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
2323
<PackageReleaseNotes>See release notes here: https://github.com/d2phap/DXControl/releases</PackageReleaseNotes>
2424
<Authors>Duong Dieu Phap</Authors>
25-
<VersionPrefix>3.0.1</VersionPrefix>
25+
<VersionPrefix>3.0.2</VersionPrefix>
2626
<PublishRepositoryUrl>true</PublishRepositoryUrl>
2727
<EmbedUntrackedSources>true</EmbedUntrackedSources>
2828
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>

Source/DXControl/DXHelper.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
MIT License
3-
Copyright (C) 2022 - 2023 DUONG DIEU PHAP
3+
Copyright (C) 2022 - 2024 DUONG DIEU PHAP
44
Project & license info: https://github.com/d2phap/DXControl
55
*/
66
using DirectN;

Source/DXControl/Events/FrameEventArgs.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
MIT License
3-
Copyright (C) 2022 - 2023 DUONG DIEU PHAP
3+
Copyright (C) 2022 - 2024 DUONG DIEU PHAP
44
Project & license info: https://github.com/d2phap/DXControl
55
*/
66
namespace D2Phap;

Source/DXControl/Events/RenderEventArgs.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
MIT License
3-
Copyright (C) 2022 - 2023 DUONG DIEU PHAP
3+
Copyright (C) 2022 - 2024 DUONG DIEU PHAP
44
Project & license info: https://github.com/d2phap/DXControl
55
*/
66
namespace D2Phap;

Source/DXControl/Graphics/D2DGraphics.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
MIT License
3-
Copyright (C) 2022 - 2023 DUONG DIEU PHAP
3+
Copyright (C) 2022 - 2024 DUONG DIEU PHAP
44
Project & license info: https://github.com/d2phap/DXControl
55
*/
66
using DirectN;

Source/DXControl/Graphics/GdipGraphics.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
MIT License
3-
Copyright (C) 2022 - 2023 DUONG DIEU PHAP
3+
Copyright (C) 2022 - 2024 DUONG DIEU PHAP
44
Project & license info: https://github.com/d2phap/DXControl
55
*/
66
using System.Drawing.Drawing2D;

Source/DXControl/Graphics/IGraphics.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
MIT License
3-
Copyright (C) 2022 - 2023 DUONG DIEU PHAP
3+
Copyright (C) 2022 - 2024 DUONG DIEU PHAP
44
Project & license info: https://github.com/d2phap/DXControl
55
*/
66
using DirectN;

Source/Demo/DXCanvas.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
MIT License
3-
Copyright (C) 2022 - 2023 DUONG DIEU PHAP
3+
Copyright (C) 2022 - 2024 DUONG DIEU PHAP
44
Project & license info: https://github.com/d2phap/DXControl
55
*/
66
using D2Phap;
@@ -61,7 +61,7 @@ protected override void OnRender(IGraphics g)
6161
{
6262
_bitmapD2d.Object.GetSize(out var size);
6363
g.DrawBitmap(_bitmapD2d,
64-
destRect: new RectangleF(150, 150, size.width * 5, size.height * 5),
64+
destRect: new RectangleF(150, 150, size.width * 3, size.height * 3),
6565
srcRect: new RectangleF(0, 0, size.width, size.height),
6666
interpolation: InterpolationMode.NearestNeighbor
6767
);
@@ -70,7 +70,7 @@ protected override void OnRender(IGraphics g)
7070
else if (!UseHardwareAcceleration && Bitmap != null)
7171
{
7272
g.DrawBitmap(Bitmap,
73-
destRect: new RectangleF(150, 150, Bitmap.Width * 5, Bitmap.Height * 5),
73+
destRect: new RectangleF(150, 150, Bitmap.Width * 3, Bitmap.Height * 3),
7474
srcRect: new RectangleF(0, 0, Bitmap.Width, Bitmap.Height),
7575
interpolation: InterpolationMode.NearestNeighbor
7676
);
@@ -115,7 +115,7 @@ protected override void OnRender(IGraphics g)
115115
g.DrawRectangle(new RectangleF(rectText.Location, textSize), 0, Color.Red);
116116

117117

118-
// draw FPD info
118+
// draw FPS info
119119
var engine = UseHardwareAcceleration ? "GPU" : "GDI+";
120120
g.DrawText($"FPS: {FPS} - {engine}", Font.Name, 18, 0, 0, Color.Purple, DeviceDpi);
121121

Source/Demo/Demo.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
</ItemGroup>
1818

1919
<ItemGroup>
20-
<PackageReference Include="Magick.NET-Q16-AnyCPU" Version="13.4.0" />
21-
<PackageReference Include="Magick.NET.SystemWindowsMedia" Version="7.2.0" />
20+
<PackageReference Include="Magick.NET-Q16-AnyCPU" Version="13.5.0" />
21+
<PackageReference Include="Magick.NET.SystemWindowsMedia" Version="7.2.1" />
2222
</ItemGroup>
2323

2424
<ItemGroup>

Source/Demo/Form1.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
MIT License
3-
Copyright (C) 2022 DUONG DIEU PHAP
3+
Copyright (C) 2022-2024 DUONG DIEU PHAP
44
Project & license info: https://github.com/d2phap/DXControl
55
*/
66
using ImageMagick;

Source/Demo/Properties/launchSettings.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"profiles": {
33
"Demo": {
44
"commandName": "Project",
5-
"commandLineArgs": "\"photo.png\""
5+
"commandLineArgs": "\"C:\\Users\\d2pha\\Desktop\\400.png\""
66
}
77
}
88
}

0 commit comments

Comments
 (0)