Hilbert curve: Difference between revisions
Content added Content deleted
Alpha bravo (talk | contribs) (Added AutoHotkey) |
Alpha bravo (talk | contribs) |
||
Line 122: | Line 122: | ||
points .= point.x - xmin + HilbertX "," point.y - ymin + HilbertY "|" |
points .= point.x - xmin + HilbertX "," point.y - ymin + HilbertY "|" |
||
points := Trim(points, "|") |
points := Trim(points, "|") |
||
pBitmap := Gdip_CreateBitmap(xmax-xmin, ymax-ymin) |
|||
Gdip_DrawLines(G, pPen, Points) |
Gdip_DrawLines(G, pPen, Points) |
||
UpdateLayeredWindow(hwnd1, hdc, 0, 0, Width, Height) |
UpdateLayeredWindow(hwnd1, hdc, 0, 0, Width, Height) |