Home
last modified time | relevance | path

Searched refs:textSur (Results 1 – 1 of 1) sorted by relevance

/AliOS-Things-master/components/SDL2/test/
A Dtestime.c483 drawnTextRect.y = textRect.y + (textRect.h - textSur->h) / 2; in _Redraw()
484 drawnTextRect.w = textSur->w; in _Redraw()
485 drawnTextRect.h = textSur->h; in _Redraw()
487 texture = SDL_CreateTextureFromSurface(renderer,textSur); in _Redraw()
488 SDL_FreeSurface(textSur); in _Redraw()
542 SDL_Surface *textSur; in _Redraw() local
559 drawnTextRect.y = textRect.y + (textRect.h - textSur->h) / 2; in _Redraw()
560 drawnTextRect.w = textSur->w; in _Redraw()
561 drawnTextRect.h = textSur->h; in _Redraw()
563 texture = SDL_CreateTextureFromSurface(renderer,textSur); in _Redraw()
[all …]

Completed in 4 milliseconds