zvezda
zvezda

Reputation: 1313

Python PIL drawing text and multiline text - use of anchor argument

Is the anchor argument obsolete or is it for future use? It is currently just passed between the two functions: https://github.com/python-pillow/Pillow/blob/master/PIL/ImageDraw.py#L244 I'd like to give the lower left corner of the text bounding box as a reference point. Thought anchor would be just for that.

Upvotes: 4

Views: 1775

Answers (1)

Hugo
Hugo

Reputation: 29334

Looks like it's never been implemented. I checked the old PIL source code, dating from around 1999, and it's similarly not used.

Upvotes: 4

Related Questions