Getting a DrawingContext for a wpf WriteableBitmap

前端 未结 5 454
逝去的感伤
逝去的感伤 2020-11-30 05:15

Is there a way to get a DrawingContext (or something similar) for a WriteableBitmap? I.e. something to allow you to call simple DrawLine

5条回答
  •  萌比男神i
    2020-11-30 05:42

    It appears the word is no.


    For future reference, we plan to use a port of the Writeable Bitmap Extensions for WPF.

    For a solution using purely existing code, any of the other suggestions mentioned below will work.

提交回复
热议问题