FigureShape strange overlapping lines

  1. 4 months ago

    With this code:

      Dim grp As New Group2D
      
      Dim fx1 As New FigureShape
      fx1.AddLine 0, 100, 50, 0
      fx1.AddCubic 50, 0, -50, 0, 55, 10, -55, 10
      fx1.Border = 100 // opaque border
      fx1.FillColor = &cFFFF00 // yellow interior
      fx1.BorderWidth = 3
      
      grp.Append fx1
    
      mGroup= grp

    and painting in canvas with:

    g.DrawObject mGroup, 0, 0

    shows this:

    -image-

    with more elaborate figures, well, shows more strange lines... can't use this, some years ago I tested with same results, by the way the configuration test:

    Xojo2017r1.1 Windows 10 15063 (and xojo2015 win7, win8)

    My question is: Fill a feedback case? worth it?

    It looks like the lines are being XOR'd. Depending on the way these are rendered there might be a way to turn this off. I'd say its worth submitting a feedback on this, if there isn't a quick fix for this, at least it will bring the issue to their attention.

  2. 3 months ago

    Julian S

    May 18 Pre-Release Testers, Xojo Pro Answer UK

    It looks like the lines are being XOR'd. Depending on the way these are rendered there might be a way to turn this off. I'd say its worth submitting a feedback on this, if there isn't a quick fix for this, at least it will bring the issue to their attention.

  3. @Julian S It looks like the lines are being XOR'd. Depending on the way these are rendered there might be a way to turn this off. I'd say its worth submitting a feedback on this, if there isn't a quick fix for this, at least it will bring the issue to their attention.

    Thanks for answer Julian. Ups... I can't create a case, my license expired months ago. maybe someone can create it for me.

    add a canvas and add this in Paint event:

      Dim fx1 As New FigureShape
      fx1.AddLine 0, 100, 50, 0
      fx1.AddCubic 50, 0, -50, 0, 55, 10, -55, 10
      fx1.Border = 100 // opaque border
      fx1.FillColor = &cFFFF00 // yellow interior
      fx1.BorderWidth = 3
      
      fx1.Scale= 3
      
      g.DrawObject fx1, 50, 50
  4. Greg O

    May 19 Xojo Inc Somewhere near Raleigh, NC

    You can create a case. License expiration does not prevent this. Just do a search first.

  5. Ohh, I see, what siily situation, it´s my second case, I think, and don´t remember how create the last one, but you have right, the create button appears up-right, but disable, you need search first, stupid me. the case: Feedback Case #48121

    also the stringshape x position when rotate 90 differ from 2015 to 2016,2017 Feedback Case #48122

    Thanks Greg, Julian.

or Sign Up to reply!