DXControl icon indicating copy to clipboard operation
DXControl copied to clipboard

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

Open Charltsing opened this issue 1 year ago • 2 comments

捕获

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

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

Charltsing avatar May 31 '24 02:05 Charltsing

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

d2phap avatar Jun 01 '24 06:06 d2phap

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

Charltsing avatar Jun 01 '24 13:06 Charltsing