Point struct

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Guest's Avatar

    Point struct

    Hi,

    Why does the framework NOT have a PointD and just a PointF, it would be
    nice if it had a double versions of the structures and not just float.

    Thanks.


  • Bob Powell [MVP]

    #2
    Re: Point struct

    The underlying coordinate system in GDI+ is based on floats. It makes no
    sense to have a double because you can't use them without converting them
    back to floats.

    --
    Bob Powell [MVP]
    C#, System.Drawing

    The November edition of Well Formed is now available.
    Learn how to create Shell Extensions in managed code.


    Answer those GDI+ questions with the GDI+ FAQ


    Read my Blog at http://bobpowelldotnet.blogspot.com

    <discussion@dis cussion.microso ft.com> wrote in message
    news:OONFVLLuDH A.2244@TK2MSFTN GP09.phx.gbl...[color=blue]
    > Hi,
    >
    > Why does the framework NOT have a PointD and just a PointF, it would be
    > nice if it had a double versions of the structures and not just float.
    >
    > Thanks.
    >
    >[/color]


    Comment

    Working...