[function] not aligning with [jit.pwindow]'s contents?
Hi everyone,
I am sure I am missing something indecently simple here.
I am aligning a [function] with a [jit.pwindow] in order to see whether my pattern detection patcher works, and in order to use [function] to manually correct the results after the fact. The [jit.pwindow] gets a 2000x10 matrix.
Now, here is the weird thing. What [function] is showing me seems to be kind of correct, but the line seems to be compressed. I checked by looking at the coordinates of the breakpoints and coloring the corresponding cell in jit.matrix with a setcell message; at the beginning of the image (left side) the colored cell appears _before_ the breakpoint, while near the end it appears _after_ the breakpoint.
I have attached a screenshot for a better understanding - sorry the red cell is so badly visible.
I am SURE that I am missing something essential here - but what is it? :)
Please post a demo patch. It's hard to tell just from the image what might be going wrong.
thanks!
I'm sorry! I have built a small example patch now that mirrors the problem I am running into:
Argh. I figured it out. Seems like [function] has a "frame" by default, which can easily be seen when you prepend "0 y" to the lists in the upper message. So now I guess my question would be whether this can be changed - else I would just guess it's 5 pixels (seems so) and adjust the rectangle... Sorry about the noise. :)