locked
Graphic editor functionality using Xamarin frameworks RRS feed

  • Question

  • User174471 posted

    I am assessing how much and which of Xamarin's frameworks (and the ecosystem) I can use to create a Graphics editor (think of interactive shapes such as curves and rectangles). I know I can use Xamarin.Forms for the standard UI parts such as menus etc. but the main part of this App will need to have a unified look&feel across all my platforms and I am thinking how easy/difficult the mouse/touch input functionality as well as graphics drawing functionality is going to be?

    Are there any existing [open source] examples or component libraries for such thing? and where do I begin?

    What if ultimately I find that using OpenGL to do the drawing is the most convenient way of doing this? Would those user interactions be a nightmare to get to work with OpenGL-drawn elements/components? Do Xamarin's frameworks provide anything that let me draw with OpenGL but reuse the user interactions and events functionalities?

    Wednesday, November 18, 2015 8:14 PM

Answers

  • User5562 posted

    This might not be what you have in mind, but I use xamarin forms run-of-the-mill components for the normal application flow and user interactions (pages, widges and dialogs) . I ended up rendering dynamic content to svg and displaying it in a webview using javascript callbacks to communicate with my application. Works really well, looks good and you get the benefit of zoom and gesture support :)

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Thursday, November 19, 2015 4:03 PM
  • User134068 posted

    Take a look at NGraphics - it should offer what you want:

    https://github.com/praeclarum/NGraphics

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Thursday, November 19, 2015 4:57 PM

All replies

  • User174471 posted

    !? :neutral:

    Thursday, November 19, 2015 11:56 AM
  • User5562 posted

    This might not be what you have in mind, but I use xamarin forms run-of-the-mill components for the normal application flow and user interactions (pages, widges and dialogs) . I ended up rendering dynamic content to svg and displaying it in a webview using javascript callbacks to communicate with my application. Works really well, looks good and you get the benefit of zoom and gesture support :)

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Thursday, November 19, 2015 4:03 PM
  • User134068 posted

    Take a look at NGraphics - it should offer what you want:

    https://github.com/praeclarum/NGraphics

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Thursday, November 19, 2015 4:57 PM
  • User174471 posted

    Thanks guys.

    Wednesday, November 25, 2015 4:13 PM
  • User174471 posted

    @DavidBritch said: Take a look at NGraphics - it should offer what you want:

    https://github.com/praeclarum/NGraphics

    @DavidBritch, Does NGraphics work also under Linux/Ubuntu?

    Wednesday, November 25, 2015 9:35 PM