English
Language : 

SH7764 Datasheet, PDF (1181/1752 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC Engine Family SH-4A Series
Section 23 G2D
3. Command Parameters
Base Address:
Source start absolute address (Quad word address. Write 0 to bits A31
to A29 and A2 to A0.)
Source start relative address (Longword address. Negative number
expressed as two's complement. Bits A31 to A29 are used to extend
the sign in bit A28. Write 0 to bits A1 and A0.)
Note: Even in 32-bit addressing mode, write the values in bits 28 to 3 of the specified 32-bit
address to bits A28 to A3.
TDX, TDY:
Source size. Write 0 to the unused bits.
TXOFS:
Source offset. Write 0 to the unused bits.
n (n = 1 to 65,535): Number of vertices
W:
Line width. Set a 6-bit integer. Write 0 to the unused bits.
When 0 is set in W, a polygonal line of line width 1 is drawn. Setting
1 in W is prohibited.
DXn (n = 1 to 65,535): Rendering coordinate (relative coordinate). Negative number
expressed as two's complement.
DYn (n = 1 to 65,535): Rendering coordinate (relative coordinate). Negative number
expressed as two's complement.
(c) 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 values (XC, YC).
The final coordinate point is stored as the current pointer values (XC, YC). Set a multiple of 8
pixels as the TDX value. If TXOFS is set, the source at a location shifted by the offset amount is
referenced. Make the TXOFS setting in pixel units.
Pattern repetition selected by the STYLE bit is only performed in the X direction of the source
data. The source data is enlarged or reduced in proportion to the line width in the Y direction.
When a value greater than 0 is set in W, a bold line can be drawn.
Rev. 1.00 Nov. 22, 2007 Page 1125 of 1692
REJ09B0360-0100