Hitachi HD64411 Q2 User Manual page 97

Quick 2d graphics renderer
Table of Contents

Advertisement

Description
Performs binary drawing at work coordinates of a polygonal line comprising line segments (XC,
YC) – (XC + DX1, YC + DY1), (XC + DX1, YC + DY1) – (XC + DX1 + DX2, YC + DY1 +
DY2), ..., (XC + ... + DXn – 1, YC + ... + DYn – 1) – (XC + ... + DXn –1 + DXn, YC + ... +
DYn – 1 + DYn) to the coordinates specified by the relative shift (DX, DY) from the current
pointer (XC, YC). 0 drawing or 1 drawing is selected with the drawing mode EOS bit. Drawing is
performed at work coordinates with 0 when EOS = 0, and at work coordinates with 1 when EOS =
1.
The final coordinate point is stored as the current pointer (XC, YC). (Used for polygon painting
drawn figure border drawing at work coordinates.)
Note: 8-point drawing is used.
Example
n = 2
(0, 0)
(XC+DX1, YC+DY1)
DX1
DX2
DY2
DY1
(XC+DX1+DX2, YC+DY1+DY2)
(XC, YC)
Work coordinates
90

Advertisement

Table of Contents
loading

Table of Contents