Plot Coordinates

Discussion in 'Basic4ppc Wishlist' started by ceaser, Nov 16, 2008.

  1. ceaser

    ceaser Active Member Licensed User

    Hi Erel

    In my Land Surveying program I have a routine to plot all my coordinates. At the moment I am plotting little small circles. The ideal situation would be if I could have a command (PSET X,Y?) to plot points and not circles.

    Because when I zoom in, then I see big round circles!!:sign0137: Oh and another question....why can't I draw circles with a radius unit less than "1"???:sign0085:

    Thanks
    Michael
     
  2. klaus

    klaus Expert Licensed User

    Hi Michael,

    You can draw a single pixel on a form with this
    Form1.Line(x,y,x+1,y+1,color,BF)

    For the circles, as the radius is given in pixels the minimum value can't be lower than 1 pixel.

    Best regards.
     
  3. agraham

    agraham Expert Licensed User

    You can effectively plot a point by either of these methods
    Code:
    ' Using a Forms plotting methods
    Form1.Line(x,y,x+1,y+1,color,BF)

    ' Using Drawer from ImageLib
    Drawer.FillRectangle2(Brush.Value,x,y,1,1)
    The next pixel size below 1 is 0 as pixels come in integer quantities.
     
  4. ceaser

    ceaser Active Member Licensed User

    Thank you very much gentlemen:sign0188::sign0188:

    Thanks
    Michael
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice