Search results for query: *

  1. J

    How to do the point in polygon search?

    As the picture show in the attachement. Firstly, i draw the points in the panel, then i draw the polygon, then i want the VB to separate the points inside and outside the polygon.
  2. J

    How to do the point in polygon search?

    If I have an arraylist to store the points that draw in the panel, then I draw a polygon in the panel, how can I classify the points is inside or outside the polygon??
  3. J

    I cannot draw rectangle

    I drag in the panel , but no rectangle appear :o Dim MyPoint As ArrayList = New ArrayList Dim DragFlag As Boolean = False Dim StartPt, EndPt, FalseStartPt, FalseEndPt As PointF Dim myshapetype As ArrayList = New ArrayList Dim centreX As Integer = 448 / 2 Dim centreY As...
  4. J

    How to draw the points continues?

    Thank you very much :) Private Sub cmd_changecolor_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmd_changecolor.Click Dim colorBox As ColorDialog = New ColorDialog Dim result As DialogResult = colorBox.ShowDialog() If result = DialogResult.Cancel Then...
  5. J

    How to draw the points continues?

    Thank you very much, I can draw more than one ellipse now :) But why can't For z = 0 To i graphicsObject.DrawEllipse(mPen, pointArray(z).X, pointArray(z).Y, 10, 10) Next If I write this, only 2 ellipse can be draw. If I want to link up the points by lines , how can I do?
  6. J

    How to draw the points continues?

    I am not good at English, so hope you can understand my problem . :) I want to ask why I need to add If mPoints.Count > 1 in the following program,?If I del this command,the program cannot be run. And How can I draw the ellipse by more than one ? Now , I can only draw one ellipse and then stop...
Back
Top