Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make user aware that findCharactarPos returns top of the line position #2999

Open
wants to merge 1 commit into
base: 2.6.x
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 3 additions & 2 deletions include/SFML/Graphics/Text.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -372,8 +372,9 @@ class SFML_GRAPHICS_API Text : public Drawable, public Transformable
///
/// This function computes the visual position of a character
/// from its index in the string. The returned position is
/// in global coordinates (translation, rotation, scale and
/// origin are applied).
/// at the character's ascender height in global coordinates
/// (translation, rotation, scale and origin are applied).
///
/// If \a index is out of range, the position of the end of
/// the string is returned.
///
Expand Down