Matrix-orbital GLT240128 Legacy Manual de usuario Pagina 36

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 70
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 35
Syntax
Hexadecimal 0xFE 0x63 [color]
Decimal 254 99 [color]
ASCII 254 “c” [color]
Parameters
Parameter Length Description
color 1 Drawing color (0: White, 1-255:
Black).
Description This command sets the drawing color for subsequent graphic commands
that do not have the drawing color passed as a parameter. The parameter
[color] is the value of the color where white is 0 and black is 1-255.
Remembered No
8.3 Draw Pixel
Syntax
Hexadecimal 0xFE 0x70 [x] [y]
Decimal 254 112 [x] [y]
ASCII 254 “p” [x] [y]
Parameters
Parameter Length Description
x 1 X screen location.
y 1 Y screen location.
Description This command will draw a pixel at (x,y) using the current drawing
color. The unit processes these requests fast enough to keep up with a
steady stream at 115 Kbps so flow control is not required.
Remembered No
8.4 Drawing a Line
Syntax
Hexadecimal 0xFE 0x6C [x1] [y1] [x2] [y2]
Decimal 254 108 [x1] [y1] [x2] [y2]
ASCII 254 “l” [x1] [y1] [x2] [y2]
Parameters
Parameter Length Description
x1 1 Left bounds.
y1 1 Top Bounds.
x2 1 Right Bounds.
y2 1 Bottom Bounds.
Description This command will draw a line from (x1,y1) to (x2,y2) using the current
drawing color. Lines may be drawn from any part of the display to any
other part. However, it may be important to note that the line may
interpolate differently right to left, or left to right. This means that a line
drawn in white from right to left may not fully erase the same line
drawn in black from left to right.
Remembered No
Matrix Orbital GLT240128 31
Vista de pagina 35
1 2 ... 31 32 33 34 35 36 37 38 39 40 41 ... 69 70

Comentarios a estos manuales

Sin comentarios