English
Language : 

SH7764 Datasheet, PDF (1143/1752 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC Engine Family SH-4A Series
Section 23 G2D
(5) Relative Clipping Specification (RCLIP)
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 relative user clipping area can be designated as desired within the system clipping area at a
relative setting with respect to the local offset. Whether or not clipping is performed in that area
can be selected on an individual command basis with the rendering attribute RCLIP bit. The
boundary is drawn. The local offset values specified by the LCOFS or RLCOFS command are
added.
When setting a relative 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). If both the RCLIP and CLIP bits are set to 1 simultaneously,
the region where the two clipping areas overlap is drawn.
(0, 0)
(XO + RUXMIN, YO + RUYMIN)
Local offset
(XO, YO)
System clipping area
Designated user clipping area
Designated relative user clipping area
Drawing area
(XO + RUXMAX,
YO + RUYMAX)
Figure 23.10 Example of Relative User Clipping Specification
Rev. 1.00 Nov. 22, 2007 Page 1087 of 1692
REJ09B0360-0100