src/private/imageGraphic

Types

Graphic = object
  texture*: Texture
  w*: cint
  h*: cint

Procs

proc newGraphic(path: cstring; renderer: Renderer): Graphic {....raises: [],
    tags: [].}

Methods

method load(graphic: var Graphic; path: cstring; renderer: Renderer) {.base,
    ...raises: [], tags: [].}
method remove(graphic: Graphic) {.base, ...raises: [], tags: [].}