Untalented's Profile User Rating: -----

Reputation: 1 Apprentice
Active Members
Active Posts:
143 (0.09 per day)
31-January 12
Profile Views:
Last Active:
User is offline Mar 08 2015 07:19 AM

Previous Fields

Who Cares
OS Preference:
Favorite Browser:
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Your Car:
Who Cares
Dream Kudos:
Icon   Untalented has not set their status

Posts I've Made

  1. In Topic: Venn Diagram

    Posted 8 Mar 2015

    I cant find a way to edit/fill the color of the center of two intersecting circles only :helpsmilie:

    Can I use the gpCircle3 to fill only the middle part?
      Using rgn As New Region(gpCircle3) 'create GraphicsPath for center of all 3 circles
                gpCenter.AddRectangles(rgn.GetRegionScans(New Matrix))
            End Using

    I will try the Graphics.FillRegion
  2. In Topic: Venn Diagram

    Posted 6 Mar 2015

    These are all the patterns that I am trying to accomplish :surrender:
    Posted Image

    Pattern number 2
    Posted Image
  3. In Topic: Venn Diagram

    Posted 6 Mar 2015

    Almost done, When the back color is orange and the 2 circles does not have any color. the Middle should be white.

    On first click it change to white, but on the next click it doesnt change.

       Private Sub Form1_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Me.MouseDown
        If gp1.IsVisible(e.Location) And gp2.IsVisible(e.Location) Then 'clicked in middle of both circles
                If brsh3.Color = Color.FromArgb(128, Color.Orange) Then
                    brsh3.Color = Color.FromArgb(128, Me.BackColor)
                    brsh3.Color = Color.FromArgb(128, Color.Orange)
                End If
                If Me.BackColor = Color.Orange Then
                    If brsh3.Color = Color.FromArgb(128, Me.BackColor) Then
                        brsh3.Color = Color.FromArgb(128, Color.White)
                        brsh3.Color = Color.FromArgb(128, Me.BackColor)
                    End If
                End If
            ElseIf gp1.IsVisible(e.Location) Then 'clicled in circle 1
                If brsh1.Color.ToArgb = Color.FromArgb(128, Color.Blue).ToArgb Then
                    brsh1.Color = Color.FromArgb(0, Color.Blue)
                    brsh1.Color = Color.FromArgb(128, Color.Blue)
                End If
            ElseIf gp2.IsVisible(e.Location) Then 'clicked in circle 2
                If brsh2.Color.ToArgb = Color.FromArgb(128, Color.Red).ToArgb Then
                    brsh2.Color = Color.FromArgb(0, Color.Red)
                    brsh2.Color = Color.FromArgb(128, Color.Red)
                End If
            Else 'clicked on form not within ether circle
                If Me.BackColor = Color.White Then
                    Me.BackColor = Color.Orange
                    Me.BackColor = Color.White
                End If
                brsh3.Color = Color.FromArgb(128, Me.BackColor)
            End If
        End Sub
  4. In Topic: Venn Diagram

    Posted 6 Mar 2015

    Thanks almost done, but my real problem was the middle one. You should be also able to turn on and off the middle. When you click the middle it clears both circle 1 and 2 colors.

    Posted Image

    Additional question

    How do you find the X and Y coordinates of the circle?

    How did you compute the Arc part? I will be making a big circle and will make a middle arc like what you did.

    This is my last part.
    Posted Image
  5. In Topic: Venn Diagram

    Posted 5 Mar 2015

    View PostIronRazer, on 05 March 2015 - 06:35 AM, said:

    If the two circles overlap to create a mixed color of the two circle colors then what color would you want it to change to? Is the center suppose to be a different color than the 2 mixed colors?

    Depending on the color of the background. So it is like removing the colors

    I have two empty circles which overlaps. When you click the right for example it will turn to blue. When you click it again it will remove the color. Same goes for the left circle. For example red.

    After This I will try to create 3 overlapping circles. With the same concept

    Thanks for the ideas and help!

My Information

Member Title:
D.I.C Head
Age Unknown
Birthday Unknown

Contact Information



Untalented has no profile comments yet. Why not say hello?