Coder Social home page Coder Social logo

[WPF] Context backend handler about xwt HOT 4 CLOSED

mono avatar mono commented on July 17, 2024
[WPF] Context backend handler

from xwt.

Comments (4)

lytico avatar lytico commented on July 17, 2024

As far as I can see, you use Gdi (System.Drawing) to implement Wpf.ContextBackendHandler.
I have already started some Xwt.Gdi-Backends;
https://github.com/lytico/xwt/tree/8912f007355620a194c46c99e6511d0250f0bee9/Xwt.Gdi
You can take whatever you need, I think you'l need fonts for drawing Text.
I think my ContextBackendHandler is less finished than yours, but maybe you find something usefull...

Later on it would be nice to refactor that it can be used in Xwt.Wpf and
Xwt.Winform (http://limada.git.sourceforge.net/git/gitweb.cgi?p=limada/limada;a=tree;f=src/Xwt.SWF;h=faa369bffe0edc77c977a9fff19625e0b48fc725;hb=HEAD)
but I'll make a proposal then

from xwt.

lytico avatar lytico commented on July 17, 2024

Current state of Xwt.Gdi:
https://github.com/lytico/xwt/blob/7666d3ed8a2a6383b1192e605b4094447468964a/Xwt.Gdi/Mono.Xwt.Drawing.Gtk.Gdi.PNG?raw=true

from xwt.

lytico avatar lytico commented on July 17, 2024

Current state of Xwt.Gdi:
lytico@def0499
It runs the Samples.DrawingTransforms complete now:
https://github.com/lytico/xwt/blob/def049952e483fda284fb3cc820e3e3a8c8e429a/Xwt.Gdi/Mono.Xwt.Drawing.Gtk.Gdi.PNG?raw=true

from xwt.

lytico avatar lytico commented on July 17, 2024

@ermau I have a working Xwt.Drawing-Windows.Drawing backend now. It runs the DrawingTransforms-Sample without errors. I had to continue cause of a presentation tomorrow. Missing is the integration into Xwt.Wpf, I have to finish this until next week. Just to inform you, as we are working parallel now...

from xwt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.