The OpenD Programming Language

OperatingSystemFont.stringWidth

Returns the width of the string as drawn on the specified window, or the default screen if the window is null.

  1. int stringWidth(const(char)[] s, SimpleWindow window)
    class OperatingSystemFont
    int
    stringWidth
    (
    scope const(char)[] s
    ,)
  2. int stringWidth(const(wchar)[] s, SimpleWindow window)

Meta

History

Added January 16, 2021