Announcement

Collapse
No announcement yet.

New EZGUI Custom control ! (vector graphics) for use with DDT

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #21
    Chris,

    The coordinates are integer numbers, but smaller units can be defined simply by using a viewport.

    For example, lets say you want to use units of 1/100 of an mile and the display area viewport is to represent 10 miles by 10 miles.

    Instead of a view port of 10 x 10, you could use a viewport of 1000 x 1000, each unit being 1/100 of a mile (100 units x 10 miles = 1000).
    From the stand point of retrieving information from the drawing this would NOT be acceptable as you would get a slightly different answer if your view port were defined as 23 X 47, you would end up with slightly differing floating point round off as your view port dimensions change.

    Normally in highway construction, for example, we deal with big numbers, state plane or UTM coordinates. For example we can easily have a coordinate of X=1234567.1234, Y=123456.1234. Add to this is the fact we need to have consistent access to these values independent of viewport dimension as sometimes values are also obtained directly from the drawing for construction purposes. The accepted way to do this is to store this big coordinate value in the drawing.

    I'm not trying to be difficult here, but to simply show that you may want to rethink your statement that this control can be used for blueprint and CNC purposes in all cases.
    Later...

    JR

    "When governments fear the people there is liberty. When people fear the government there is tyranny." - Thomas Jefferson

    Comment


    • #22
      I didn't say it could be used for "all" situations.

      For those that can live with integer coordinates using a viewport, it will work fine. For those that can't of course it won't.
      Chris Boss
      Computer Workshop
      Developer of "EZGUI"
      http://cwsof.com
      http://twitter.com/EZGUIProGuy

      Comment


      • #23
        Elias,

        The Turtle control is now on sale again!

        It is only $12.45 (US) (for the next few days).
        Chris Boss
        Computer Workshop
        Developer of "EZGUI"
        http://cwsof.com
        http://twitter.com/EZGUIProGuy

        Comment


        • #24
          >> Early Basics had a draw command

          So does the latest version of PB-DOS and the command is DRAW and I wish that it were included in PBCC and PBWin also.

          Comment

          Working...
          X