     }
     SDL_SetRenderDrawColor(rend, 255, 255, 255, 255)
     SDL_RenderClear(rend)
-    let msgResult = SDL_RenderCopy(rend, msg, nil, &msgRect)
     drawAgain()
     SDL_RenderPresent(rend)
     invalidated = false

    self.renderer = renderer
    self.font = font
    cellHeight = TTF_FontHeight(font)
//    TTF_SizeText(font, "W", &cellWidth, &cellHeight)
  //  p("cellWidth \(cellWidth)")
//    var minx: Int32 = 0
  //  var maxx: Int32 = 0
    //var advance: Int32 = 0
//    TTF_GlyphMetrics(font, 65, &minx, &maxx, nil, nil, &cellWidth)
    TTF_GlyphMetrics(font, 65, nil, nil, nil, nil, &cellWidth)
    //p("minx \(minx), maxx \(maxx), advance \(advance)")
  }

  func move(x: Int, y: Int) {


let textGrid = TextGrid(renderer: rend, font: freeSans)

let redColor = SDL_Color(r: 255, g: 0, b: 0, a: 255)
let blackColor = SDL_Color(r: 0, g: 0, b: 0, a: 255)
let yellowColor = SDL_Color(r: 255, g: 255, b: 0, a: 255)
let blueColor = SDL_Color(r: 0, g: 0, b: 255, a: 255)

func drawAgain() {
  textGrid.move(10, y: 1)
  textGrid.fontColor = blueColor
  textGrid.add("Hello SuaSDL!")
  textGrid.fontColor = blackColor
  textGrid.move(1, y: 10)
  textGrid.add("Leo")
  textGrid.add("nardo")
