Hitachi HD64411 Q2 User Manual page 101

Quick 2d graphics renderer
Table of Contents

Advertisement

Description
Draws 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).
The final coordinate point is stored as the current pointer (XC, YC).
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)
Rendering coordinates
94

Advertisement

Table of Contents
loading

Table of Contents