Surface.blitScaled

Use this function to perform a fast, low quality, stretch blit between two surfaces of the same pixel format. src is the a pointer to a Rect structure which represents the rectangle to be copied, or null to copy the entire surface. dst is a pointer to a Rect structure which represents the rectangle that is copied into. null means, that the whole srfc is copied to (0|0).

  1. bool blitScaled(Surface srfc, ShortRect* src, ShortRect* dst)
    struct Surface
    bool
    blitScaled
    (,
    const ShortRect* src = null
    ,
    ShortRect* dst = null
    )
  2. bool blitScaled(SDL_Surface* srfc, ShortRect* src, ShortRect* dst)

Meta