Bot releases are hidden (Show)
https://www.nuget.org/packages/D2Phap.DXControl
VerticalBlankTicker
implementation with .NET PeriodicTimer
in OnRender()
function to fix issues occurred on Windows ServerFull Changelog: https://github.com/d2phap/DXControl/compare/3.0.2...3.1.0
Published by d2phap 10 months ago
https://www.nuget.org/packages/D2Phap.DXControl
0xc000000d
occurred on Windows Server 2019Full Changelog: https://github.com/d2phap/DXControl/compare/3.0.1...3.0.2
Published by d2phap 11 months ago
https://www.nuget.org/packages/D2Phap.DXControl
Full Changelog: https://github.com/d2phap/DXControl/compare/3.0.0...3.0.1
Published by d2phap 12 months ago
https://www.nuget.org/packages/D2Phap.DXControl
_D3DCOLORVALUE.FromColor()
method is replaced with Color.ToD3DCOLORVALUE()
Full Changelog: https://github.com/d2phap/DXControl/compare/2.7.0...3.0.0
Published by d2phap about 1 year ago
https://www.nuget.org/packages/D2Phap.DXControl
Full Changelog: https://github.com/d2phap/DXControl/compare/2.6.0...2.7.0
Published by d2phap over 1 year ago
https://www.nuget.org/packages/D2Phap.DXControl
_d2DFactory.CreateHwndRenderTarget()
method, use D2D1_PRESENT_OPTIONS_IMMEDIATELY
instead of D2D1_PRESENT_OPTIONS_NONE
.Full Changelog: https://github.com/d2phap/DXControl/compare/2.5.0...2.6.0
Published by d2phap over 1 year ago
https://www.nuget.org/packages/D2Phap.DXControl
VerticalBlankTickerWaitError
to handle exception from VerticalBlankTicker
.void OnVerticalBlankTickerWaitError(VerticalBlankTickerErrorEventArgs e)
.WAIT_TIMEOUT
error: The wait operation timed out.
when the monitor is turned off.These changes are because of upgrading to Direct2D 1.3, and using IComObject<>
to utilize the extension methods.
DXControl
classProperties | Old type | New type |
---|---|---|
DXControl.RenderTarget |
ID2D1HwndRenderTarget |
IComObject<ID2D1HwndRenderTarget> |
DXControl.Device |
ID2D1DeviceContext |
IComObject<ID2D1DeviceContext6> |
DXControl.Direct2DFactory |
ID2D1Factory |
IComObject<ID2D1Factory1> |
DXControl.DirectWriteFactory |
IDWriteFactory |
IComObject<IDWriteFactory5> |
D2DGraphics
classOld type | New type | |
---|---|---|
The argument object? bitmap in D2DGraphics.DrawBitmap(...)
|
ID2D1Bitmap |
ComObject<ID2D1Bitmap1> |
D2DGraphics.DeviceContext |
ID2D1DeviceContext |
IComObject<ID2D1DeviceContext6> |
DXHelper
classOld type | New type | |
---|---|---|
The argument bmp in DXHelper.DisposeD2D1Bitmap(...)
|
ID2D1Bitmap |
IComObject<ID2D1Bitmap1> |
The return value of DXHelper.CreateDefaultBitmapProps(...)
|
D2D1_BITMAP_PROPERTIES |
D2D1_BITMAP_PROPERTIES1 |
The argument dc in DXHelper.ToD2D1Bitmap(...)
|
ID2D1DeviceContext |
IComObject<ID2D1DeviceContext6> |
The return value of DXHelper.ToD2D1Bitmap(...)
|
ComObject<ID2D1Bitmap> |
IComObject<ID2D1Bitmap1> |
Full Changelog: https://github.com/d2phap/DXControl/compare/2.4.1...2.5.0
Published by d2phap over 1 year ago
https://www.nuget.org/packages/D2Phap.DXControl
DISPLAY_DEVICE
, DISPLAY_DEVICE_FLAGS
files.CapitalizeFirst()
, EqualsIgnoreCase()
, Nullify()
.Full Changelog: https://github.com/d2phap/DXControl/compare/2.3.1...2.4.1
Published by d2phap almost 2 years ago
https://www.nuget.org/packages/D2Phap.DXControl
D2DGraphics.MeasureText()
is not correct.DXControl
as protected variables.Full Changelog: https://github.com/d2phap/DXControl/compare/2.3.0...2.3.1
Published by d2phap almost 2 years ago
https://www.nuget.org/packages/D2Phap.DXControl
DrawGeometry
, GetCombinedRectanglesGeometry
, GetCombinedEllipsesGeometry
from the interface IGraphics
, but kept it for D2DGraphics
Full Changelog: https://github.com/d2phap/DXControl/compare/2.2.0...2.3.0
Published by d2phap about 2 years ago
https://www.nuget.org/packages/D2Phap.DXControl
IGraphics
interface:
GetCombinedRectanglesGeometry()
GetCombinedEllipsesGeometry()
DrawGeometry()
D2DFactory
property to D2DGraphics
DrawGeometry()
in GdiGraphics
, only CombineMode.Intesect
and CombineMode.Exclude
work correctly.Full Changelog: https://github.com/d2phap/DXControl/compare/2.1.0...2.2.0
Published by d2phap about 2 years ago
https://www.nuget.org/packages/D2Phap.DXControl
VerticalBlankTicker
throws an unknown error 0xc01e0006
: https://github.com/smourier/DirectN/issues/29
Full Changelog: https://github.com/d2phap/DXControl/compare/2.0.0...2.1.0
Published by d2phap about 2 years ago
IGraphics
interfaceOnDirect2DRender()
and OnGdiPlusRender()
by OnRender(IGraphics)
RenderByDirect2D
and RenderByGdiPLus
by Render
DXGraphics
class, use IGraphics
instead.DXHelper
.DirectN.D2D1_BITMAP_BRUSH_PROPERTIES
, DirectN.D2D1_BITMAP_BRUSH_PROPERTIES1
Full Changelog: https://github.com/d2phap/DXControl/compare/1.1.0...2.0.0
Published by d2phap about 2 years ago
Lots of fixes and improvements
Full Changelog: https://github.com/d2phap/DXControl/compare/1.0.3...1.1.0
Nuget package: https://www.nuget.org/packages/D2Phap.DXControl
Published by d2phap about 2 years ago
Nuget package: https://www.nuget.org/packages/D2Phap.DXControl