Recent

Author Topic: Squiggly Filled Trouchet Square Blobs (got it working with ellipses & not arcs)  (Read 580 times)

Boleeman

  • Hero Member
  • *****
  • Posts: 1158
Squiggly Trouchet Squares

I tried making it out of arcs but could not really get it working correctly.

Somehow worked out how to do it with ellipses. Still wouldn't mind if someone could possibly work out how to do it with arcs?

I also needed to offset the FillRectAntialias by one pixel to get rid of an annoying + sign that forms in the middle of the X's by doing:
bmp.FillRectAntialias(x - 1, y - 1, x + s, y + s, ColorToBGRA(cbColor1.ButtonColor));


Enjoy what I have so far. If anyone could possibly work out how to do it with arcs that would really nice.

« Last Edit: July 11, 2025, 03:14:24 pm by Boleeman »

 

TinyPortal © 2005-2018