Class

eu.joaocosta.minart.backend

SdlSurface

Related Doc: package backend

Permalink

final class SdlSurface extends MutableSurface with AutoCloseable

Mutabe surface backed by an SDL surface.

This class assumes to be the only owner of the surface, and will free the surface when garbage collected.

Linear Supertypes
AutoCloseable, MutableSurface, Surface, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SdlSurface
  2. AutoCloseable
  3. MutableSurface
  4. Surface
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SdlSurface(data: Ptr[SDL_Surface])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def blit(that: Surface, mask: Option[Color] = None)(x: Int, y: Int, cx: Int = 0, cy: Int = 0, cw: Int = that.width, ch: Int = that.height): Unit

    Permalink
    Definition Classes
    SdlSurface → MutableSurface
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @throws( ... )
  7. def close(): Unit

    Permalink
    Definition Classes
    SdlSurface → AutoCloseable
  8. val data: Ptr[SDL_Surface]

    Permalink
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def fill(color: Color): Unit

    Permalink
    Definition Classes
    SdlSurface → MutableSurface
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate()
  13. def getPixel(x: Int, y: Int): Option[Color]

    Permalink
    Definition Classes
    Surface
  14. def getPixels(): Vector[Array[Color]]

    Permalink
    Definition Classes
    SdlSurface → Surface
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate()
  16. val height: Int

    Permalink
    Definition Classes
    SdlSurface → Surface
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate()
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate()
  21. def putPixel(x: Int, y: Int, color: Color): Unit

    Permalink
    Definition Classes
    SdlSurface → MutableSurface
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. final def toRamSurface(): RamSurface

    Permalink
    Definition Classes
    Surface
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. def unsafeGetPixel(x: Int, y: Int): Color

    Permalink
    Definition Classes
    SdlSurface → Surface
  26. def view: SurfaceView

    Permalink
    Definition Classes
    Surface
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. val width: Int

    Permalink
    Definition Classes
    SdlSurface → Surface

Deprecated Value Members

  1. def blitWithMask(that: Surface, mask: Color)(x: Int, y: Int, cx: Int, cy: Int, cw: Int, ch: Int): Unit

    Permalink
    Definition Classes
    MutableSurface
    Annotations
    @deprecated
    Deprecated

    Use blit instead

  2. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AutoCloseable

Inherited from MutableSurface

Inherited from Surface

Inherited from AnyRef

Inherited from Any

Ungrouped