On the internet, there is said that the upper left corner is located on the left, there is said to be the lower right corner of the coordinates, the manual said:
X
The coordinates represented by X, y define the basic point of the first character (presumably the lower-left corner of the character). This differs from imagestring (), where x, y defines the upper-left corner of the first character. For example, "top left" is 0, 0.
Y
The Y-coordinate. It sets the position of the font baseline, not the bottom of the character.
= =. I tested a few, always feel the wrong way, I have been muddy off. Ask you, what is this x/y exactly?
Attached: imagettftext function
Reply content:
On the internet, there is said that the upper left corner is located on the left, there is said to be the lower right corner of the coordinates, the manual said:
X
The coordinates represented by X, y define the basic point of the first character (presumably the lower-left corner of the character). This differs from imagestring (), where x, y defines the upper-left corner of the first character. For example, "top left" is 0, 0.
Y
The Y-coordinate. It sets the position of the font baseline, not the bottom of the character.
= =. I tested a few, always feel the wrong way, I have been muddy off. Ask you, what is this x/y exactly?
Attached: imagettftext function