English
Language : 

SH7764 Datasheet, PDF (1142/1752 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC Engine Family SH-4A Series
Section 23 G2D
(4) Clipping Specification (CLIP)
The G2D can perform clipping area management. There are three kinds of clipping areas: system
clipping area, user clipping area, and relative user clipping area.
The system clipping area has a fixed drawing range. The system clipping area is always valid,
regardless of attribute specifications.
A user clipping area can be designated as desired within the system clipping area. Whether or not
clipping is performed in that area can be selected on an individual command basis with the
rendering attribute CLIP bit. The boundary is drawn. The local offset values specified by the
LCOFS or RLCOFS command are not added. When setting a user clipping area, the following
ranges must be satisfied: XMIN < XMAX, YMIN < YMAX.
Clipping is set with screen coordinates. Since the clipping area is undefined after the power is
turned on, set the clipping area by the WPR command at the top of the display list that is executed
first. XMAX must be set to a value less than the value set in the destination stride register
(DSTRR).
(0, 0)
(UXMIN, UYMIN)
CLIP bit = 1
CLIP bit = 0
Designated user clipping area
(UXMAX, UYMAX)
System clipping area
(SXMAX, SYMAX)
Figure 23.9 Example of Clipping Specification
Rev. 1.00 Nov. 22, 2007 Page 1086 of 1692
REJ09B0360-0100