Drawing - Fujitsu MB86R02 Jade-D Hardware Manual

Graphics controller
Hide thumbs Also See for MB86R02 Jade-D:
Table of Contents

Advertisement

MB86R02 'Jade-D' Hardware Manual V1.64
18.3.4 2D Drawing
2D Primitives
MB86R02 'Jade-D' can perform 2D drawing for graphics memory (drawing plane) in direct color
mode or indirect color mode.
Bold lines with a high width and broken lines can be drawn. Using anti-aliasing, smooth diagonal
lines also can be drawn.
A triangle can be filled using a single color or a 2D pattern (tiling) or mapped to a texture pattern by
specifying the coordinates of the 2D pattern at each vertex (texture mapping). For texture mapping,
drawing/non-drawing can be set on a per-pixel basis. Moreover, transparent processing can be
performed using alpha blending. When drawing in single color or tiling (without Gouraud shading or
texture mapping) high-speed 2D lines and high-speed 2D triangles can be used. Only vertex
coordinates are set for these primitives. High-speed 2D triangle drawing is also used to draw
polygons.
Primitive type
Point
Line
Bold line strip
(provisional name)
Triangle
High-speed 2D Line
Arbitrary polygon
Arbitrary polygon drawing
This function is used to draw an arbitrary closed polygon containing concave shapes consisting of
vertices (there is no restriction on the count of vertices, however, polygons with crossing sides are
not supported). In this specific case, a polygon drawing flag buffer is used in the graphics memory
as a work area. To draw polygons, draw triangles to the polygon drawing flag buffer using high-
speed 2D triangles. Select any vertex as a starting point to draw the triangle along the edge. It
enables you to draw the final polygon form in a single color or with tiling or a texture mapping in a
drawing frame.
2D Primitives
Description
Plots a point
Draws a line
Draws a continuous bold line
This primitive is used when interpolating the joint of a bold line.
Draws a triangle
Draws lines
Compared to 'Line', this reduces the host CPU processing load.
Draws arbitrary closed polygon containing concave shapes
consisting of vertices
18-5

Advertisement

Table of Contents
loading

Table of Contents