I know nothing about writing an image editor or graphics programming but maybe someone here can fill me in - would it be more or less difficult ("would it take more or less tokens" is probably the right question to ask these days) to replace the Windows-specific APIs with cross-platform alternatives (I guess Skia instead of Direct2D and something like Avalonia or Uno instead of Win32-based UI?) instead of re-implementing Direct2D?