d2phap / DXControl

A WinForms hybrid control that supports Direct2D and GDI+ drawing
MIT License
23 stars 5 forks source link

The D2DGraphics DrawLine function is missing the IComObject<ID2D1StrokeStyle>strokeStyle parameter #7

Open Charltsing opened 1 month ago

Charltsing commented 1 month ago

捕获

DrawBitmap missing D2D_MATRIX_4X4_F? perspectiveTransform DrawText missing DWRITE_MEASURING_MODE measuringMode DrawEllipse, DrawLine, DrawRoundedRectangle, DrawGeometry, missing IComObject strokeStyle

As a plan B, I use D2DGraphics.DeviceContext to draw lines

d2phap commented 1 month ago

Yea the D2DGraphics just provides some quick methods for drawing. For the advanced drawing, you can use the DeviceContext

Charltsing commented 1 month ago

I will wait for the missing parameters to be added in future updated versions. Thanks a lot!