Droppers / HexEditorControl

13 stars 2 forks source link

HexEditorControl

A very much WIP hex editor control for WPF, Avalonia, Winforms and WinUI. In current state not usable.

Why Direct2D?

After trying SkiaSharp, Win2D, WriteableBitmap and Direct2D, I made the decision to use Direct2D. See below the advantages and disadvantages I have faced. Note that these are based on rendering a large amount of text, 5000+ characters with ~5 different colors. Meaning, for use cases such as rendering a lot of shapes the advantages and disadvantages will vary.

For Avalonia the built-in DrawingContext is used, internally this context relies on SkiaSharp and is fast.

Direct2D

Advantages

Disadvantages

SkiaSharp

Advantages

Disadvantages

WriteableBitmap

Advantages

Disavantages

Win2D

Advantages

Disavantages