Quantum-data 801GC Manuel d'utilisateur Page 275

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 356
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 274
6-149
LINE draw a LINE
Classification: Custom image primitive
Command Syntax: LINE <color> <X start coordinate> <Y start coordinate> <X
end coordinate> <Y end coordinate>
Limits: <color> = available colors
<X start coordinate> <Y start coordinate> <X end
coordinate> <Y end coordinate> = positive integer number
Query Syntax: None
Description: Draws a line between any two points. The line is one (1) pixel
thick. The primitive uses five (5) parameters, the color and the
X and Y coordinates for both endpoints.
Other Required Cmds: The FMTU command instructs the generator to use the new
setting. The ALLU command updates hardware to the new setting
and redraws the test image.
Example: LINE yellow 20 5 320 240 // Draw yellow
// line from X=20, Y=5 to X=320,
// Y=240
ALLU // Update hardware to current
// buffer contents
Vue de la page 274
1 2 ... 270 271 272 273 274 275 276 277 278 279 280 ... 355 356

Commentaires sur ces manuels

Pas de commentaire