more chunks, same approach

[?]
Jul 13, 2022, 3:02 PM
W2CQ7YNGXMAXYCGOYBMIH2F6QIL2IOLUKKDAY5PZI62WELVZMUTQC

Dependencies

  • [2] KTZQ57HV replace globals with args in a few functions
  • [3] BYG5CEMV support for naming points
  • [4] GSPXUEQO .
  • [5] LF7BWEG4 group all editor globals
  • [6] HOSPP2AN crisp font rendering
  • [7] 2Y5GGGJ4 correct a mis-named threshold
  • [8] BLWAYPKV extract a module
  • [9] 7JH2ZT3F add state arg to Drawing.draw
  • [10] VHQCNMAR several more modules
  • [11] LAW2O3NW extract variable Margin_left
  • [12] 4KC7I3E2 make colors easier to edit
  • [13] UHB4GARJ left/right margin -> left/right coordinates
  • [*] AH744RFR show when we're naming a point

Change contents

  • edit in drawing.lua at line 41
    [3.1128]
    [15.10]
    local px = function(x) return Drawing.pixels(x, State.width)+State.left end
    local py = function(y) return Drawing.pixels(y, State.width)+line.y end
  • replacement in drawing.lua at line 48
    [3.1159][2.1081:1224]()
    love.graphics.circle('line', Drawing.pixels(p.x, State.width)+State.left,Drawing.pixels(p.y, State.width)+line.y, Same_point_distance)
    [3.1159]
    [3.1335]
    love.graphics.circle('line', px(p.x),py(p.y), Same_point_distance)
  • replacement in drawing.lua at line 51
    [3.1192][2.1225:1350]()
    love.graphics.circle('fill', Drawing.pixels(p.x, State.width)+State.left,Drawing.pixels(p.y, State.width)+line.y, 2)
    [3.1192]
    [3.1521]
    love.graphics.circle('fill', px(p.x),py(p.y), 2)
  • replacement in drawing.lua at line 55
    [3.37][2.1351:1460]()
    local x,y = Drawing.pixels(p.x, State.width)+State.left+5, Drawing.pixels(p.y, State.width)+line.y+5
    [3.37]
    [3.8431]
    local x,y = px(p.x)+5, py(p.y)+5