Posted 28 December 2015 - 10:41 AM
ok, so now we kind of have pixels, right? but there is no real way to get a particular pixel when you click.
i think 2 more returned numbers would be usfull, which would be the "coordinate" within a character. 1-2 for x, 1-3 for y (or 0-1 and 0-2)
example, if the mouse click event returns {1,2,5,2,3} that means that the left mouse button click at the cordnates 2x5, at the bottom right of the character
–1 2
1[ ][ ]
2[ ][ ]
3[ ][x]
{1,2,5,1,2} would be left-middle
–1 2
1[ ][ ]
2[x][ ]
3[ ][ ]
i think 2 more returned numbers would be usfull, which would be the "coordinate" within a character. 1-2 for x, 1-3 for y (or 0-1 and 0-2)
example, if the mouse click event returns {1,2,5,2,3} that means that the left mouse button click at the cordnates 2x5, at the bottom right of the character
–1 2
1[ ][ ]
2[ ][ ]
3[ ][x]
{1,2,5,1,2} would be left-middle
–1 2
1[ ][ ]
2[x][ ]
3[ ][ ]