SlideShare a Scribd company logo
1 of 12
Line Attributes
•Line type
•Line width
•Pen and Brush Options
•Line Color
LINE ATTRIBUTES
 Basic attributes of a straight line segment are its type,
its width and its color.
 In some graphics packages, lines can also be displayed
using selected pen or brush options.
Line Type:
Line-type attribute include solid lines, dashed lines ,
and dotted lines.
 To set line type attributes in a PHIGS application program ,
a user involves the function
setLinetype( lt)
where parameter lt is assigned a positive integer value.
Line width:
A line-width options depends on the capabilities of
the output device. A heavy line on a video monitor could be
displayed as adjacent parallel lines, while a pen plotter
might require pen changes.
We set the line-width attribute with the command:
setLinewidthscaleFactor (l w)
 There are three differents line cap they are
 Butt cap
 Round cap
 Projecting square cap
Butt cap:
One kind of line cap is the butt cap obtained by adjusting
the end positions of the component parallel lines so that the thick
line is displayed with the square end of the thick line has slope -
1/m.
Round cap:
Another line cap is the round cap obtained by adding a
filled semicircle to each butt cap. The circular are centered on the
line endpoints and have a diameter equal to the line thickness.
Projecting square cap:
Extend the line and add buttcap.
 Displaying thick lines using horizontal and vertical
pixel spans.
 Three possible methods for smoothly joining two line
segments.
 A miter join is accomplished by extending the outer
boundaries of each of the two lines until meet.
 A round join is produced by capping the connection
between the two segment with a circular boundary
whose diameter is equal to the line width.
 Diameter = line width
 A bevel join is generated by displaying the line with
butt caps and filling in the triangular gap where the
segments meet. If the angles between two connected
line segments is very small.
Pen and Brush
 Lines can be displayed with pen or brush selections.
 Options in the category include shape, size, an
patterns.
 Some possible pen or brush shapes
Line Color
 When system provides color(or intensity) options, a
parameter giving the current color index is included in
the list of system- attribute values.
 A polyline routine display a line in the current color by
setting this color value in the frame buffer at pixel
loctaions along the line path using the setpixel
procedure.
 We set the line color value in PHIGS with the function
setPolylineColourIndex(lc)

More Related Content

What's hot

line attributes.pptx
line attributes.pptxline attributes.pptx
line attributes.pptxRubaNagarajan
 
Raster scan system & random scan system
Raster scan system & random scan systemRaster scan system & random scan system
Raster scan system & random scan systemshalinikarunakaran1
 
Raster scan system
Raster scan systemRaster scan system
Raster scan systemMohd Arif
 
Cohen sutherland line clipping
Cohen sutherland line clippingCohen sutherland line clipping
Cohen sutherland line clippingMani Kanth
 
3D transformation in computer graphics
3D transformation in computer graphics3D transformation in computer graphics
3D transformation in computer graphicsSHIVANI SONI
 
Visible surface detection in computer graphic
Visible surface detection in computer graphicVisible surface detection in computer graphic
Visible surface detection in computer graphicanku2266
 
Unit 3
Unit 3Unit 3
Unit 3ypnrao
 
Line drawing algo.
Line drawing algo.Line drawing algo.
Line drawing algo.Mohd Arif
 
2D transformation (Computer Graphics)
2D transformation (Computer Graphics)2D transformation (Computer Graphics)
2D transformation (Computer Graphics)Timbal Mayank
 
4. THREE DIMENSIONAL DISPLAY METHODS
4.	THREE DIMENSIONAL DISPLAY METHODS4.	THREE DIMENSIONAL DISPLAY METHODS
4. THREE DIMENSIONAL DISPLAY METHODSSanthiNivas
 
Overview of the graphics system
Overview of the graphics systemOverview of the graphics system
Overview of the graphics systemKamal Acharya
 
Composite transformations
Composite transformationsComposite transformations
Composite transformationsMohd Arif
 
Clipping in Computer Graphics
Clipping in Computer GraphicsClipping in Computer Graphics
Clipping in Computer GraphicsLaxman Puri
 
Curve and text clipping
Curve and text clippingCurve and text clipping
Curve and text clippingArvind Kumar
 
2 d viewing computer graphics
2 d viewing computer graphics2 d viewing computer graphics
2 d viewing computer graphicsKALESHWAR KUMAR
 

What's hot (20)

line attributes.pptx
line attributes.pptxline attributes.pptx
line attributes.pptx
 
Raster scan system & random scan system
Raster scan system & random scan systemRaster scan system & random scan system
Raster scan system & random scan system
 
Raster scan system
Raster scan systemRaster scan system
Raster scan system
 
Spline representations
Spline representationsSpline representations
Spline representations
 
Clipping
ClippingClipping
Clipping
 
Cohen sutherland line clipping
Cohen sutherland line clippingCohen sutherland line clipping
Cohen sutherland line clipping
 
3D transformation in computer graphics
3D transformation in computer graphics3D transformation in computer graphics
3D transformation in computer graphics
 
Visible surface detection in computer graphic
Visible surface detection in computer graphicVisible surface detection in computer graphic
Visible surface detection in computer graphic
 
3 d display methods
3 d display methods3 d display methods
3 d display methods
 
Unit 3
Unit 3Unit 3
Unit 3
 
Depth Buffer Method
Depth Buffer MethodDepth Buffer Method
Depth Buffer Method
 
Line drawing algo.
Line drawing algo.Line drawing algo.
Line drawing algo.
 
2D transformation (Computer Graphics)
2D transformation (Computer Graphics)2D transformation (Computer Graphics)
2D transformation (Computer Graphics)
 
4. THREE DIMENSIONAL DISPLAY METHODS
4.	THREE DIMENSIONAL DISPLAY METHODS4.	THREE DIMENSIONAL DISPLAY METHODS
4. THREE DIMENSIONAL DISPLAY METHODS
 
BRESENHAM’S LINE DRAWING ALGORITHM
BRESENHAM’S  LINE DRAWING ALGORITHMBRESENHAM’S  LINE DRAWING ALGORITHM
BRESENHAM’S LINE DRAWING ALGORITHM
 
Overview of the graphics system
Overview of the graphics systemOverview of the graphics system
Overview of the graphics system
 
Composite transformations
Composite transformationsComposite transformations
Composite transformations
 
Clipping in Computer Graphics
Clipping in Computer GraphicsClipping in Computer Graphics
Clipping in Computer Graphics
 
Curve and text clipping
Curve and text clippingCurve and text clipping
Curve and text clipping
 
2 d viewing computer graphics
2 d viewing computer graphics2 d viewing computer graphics
2 d viewing computer graphics
 

Similar to Attributes of output primitive(line attributes)

Graphics software standards
Graphics software standardsGraphics software standards
Graphics software standardsAnkit Garg
 
1. Introduction of Computer Graphics
1. Introduction of Computer Graphics1. Introduction of Computer Graphics
1. Introduction of Computer GraphicsAparna Joshi
 
Digital Coding of Images.pptx
Digital Coding of Images.pptxDigital Coding of Images.pptx
Digital Coding of Images.pptxemsResulzade1
 
UNIT_4_data visualization.pptx
UNIT_4_data visualization.pptxUNIT_4_data visualization.pptx
UNIT_4_data visualization.pptxBhagyasriPatel2
 
Autocad commands
Autocad commandsAutocad commands
Autocad commandsAmit Kumar
 
Character generation techniques
Character generation techniquesCharacter generation techniques
Character generation techniquesMani Kanth
 
Lecture 2 computer graphics
Lecture 2 computer graphicsLecture 2 computer graphics
Lecture 2 computer graphicspoleyseugenio
 
R Data Visualization Tutorial: Bar Plots
R Data Visualization Tutorial: Bar PlotsR Data Visualization Tutorial: Bar Plots
R Data Visualization Tutorial: Bar PlotsRsquared Academy
 
Machine element Drawing, Machine drawing.pptx
Machine element Drawing, Machine drawing.pptxMachine element Drawing, Machine drawing.pptx
Machine element Drawing, Machine drawing.pptxMrNikhilMohanShinde
 
2GKS, Open GL and IGES_Video Lect Given by Renjin.pptx
2GKS, Open GL and IGES_Video Lect Given by Renjin.pptx2GKS, Open GL and IGES_Video Lect Given by Renjin.pptx
2GKS, Open GL and IGES_Video Lect Given by Renjin.pptxRamanathanSabesan
 
Detecting text from natural images with Stroke Width Transform
Detecting text from natural images with Stroke Width TransformDetecting text from natural images with Stroke Width Transform
Detecting text from natural images with Stroke Width TransformPooja G N
 
Higher - Storing graphics
Higher - Storing graphicsHigher - Storing graphics
Higher - Storing graphicsmissstevenson01
 
Character Attribute in computer graphics
Character Attribute in computer graphicsCharacter Attribute in computer graphics
Character Attribute in computer graphicsHariTharshiniBscIT1
 
Scene text recognition in mobile applications by character descriptor and str...
Scene text recognition in mobile applications by character descriptor and str...Scene text recognition in mobile applications by character descriptor and str...
Scene text recognition in mobile applications by character descriptor and str...eSAT Journals
 
Types of Technical & Engineering Drawing Lines and Their Uses
Types of Technical & Engineering Drawing Lines and Their UsesTypes of Technical & Engineering Drawing Lines and Their Uses
Types of Technical & Engineering Drawing Lines and Their Usesterihagh
 
Image feature extraction
Image feature extractionImage feature extraction
Image feature extractionRushin Shah
 

Similar to Attributes of output primitive(line attributes) (20)

attribute.pptx
attribute.pptxattribute.pptx
attribute.pptx
 
Graphics software standards
Graphics software standardsGraphics software standards
Graphics software standards
 
1. Introduction of Computer Graphics
1. Introduction of Computer Graphics1. Introduction of Computer Graphics
1. Introduction of Computer Graphics
 
Digital Coding of Images.pptx
Digital Coding of Images.pptxDigital Coding of Images.pptx
Digital Coding of Images.pptx
 
UNIT_4_data visualization.pptx
UNIT_4_data visualization.pptxUNIT_4_data visualization.pptx
UNIT_4_data visualization.pptx
 
Autocad commands
Autocad commandsAutocad commands
Autocad commands
 
Character generation techniques
Character generation techniquesCharacter generation techniques
Character generation techniques
 
Lecture 2 computer graphics
Lecture 2 computer graphicsLecture 2 computer graphics
Lecture 2 computer graphics
 
Lecture_3.pptx
Lecture_3.pptxLecture_3.pptx
Lecture_3.pptx
 
R Data Visualization Tutorial: Bar Plots
R Data Visualization Tutorial: Bar PlotsR Data Visualization Tutorial: Bar Plots
R Data Visualization Tutorial: Bar Plots
 
Machine element Drawing, Machine drawing.pptx
Machine element Drawing, Machine drawing.pptxMachine element Drawing, Machine drawing.pptx
Machine element Drawing, Machine drawing.pptx
 
2GKS, Open GL and IGES_Video Lect Given by Renjin.pptx
2GKS, Open GL and IGES_Video Lect Given by Renjin.pptx2GKS, Open GL and IGES_Video Lect Given by Renjin.pptx
2GKS, Open GL and IGES_Video Lect Given by Renjin.pptx
 
Detecting text from natural images with Stroke Width Transform
Detecting text from natural images with Stroke Width TransformDetecting text from natural images with Stroke Width Transform
Detecting text from natural images with Stroke Width Transform
 
Higher - Storing graphics
Higher - Storing graphicsHigher - Storing graphics
Higher - Storing graphics
 
RastervsVector.ppt
RastervsVector.pptRastervsVector.ppt
RastervsVector.ppt
 
Character Attribute in computer graphics
Character Attribute in computer graphicsCharacter Attribute in computer graphics
Character Attribute in computer graphics
 
QGIS Tutorial 1
QGIS Tutorial 1QGIS Tutorial 1
QGIS Tutorial 1
 
Scene text recognition in mobile applications by character descriptor and str...
Scene text recognition in mobile applications by character descriptor and str...Scene text recognition in mobile applications by character descriptor and str...
Scene text recognition in mobile applications by character descriptor and str...
 
Types of Technical & Engineering Drawing Lines and Their Uses
Types of Technical & Engineering Drawing Lines and Their UsesTypes of Technical & Engineering Drawing Lines and Their Uses
Types of Technical & Engineering Drawing Lines and Their Uses
 
Image feature extraction
Image feature extractionImage feature extraction
Image feature extraction
 

More from shalinikarunakaran1

More from shalinikarunakaran1 (9)

Data Communication and Networking ( Guided and Unguided Media)
Data Communication and Networking ( Guided and Unguided Media)Data Communication and Networking ( Guided and Unguided Media)
Data Communication and Networking ( Guided and Unguided Media)
 
Character generation
Character generationCharacter generation
Character generation
 
Introduction , surveuy on cg
Introduction , surveuy on cgIntroduction , surveuy on cg
Introduction , surveuy on cg
 
Java tokens
Java tokensJava tokens
Java tokens
 
Java program structure
Java program structureJava program structure
Java program structure
 
Simple java program
Simple java programSimple java program
Simple java program
 
How java differs from c and c++
How java differs from c and c++How java differs from c and c++
How java differs from c and c++
 
JAVA HISTORY
JAVA HISTORYJAVA HISTORY
JAVA HISTORY
 
JAVA FEATURES
JAVA FEATURESJAVA FEATURES
JAVA FEATURES
 

Recently uploaded

On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxdhanalakshmis0310
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 

Recently uploaded (20)

Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 

Attributes of output primitive(line attributes)

  • 1. Line Attributes •Line type •Line width •Pen and Brush Options •Line Color
  • 2. LINE ATTRIBUTES  Basic attributes of a straight line segment are its type, its width and its color.  In some graphics packages, lines can also be displayed using selected pen or brush options. Line Type: Line-type attribute include solid lines, dashed lines , and dotted lines.
  • 3.
  • 4.  To set line type attributes in a PHIGS application program , a user involves the function setLinetype( lt) where parameter lt is assigned a positive integer value. Line width: A line-width options depends on the capabilities of the output device. A heavy line on a video monitor could be displayed as adjacent parallel lines, while a pen plotter might require pen changes. We set the line-width attribute with the command: setLinewidthscaleFactor (l w)
  • 5.  There are three differents line cap they are  Butt cap  Round cap  Projecting square cap Butt cap: One kind of line cap is the butt cap obtained by adjusting the end positions of the component parallel lines so that the thick line is displayed with the square end of the thick line has slope - 1/m. Round cap: Another line cap is the round cap obtained by adding a filled semicircle to each butt cap. The circular are centered on the line endpoints and have a diameter equal to the line thickness. Projecting square cap: Extend the line and add buttcap.
  • 6.
  • 7.  Displaying thick lines using horizontal and vertical pixel spans.  Three possible methods for smoothly joining two line segments.  A miter join is accomplished by extending the outer boundaries of each of the two lines until meet.  A round join is produced by capping the connection between the two segment with a circular boundary whose diameter is equal to the line width.  Diameter = line width
  • 8.  A bevel join is generated by displaying the line with butt caps and filling in the triangular gap where the segments meet. If the angles between two connected line segments is very small.
  • 9. Pen and Brush  Lines can be displayed with pen or brush selections.  Options in the category include shape, size, an patterns.  Some possible pen or brush shapes
  • 10.
  • 11.
  • 12. Line Color  When system provides color(or intensity) options, a parameter giving the current color index is included in the list of system- attribute values.  A polyline routine display a line in the current color by setting this color value in the frame buffer at pixel loctaions along the line path using the setpixel procedure.  We set the line color value in PHIGS with the function setPolylineColourIndex(lc)