@@ -27,7 +27,7 @@ public class DXCanvas : Control
2727 protected IComObject < IDWriteFactory5 > ? _dWriteFactory = null ;
2828 protected IComObject < ID2D1HwndRenderTarget > ? _renderTarget ;
2929 protected IComObject < ID2D1DeviceContext6 > ? _device ;
30- protected D2DGraphics ? _graphicsD2d ;
30+ protected DXGraphics ? _graphicsD2d ;
3131
3232
3333 protected bool _useHardwardAcceleration = true ;
@@ -71,10 +71,10 @@ public class DXCanvas : Control
7171
7272
7373 /// <summary>
74- /// Gets the <see cref='D2DGraphics '/> object used to draw in <see cref="Render"/>.
74+ /// Gets the <see cref='DXGraphics '/> object used to draw in <see cref="Render"/>.
7575 /// </summary>
7676 [ Browsable ( false ) ]
77- public D2DGraphics ? D2Graphics => _graphicsD2d ;
77+ public DXGraphics ? D2Graphics => _graphicsD2d ;
7878
7979
8080 /// <summary>
@@ -85,7 +85,7 @@ public class DXCanvas : Control
8585
8686
8787 /// <summary>
88- /// Gets, sets the DPI for drawing when using <see cref="D2DGraphics "/>.
88+ /// Gets, sets the DPI for drawing when using <see cref="DXGraphics "/>.
8989 /// </summary>
9090 [ Browsable ( false ) ]
9191 public float BaseDpi
@@ -171,7 +171,7 @@ public virtual bool UseHardwareAcceleration
171171
172172
173173 /// <summary>
174- /// Occurs when the control is being rendered by <see cref="D2DGraphics "/>.
174+ /// Occurs when the control is being rendered by <see cref="DXGraphics "/>.
175175 /// </summary>
176176 public event EventHandler < RenderEventArgs > ? Render ;
177177
@@ -271,7 +271,7 @@ protected virtual void CreateDevice(DeviceCreatedReason reason)
271271
272272 // create devide and graphics
273273 _device = _renderTarget . AsComObject < ID2D1DeviceContext6 > ( ) ;
274- _graphicsD2d = new D2DGraphics ( _device , _d2DFactory , _dWriteFactory ) ;
274+ _graphicsD2d = new DXGraphics ( _device , _d2DFactory , _dWriteFactory ) ;
275275
276276
277277 OnDeviceCreated ( reason ) ;
@@ -308,7 +308,7 @@ protected virtual void OnDeviceCreated(DeviceCreatedReason reason)
308308 /// <summary>
309309 /// Triggers <see cref="Render"/> event to paint the control.
310310 /// </summary>
311- protected virtual void OnRender ( D2DGraphics g )
311+ protected virtual void OnRender ( DXGraphics g )
312312 {
313313 if ( ! IsReady ) return ;
314314 Render ? . Invoke ( this , new ( g ) ) ;
@@ -490,7 +490,7 @@ protected override void OnPaintBackground(PaintEventArgs e)
490490
491491
492492 /// <summary>
493- /// <b>Do use</b> <see cref="OnRender(D2DGraphics )"/> if you want to draw on the control.
493+ /// <b>Do use</b> <see cref="OnRender(DXGraphics )"/> if you want to draw on the control.
494494 /// </summary>
495495 protected override void OnPaint ( PaintEventArgs e )
496496 {
0 commit comments