Skip to content

DrawStringWrapped draws text with offset comparing to DrawStringAnchored #198

Open
@gatilisk

Description

@gatilisk

DrawStringWrapped draws text at one line Y offset.

text := "hello world"
x := 10
y := 10
ax := 0
ay := 0
DrawStringAnchored(dc, text, x, y, ax, ay, ....
DrawStringWrapped(dc, text, x, y, ax, ay, ....

The coordinates are the same, but the text position is not the same.

DrawStringWrapped with ay = 0 eventually calls DrawStringAnchored with ay = 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions