Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. WinRT D2D

WinRT D2D

Scheduled Pinned Locked Moved The Lounge
csharpcomgraphicsgame-devhelp
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Super Lloyd
    wrote on last edited by
    #1

    I was kind of stuck on my WinRT D3D (C# friendly) wrapper... So I implemented lots of D2D!!! :-D Look at that[^]! And I also put it on CodePlex[^]

    My programming get away... The Blog... DirectX for WinRT/C# since 2013! Taking over the world since 1371!

    S Q 2 Replies Last reply
    0
    • S Super Lloyd

      I was kind of stuck on my WinRT D3D (C# friendly) wrapper... So I implemented lots of D2D!!! :-D Look at that[^]! And I also put it on CodePlex[^]

      My programming get away... The Blog... DirectX for WinRT/C# since 2013! Taking over the world since 1371!

      S Offline
      S Offline
      Storm blade
      wrote on last edited by
      #2

      Typo...

      void Draw(DXContext ctxt)
      {
      ctxt.Render = true;
      ctxt.Clear(Colors.White);

      var g3 = new D3DGraphic(ctxt)
      g3.DrawSomething(...);
      
      var g3 = new D2DGraphic(ctxt);
      g2.DrawSomething(...);
      
      ctxt.Render = false;
      

      }

      two "var g3 = ...", second should be g2.

      S 1 Reply Last reply
      0
      • S Storm blade

        Typo...

        void Draw(DXContext ctxt)
        {
        ctxt.Render = true;
        ctxt.Clear(Colors.White);

        var g3 = new D3DGraphic(ctxt)
        g3.DrawSomething(...);
        
        var g3 = new D2DGraphic(ctxt);
        g2.DrawSomething(...);
        
        ctxt.Render = false;
        

        }

        two "var g3 = ...", second should be g2.

        S Offline
        S Offline
        Super Lloyd
        wrote on last edited by
        #3

        Corrected thanks, good works! ;P I should warn you, this is just pseudo code!!! Updating CodePlex wiki right now...

        My programming get away... The Blog... DirectX for WinRT/C# since 2013! Taking over the world since 1371!

        1 Reply Last reply
        0
        • S Super Lloyd

          I was kind of stuck on my WinRT D3D (C# friendly) wrapper... So I implemented lots of D2D!!! :-D Look at that[^]! And I also put it on CodePlex[^]

          My programming get away... The Blog... DirectX for WinRT/C# since 2013! Taking over the world since 1371!

          Q Offline
          Q Offline
          QuiJohn
          wrote on last edited by
          #4

          This is not the code I'm looking for.

          Look at me still talking when there's science to do When I look out there it makes me glad I'm not you

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups