src/private/textGraphic

Types

TextGraphic = object of RootObj
  text*: string
  color*: Color
  font*: Font
  texture*: Texture
  w*: cint
  h*: cint

Methods

method fillTextureWithText(renderer: Renderer; textGraphic: var TextGraphic) {.
    base, ...raises: [], tags: [].}
method loadFont(textGraphic: var TextGraphic; path: string; size: cint) {.base,
    ...raises: [], tags: [].}
method remove(textGraphic: TextGraphic) {.base, ...raises: [], tags: [].}