Packages

case class HiRes(bitmap: Bitmap, screen: Option[Screen], border: Option[Byte]) extends CBM with Product with Serializable

HiRes image data abstraction providing convenient access to the bitmap and screen colours.

bitmap

plain hi-resolution bitmap data of an image

screen

optional screen colours data of an image

border

optional single byte of image border colour

Linear Supertypes
Serializable, Serializable, Product, Equals, CBM, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HiRes
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. CBM
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HiRes(bitmap: Bitmap, screen: Option[Screen], border: Option[Byte])

    create a new HiRes image data

    create a new HiRes image data

    bitmap

    plain hi-resolution bitmap data of an image

    screen

    optional screen colours data of an image

    border

    optional single byte of image border colour

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val bitmap: Bitmap
    Definition Classes
    HiResCBM
  6. val border: Option[Byte]
    Definition Classes
    HiResCBM
  7. def canEqual(that: Any): Boolean
    Definition Classes
    HiRes → Equals
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val emptyScreen: Array[Byte]

    A fallback method returning default screen colour values (1000 bytes filled with 0xbc).

  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(other: Any): Boolean
    Definition Classes
    HiRes → Equals → AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  14. val height: Int

    An actual pixel height of this HiRes image.

    An actual pixel height of this HiRes image.

    Definition Classes
    HiResCBM
  15. val heightRounded: Int

    Image pixel height rounded up to the bottom margin of an 8x8 character.

    Image pixel height rounded up to the bottom margin of an 8x8 character.

    Definition Classes
    HiResCBM
  16. val imageMode: String

    An actual image mode.

    An actual image mode.

    Definition Classes
    CBM
  17. def invert(): HiRes

    Returns a new HiRes image with all pixels of bitmap data bits inverted.

  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  22. val numCharCols: Int

    An actual char width of this HiRes image.

    An actual char width of this HiRes image.

    Definition Classes
    HiResCBM
  23. val numCharRows: Int

    An actual char height of this HiRes image.

    An actual char height of this HiRes image.

    Definition Classes
    HiResCBM
  24. def pixel(x: Int, y: Int): Byte

    Returns the C64 colour of the pixel at [x,y].

    Returns the C64 colour of the pixel at [x,y].

    x

    X coordinate of a requested pixel

    y

    Y coordinate of a requested pixel

    Definition Classes
    HiResCBM
  25. def pixelCoordinatesToScreen(x: Int, y: Int): (Int, Int)

    Converts given pixel coordinates into screen coordinates.

    Converts given pixel coordinates into screen coordinates.

    x

    X coordinate of a requested pixel

    y

    Y coordinate of a requested pixel

    returns

    tuple with a pair of calculated screen coordinates

    Definition Classes
    CBM
  26. def rows: Array[HiResRow]

    Returns image data as an array of hires rows (org.c64.attitude.Afterimage.Mode.Data.Row.HiResRow objects).

    Returns image data as an array of hires rows (org.c64.attitude.Afterimage.Mode.Data.Row.HiResRow objects).

    Note that fetching rows data from an image slice will also always return an array of full rows with 40 columns length each!

  27. val screen: Option[Screen]
  28. def slice(x: Int, y: Int, newWidth: Int, newHeight: Int): HiResSlice

    Returns a new HiResSlice instance with truncated contents of the image.

    Returns a new HiResSlice instance with truncated contents of the image.

    x

    X coordinate of the top-left corner of a rectangular selection area

    y

    Y coordinate of the top-left corner of a rectangular selection area

    newWidth

    total width of a rectangular selection area in number of pixels

    newHeight

    total height of a rectangular selection area in number of pixels

  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. def validate(): Unit

    Validates consistency of an object instance data.

    Validates consistency of an object instance data.

    Definition Classes
    HiResCBM
  31. def validatePixelCoordinates(x: Int, y: Int): Unit

    Validates whether given pixel coordinates are located within the image.

    Validates whether given pixel coordinates are located within the image.

    x

    X coordinate of the pixel

    y

    Y coordinate of the pixel

    Definition Classes
    CBM
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. val width: Int

    An actual pixel width of this HiRes image.

    An actual pixel width of this HiRes image.

    Definition Classes
    HiResCBM
  36. val widthRounded: Int

    Image pixel width rounded up to the right margin of an 8x8 character.

    Image pixel width rounded up to the right margin of an 8x8 character.

    Definition Classes
    HiResCBM

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from CBM

Inherited from AnyRef

Inherited from Any

Ungrouped