class HiResRow extends Row
Single hires row (counted as a number of 8x8 character columns) data abstraction providing direct access to the raw hires image bytes.
- Alphabetic
- By Inheritance
- HiResRow
- Row
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
HiResRow(bitmap: Array[Byte], screen: Array[Byte])
create a new row of image data with up to 40 8x8 character columns
create a new row of image data with up to 40 8x8 character columns
- bitmap
up to 320 raw bytes of image bitmap data
- screen
up to 40 raw bytes of image screen data
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val bitmap: Array[Byte]
-
def
charWidth: Int
Returns number of 8x8 characters in the entire row.
Returns number of 8x8 characters in the entire row.
- Definition Classes
- Row
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
val
commentLine: String
Returns a single separating comment line for use in methods generating source code strings.
Returns a single separating comment line for use in methods generating source code strings.
- Definition Classes
- Row
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
firstPixelOffset(bitmapData: Array[Byte]): Int
Returns offset of the first pixel set in a given bitmap single row data.
Returns offset of the first pixel set in a given bitmap single row data.
- bitmapData
up to 320 (divisible by 8) raw bytes of bitmap data
- Definition Classes
- Row
-
def
fullBitmap(fill: Byte = 0x00.toByte): Array[Byte]
Returns full bitmap data of the entire row (with padded values to achieve full-screen width).
-
def
fullScreen(fill: Byte = 0xbc.toByte): Array[Byte]
Returns full screen data of the entire row (with padded values to achieve full-screen width).
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
lastPixelOffset(bitmapData: Array[Byte]): Int
Returns offset of the last pixel set in a given bitmap single row data.
Returns offset of the last pixel set in a given bitmap single row data.
- bitmapData
up to 320 (divisible by 8) raw bytes of bitmap data
- Definition Classes
- Row
-
def
leftMargin: Int
Returns left margin column as a character offset of the first non-empty 8x8 bits area.
-
def
leftPixelMargin: Int
Returns left margin column as an offset of the first pixel set.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
pixelSize: Byte
Indicates how many bits of data count as a single pixel in hires mode (1 pixel).
-
def
pixelWidth: Int
Returns number of pixels (with defined "width") in the entire row.
Returns number of pixels (with defined "width") in the entire row.
- Definition Classes
- Row
-
def
rightMargin: Int
Returns right margin column as a character offset of the last non-empty 8x8 bits area.
-
def
rightPixelMargin: Int
Returns right margin column as an offset of the last pixel set.
- val screen: Array[Byte]
-
def
serialize(fullRow: Boolean = true): String
Returns serialized row data which can be exported and used conveniently by any external program.
-
def
shift(offset: Int, fillScreen: Byte = 0x00, fillBitmap: Byte = 0x00): HiResRow
Returns the new single hires row composed from the original row with a horizontally shifted content.
Returns the new single hires row composed from the original row with a horizontally shifted content.
- offset
value of horizontal data shift counted as a number of 8x8 character columns (positive for shifting to the right, and negative for shifting to the left)
- fillScreen
fill value of newly created empty screen bytes (defaults to 0x00)
- fillBitmap
fill value of newly created empty bitmap bytes (defaults to 0x00)
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toCode(label: String, fullRow: Boolean = false): String
Returns source code string which is ready to be compiled by "dreamass" and correctly recognized by a new "Attitude" diskmag engine.
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
val
width: Int
Specifies current (maximum) width of row data counted as a number of 8x8 character columns.