SdlSurfacePointerEx extension
- on
Methods
-
blit(
Pointer< SdlSurface> dst, {Rectangle<double> ? srcrect, Rectangle<double> ? dstrect}) → bool -
Available on Pointer<
SdlSurface> , provided by the SdlSurfacePointerEx extension -
blitScaled(
Pointer< SdlSurface> dst, {Rectangle<double> ? srcrect, Rectangle<double> ? dstrect}) → bool -
Available on Pointer<
SdlSurface> , provided by the SdlSurfacePointerEx extension -
createColorCursor(
int hotX, int hotY) → Pointer< SdlCursor> -
Available on Pointer<
Create a color cursor.SdlSurface> , provided by the SdlSurfacePointerEx extension -
destroy(
) → bool -
Available on Pointer<
Free a surface.SdlSurface> , provided by the SdlSurfacePointerEx extension -
duplicate(
) → Pointer< SdlSurface> -
Available on Pointer<
Creates a new surface identical to the existing surface.SdlSurface> , provided by the SdlSurfacePointerEx extension -
fillRect(
Rectangle< double> ? rect, int color) → bool -
Available on Pointer<
Perform a fast fill of a rectangle with a specific color.SdlSurface> , provided by the SdlSurfacePointerEx extension -
fillRects(
List< Rectangle< rects, int color) → booldouble> > -
Available on Pointer<
Perform a fast fill of a set of rectangles with a specific color.SdlSurface> , provided by the SdlSurfacePointerEx extension -
getAlphaMod(
) → int? -
Available on Pointer<
Get the additional alpha value used in blit operations.SdlSurface> , provided by the SdlSurfacePointerEx extension -
getBlendMode(
) → int? -
Available on Pointer<
Get the blend mode used for blit operations.SdlSurface> , provided by the SdlSurfacePointerEx extension -
getClipRect(
) → Rectangle< double> -
Available on Pointer<
Get the clipping rectangle for a surface.SdlSurface> , provided by the SdlSurfacePointerEx extension -
getColorKey(
) → int? -
Available on Pointer<
Get the color key (transparent pixel) for a surface.SdlSurface> , provided by the SdlSurfacePointerEx extension -
getColorMod(
) → int? -
Available on Pointer<
Get the additional color value multiplied into blit operations.SdlSurface> , provided by the SdlSurfacePointerEx extension -
hadColorKey(
) → bool -
Available on Pointer<
Returns whether the surface has a color key.SdlSurface> , provided by the SdlSurfacePointerEx extension -
hasRre(
) → bool -
Available on Pointer<
Returns whether the surface is RLE enabled.SdlSurface> , provided by the SdlSurfacePointerEx extension -
loadBmpIo(
Pointer< SdlIoStream> src, bool freesrc) → Pointer<SdlSurface> -
Available on Pointer<
Load a BMP image from a seekable SDL data stream.SdlSurface> , provided by the SdlSurfacePointerEx extension -
lock(
) → bool -
Available on Pointer<
Set up a surface for directly accessing the pixels.SdlSurface> , provided by the SdlSurfacePointerEx extension -
lowerBlit(
Pointer< SdlSurface> dst, {Rectangle<double> ? srcrect, Rectangle<double> ? dstrect}) → bool -
Available on Pointer<
Perform low-level surface blitting only.SdlSurface> , provided by the SdlSurfacePointerEx extension -
lowerBlitScaled(
Pointer< SdlSurface> dst, {Rectangle<double> ? srcrect, Rectangle<double> ? dstrect, int scaleMode = 0}) → bool -
Available on Pointer<
Perform low-level surface scaled blitting only.SdlSurface> , provided by the SdlSurfacePointerEx extension -
saveBmp(
String file) → bool -
Available on Pointer<
Save a surface to a file.SdlSurface> , provided by the SdlSurfacePointerEx extension -
saveBmpIo(
Pointer< SdlIoStream> dst, bool freedst) → bool -
Available on Pointer<
Save a surface to a seekable SDL data stream in BMP format.SdlSurface> , provided by the SdlSurfacePointerEx extension -
setAlphaMod(
int alpha) → bool -
Available on Pointer<
Set an additional alpha value used in blit operations.SdlSurface> , provided by the SdlSurfacePointerEx extension -
setBlendMode(
int blendMode) → bool -
Available on Pointer<
Set the blend mode used for blit operations.SdlSurface> , provided by the SdlSurfacePointerEx extension -
setClipRect(
[Rectangle< double> ? rect]) → bool -
Available on Pointer<
Set the clipping rectangle for a surface.SdlSurface> , provided by the SdlSurfacePointerEx extension -
setColorKey(
bool enabled, int key) → bool -
Available on Pointer<
Set the color key (transparent pixel) in a surface.SdlSurface> , provided by the SdlSurfacePointerEx extension -
setColorMod(
int r, int g, int b) → bool -
Available on Pointer<
Set an additional color value multiplied into blit operations.SdlSurface> , provided by the SdlSurfacePointerEx extension -
setPalette(
Pointer< SdlPalette> palette) → bool -
Available on Pointer<
Set the palette used by a surface.SdlSurface> , provided by the SdlSurfacePointerEx extension -
setRre(
bool enabled) → bool -
Available on Pointer<
Set the RLE acceleration hint for a surface.SdlSurface> , provided by the SdlSurfacePointerEx extension -
unlock(
) → void -
Available on Pointer<
Release a surface after directly accessing the pixels.SdlSurface> , provided by the SdlSurfacePointerEx extension -
upperBlit(
Pointer< SdlSurface> dst, {Rectangle<double> ? srcrect, Rectangle<double> ? dstrect}) → bool -
Available on Pointer<
Performs a fast blit from the source surface to the destination surface.SdlSurface> , provided by the SdlSurfacePointerEx extension -
upperBlitScaled(
Pointer< SdlSurface> dst, {Rectangle<double> ? srcrect, Rectangle<double> ? dstrect, int scaleMode = 0}) → bool -
Available on Pointer<
Perform a scaled blit to a destination surface, which may be of a different format.SdlSurface> , provided by the SdlSurfacePointerEx extension