Quantum Data 802R Guide de l'utilisateur Page 472

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 744
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 471
462 Appendix A Command Reference
OVAL
draw an OVAL
Class Custom image primitive
Description Draws an oval whose axes are parallel to the vertical and horizontal axes of displayed
video. The size and position of the oval are defined by its framing rectangle. The framing
rectangle is a rectangle whose sides are both tangent to the oval at four points and are
parallel to the vertical and horizontal axis of video. It is not drawn as part of the primitive.
The figure below shows the relationship of an oval to its framing rectangle.
OVAL uses six parameters. The first is color. The next two are the pixel width and height of
the framing rectangle in pixels. The fourth and fifth parameters are the x, y coordinates for
the top left corner of the framing rectangle. The last parameter is the fill.
Command syntax OVAL color width height x y fill
color
available colors
width
total number of horizontal pixels
height
total number of lines
x, y
positive integer numbers
fill
available fill patterns
Other required
commands
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
OVAL red 240 150 20 10 GrayPat0 // Draw a red oval 240 pixels wide
// by 150 pixels high. Start framing
// rectangle at X=20, Y=10.
// Fill = none
width
height
left, top
Vue de la page 471
1 2 ... 467 468 469 470 471 472 473 474 475 476 477 ... 743 744

Commentaires sur ces manuels

Pas de commentaire