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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to draw Arc in eVC++ (WinCE)

How to draw Arc in eVC++ (WinCE)

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorial
6 Posts 4 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.
  • H Offline
    H Offline
    himuskanhere
    wrote on last edited by
    #1

    :cool:hey Friends.. CDC::Arc(...) is not supported in eVC++ (WinCE). Please give me some hint to draw Arc and Pie without using MFC methods thanks ...:cool:

    T N I 3 Replies Last reply
    0
    • H himuskanhere

      :cool:hey Friends.. CDC::Arc(...) is not supported in eVC++ (WinCE). Please give me some hint to draw Arc and Pie without using MFC methods thanks ...:cool:

      T Offline
      T Offline
      ThatsAlok
      wrote on last edited by
      #2

      look at Win32 Api Arc and ArcTo

      "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

      cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief

      H 2 Replies Last reply
      0
      • T ThatsAlok

        look at Win32 Api Arc and ArcTo

        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

        cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief

        H Offline
        H Offline
        himuskanhere
        wrote on last edited by
        #3

        Win32 Api Arc and ArcTo ...etc are not supported in eVC++(WinCE)

        1 Reply Last reply
        0
        • T ThatsAlok

          look at Win32 Api Arc and ArcTo

          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

          cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief

          H Offline
          H Offline
          himuskanhere
          wrote on last edited by
          #4

          Win32 Api arenot supported in WinCE!!

          1 Reply Last reply
          0
          • H himuskanhere

            :cool:hey Friends.. CDC::Arc(...) is not supported in eVC++ (WinCE). Please give me some hint to draw Arc and Pie without using MFC methods thanks ...:cool:

            N Offline
            N Offline
            Nelek
            wrote on last edited by
            #5

            Mmmm, Have you looked into the API how does the function works? Maybe is it possible to code it separatelly. I guess it is possible to program it giving the two points, a radio and a bool. With the two points you limit the circle being drawn, with the radio you take how flat or round should it be, a line is an arc of a circle with infinite radio. with the bool you say: the shortest way between the points or the other side of the circle? The equation of a circle is: x² + y² = r² I hope it helps.

            Greetings. -------- M.D.V. If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?

            1 Reply Last reply
            0
            • H himuskanhere

              :cool:hey Friends.. CDC::Arc(...) is not supported in eVC++ (WinCE). Please give me some hint to draw Arc and Pie without using MFC methods thanks ...:cool:

              I Offline
              I Offline
              Iain Clarke Warrior Programmer
              wrote on last edited by
              #6

              I answered the same question a few days ago. Different poster, same class? And on examination, you're the same person who asked it! Forget MFC - the CDC functions are only thin wrappers around the original Win32 GDI function calls. Does ::Ellipse not work? Could you not find the documentation for ::SelectClipRgn, or ::CreatePolygonRgn? Or do they not work in WinCE? If you don't want windows to do the heavy lifting for you, then you're going to have to roll your sleeves up and learn a bit more about sin & cos... Iain.

              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