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. Mobile Development
  3. Mobile
  4. Device Application

Device Application

Scheduled Pinned Locked Moved Mobile
3 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.
  • N Offline
    N Offline
    newbie_
    wrote on last edited by
    #1

    I want to draw arc in a deviceApplication project (Pocket pc 2003) but there is no DrawArc method!!! any ideas.

    B O 2 Replies Last reply
    0
    • N newbie_

      I want to draw arc in a deviceApplication project (Pocket pc 2003) but there is no DrawArc method!!! any ideas.

      B Offline
      B Offline
      Burrough
      wrote on last edited by
      #2

      U can actually try out searchingfor something called GraphApp. this is an open source and is a platform independent UI kit. I guess they usesome algorithms to draw an arc and the only thing that they use in windows is fillrect. Good luk burrough

      1 Reply Last reply
      0
      • N newbie_

        I want to draw arc in a deviceApplication project (Pocket pc 2003) but there is no DrawArc method!!! any ideas.

        O Offline
        O Offline
        Orcrist
        wrote on last edited by
        #3

        Drawing Arcs is pretty much a "no go" in the Compact Framework using GDI+. You can accomplish Arc's using GDI directly or you can look at XRossOne (on the Microsoft site) or GAPI (also on Microsoft). Both are basically wrappers around GDI. You can also look at DirectX on Mobile. GapiDraw is another option (commercial product - never used it...). This of course adds dependencies to your application. Another option is to use DrawEllipse and then 'Erase' those areas you dont want to display by repainting the background. This is a bit of a hack though. I eventually decided that I would Chamfer the corners of my images and the results are reasonable but admittedly they are not arcs. If you find a decent solution please respond at let me know. Regards, David -- modified at 13:23 Wednesday 28th February, 2007

        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