Quantum-data 801GC Uživatelský manuál Strana 275

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 356
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 274
1 2 ... 270 271 272 273 274 275 276 277 278 279 280 ... 355 356

Komentáře k této Příručce

Žádné komentáře