Lecture Topic1.1.2
Lecture Topic1.1.2
1
Department of Computer Science and Engineering (CSE)
Content
• Point
• Line
• Sector
• Arc
• Ellipse
• Rectangle
• Polygon
• Characters
• Filled Regions
Pixel or Pel
• The term pixel is a short form of the picture element. It is also called
a point or dot. It is the smallest picture unit accepted by display
devices. A picture is constructed from hundreds of such pixels.
Pixels are generated using commands. Lines, circle, arcs, characters;
curves are drawn with closely spaced pixels. To display the digit or
letter matrix of pixels is used.
• The closer the dots or pixels are, the better will be the quality of
picture. Closer the dots are, crisper will be the picture. Picture will
not appear jagged and unclear if pixels are closely spaced. So the
quality of the picture is directly proportional to the density of pixels
on the screen.
• Pixels are also defined as the smallest addressable unit or element of
the screen. Each pixel can be assigned an address as shown in fig:
PIXEL
• A straight line may be defined by two endpoints & an equation. In fig the
two endpoints are described by (x1,y1) and (x2,y2).
• The equation of the line is used to determine the x, y coordinates of all
the points that lie between these two endpoints.
REFERENCES