sdlxRenderTexture9GridTiled function render

bool sdlxRenderTexture9GridTiled(
  1. Pointer<SdlRenderer> renderer,
  2. Pointer<SdlTexture> texture, {
  3. required double leftWidth,
  4. required double rightWidth,
  5. required double topHeight,
  6. required double bottomHeight,
  7. SdlxFRect? srcrect,
  8. double scale = 1,
  9. SdlxFRect? dstrect,
  10. double tileScale = 1,
})
extern SDL_DECLSPEC bool SDLCALL SDL_RenderTexture9GridTiled(SDL_Renderer *renderer, SDL_Texture *texture, const SDL_FRect *srcrect, float left_width, float right_width, float top_height, float bottom_height, float scale, const SDL_FRect *dstrect, float tileScale)

See also:

Implementation

bool sdlxRenderTexture9GridTiled(
  Pointer<SdlRenderer> renderer,
  Pointer<SdlTexture> texture, {
  required double leftWidth,
  required double rightWidth,
  required double topHeight,
  required double bottomHeight,
  SdlxFRect? srcrect,
  double scale = 1,
  SdlxFRect? dstrect,
  double tileScale = 1,
}) => ffi.using(
  (arena) => sdlRenderTexture9GridTiled(
    renderer,
    texture,
    srcrect?.toNative(arena) ?? nullptr,
    leftWidth,
    rightWidth,
    topHeight,
    bottomHeight,
    scale,
    dstrect?.toNative(arena) ?? nullptr,
    tileScale,
  ),
);