SlideShare a Scribd company logo
3
Most read
4
Most read
6
Most read
Graphics Software Standards
By
Ankit Garg
Assistant Professor
Amity University, Haryana
Graphics Standard Cont….
• Standard makes portability
• Rewriting Code is not required
• Following standards are available.
• GKS (Graphics Kernel System)
• PHIGS (Programmer’s Hierarchical Interactive
graphics standard.
GKS
• GKS- This system provides standard methods for developing
programs. It is used by various programming languages like
C, Fortran, Pascal, Basic etc. GKS was adopted as first
graphics software standard by ISO & by National standard
organization including ANSI.
• GKS was originally designed as a 2D graphics package.
• PHIGS was the extension of GKS which provides 3D graphics
package.
• GKS includes various types of methods, reserved words.
Advantages of GKS
• It provides improved algorithm
• It makes system portable.
• Rewriting of code is not required
PHIGS (Programmer’s Hierarchical Interactive
Graphics Standard)
• PHIGS was the extension of GKS which provides
3D graphics package.
• PHIGS includes additional functions for
• Object Modeling
• Color Specification
• Surface Rendering
• Picture Manipulation
• PHIGS+ is the advance version of PHIGS having
additional functionality.
PHIGS (Programmer’s Hierarchical
Interactive Graphics Standard)
Solid Modeling Surface modeling
GKS primitives
• Polyline
• Polymarker
• Fill area
• Text
Graphics Standard Cont….
• Polyline
• The GKS function for drawing line segments is called polyline. The polyline function
takes an array of X-Y coordinates and draws line segments connecting them. The
attributes that control the appearance of a polyline are:
• Linetype: which controls whether the polyline is drawn as a solid, dashed, dotted, or
dash-dotted line.
• Linewidth scale factor: which controls how thick the line is.
LW>1 thinner than standard line
LW<1, thicker than standard line.
• Polyline color index: which controls what color the line is.
Set polyline(N,X1,Y1) here
N is the number of points to be drawn.
X1 is X array
Y1 is Y array
X 0.0 2.0 4.0 6.0 8.0 10.0 12.0 14.0 16.4 17.0
Y 8.8 7.6 7.1 7.4 8.0 8.9 9.6 9.9 9.4 9.7
Set polylineindex(1……..4)
Polyline
Graphics Standard Cont….
• Polymarkers
• The GKS polymarker function allows you to draw marker symbols centered at
coordinate points that you specify. The attributes that control the appearance of
polymarkers are:
• Marker: which specifies one of five standardized symmetric characters to be used for
the marker. The five characters are dot, plus, asterisk, circle, and cross.
1 - . (dot)
2 - + (plus)
3 - * (asterisk)
4 - o (circle)
5 - X (cross)
• Marker size scale factor: which controls how large each marker is (except for the dot
marker).
• Polymarker color index: which specifies what color the marker is.
• POLYMARKER(19, XDK, YDK)
X 15.7 17.0 17.7 17.3 15.3 13.0 11.0 9.0 7.0 4.7
Y 7.0 6.1 5.0 3.8 3.0 2.7 3.0 3.6 4.2 5.2
Polymarker
Graphics Standard Cont…
Graphics Standard Cont….
• Fill Area
• The GKS fill area function allows you to specify a polygonal shape of
an area to be filled with various interior styles. The attributes that
control the appearance of fill areas are:
• Fill area interior style: which specifies how the polygonal area
should be filled: with solid colors or various hatch patterns, or with
nothing, that is, a line is drawn to connect the points of the
polygon, so you get only a border.
• Fill area style index: If the fill area style is hatch, this index specifies
which hatch pattern is to be used: horizontal lines; vertical lines; left
slant lines; right slant lines; horizontal and vertical lines; or left slant
and right slant lines.
• Fill area color index, which specifies the color of the fill patterns or
solid areas.
Fill Area
Polymarker Index(1…..N)
Graphics Standard Cont….
• Text
• The GKS text function allows you to draw a text string at a specified
coordinate position. The attributes that control the appearance of
text are:
• Text font and precision: which specifies what text font should be
used for the characters and how precisely their representation
should adhere to the settings of the other text attributes.
• Character expansion factor: which controls the height-to-width
ratio of each plotted character.
• Character spacing: which specifies how much additional white
space should be inserted between characters in a string.
• Text color index: which specifies what color the text string should
be.
TEXT
• SET TEXT PATH(DOWN)
• SET TEXT PATH(UP)
• SET TEXT PATH(RIGHT)
• SET TEXT PATH(LEFT)
• TEXT(10, 17, 'GRAND HOTEL')
POLYLINE,POLYMARKER,FILLAREA,TEXT
THANK YOU!

More Related Content

PPTX
Dda algorithm
PPTX
Spline representations
PPTX
Bezier curve & B spline curve
PPTX
Mid point circle algorithm
PPTX
Character Attribute in computer graphics
PPTX
Attributes of output primitives( curve attributes & area fill attributes)
PPTX
DDA-line-drawing-algorithm.pptx
PPT
Introduction to Compiler design
Dda algorithm
Spline representations
Bezier curve & B spline curve
Mid point circle algorithm
Character Attribute in computer graphics
Attributes of output primitives( curve attributes & area fill attributes)
DDA-line-drawing-algorithm.pptx
Introduction to Compiler design

What's hot (20)

PPT
Line drawing algo.
PPT
Image pre processing - local processing
PPTX
Circle generation algorithm
PPT
Graphics software
PPTX
Design Pattern in Software Engineering
PPTX
Computer graphics realism
PDF
Digital Image Processing - Image Compression
PPTX
Video display devices
PPTX
Overview of the graphics system
PPTX
2 d viewing computer graphics
PPTX
Attributes of output primitive(line attributes)
PPTX
Estimating Software Maintenance Costs
PPTX
Attributes of Output Primitives
PPTX
software cost factor
PPT
PPTX
Random scan displays and raster scan displays
PPTX
Input of graphical data
PPT
Image enhancement
PPTX
Raster scan system & random scan system
Line drawing algo.
Image pre processing - local processing
Circle generation algorithm
Graphics software
Design Pattern in Software Engineering
Computer graphics realism
Digital Image Processing - Image Compression
Video display devices
Overview of the graphics system
2 d viewing computer graphics
Attributes of output primitive(line attributes)
Estimating Software Maintenance Costs
Attributes of Output Primitives
software cost factor
Random scan displays and raster scan displays
Input of graphical data
Image enhancement
Raster scan system & random scan system
Ad

Similar to Graphics software standards (20)

PPTX
computergraphics-chapter4-140412075158-phpapp02.pptx
PPTX
Computer graphics chapter 4
PPTX
Attributes of Output Primitives Computer Graphhics.pptx
PPTX
attribute.pptx
PPTX
2GKS, Open GL and IGES_Video Lect Given by Renjin.pptx
PDF
UNIT 5 CAD STANDARDS -GOoGLE.pdf
PDF
QGIS Tutorial 1
PDF
CAD STANDARDS
PDF
Matlab_Pract_lect5details about matlab.pdf
PPTX
ABCDE..........................................................
PPTX
Pattern_Recognition_via_Character_Recogn.pptx
PPTX
L#2 Multimedia systems telecomunicztion.pptx
PPTX
Attributes of output Primitive
PPT
Programmable Piplelines
PPTX
Language Model.pptx
PPTX
Unit 2 open gl .pptx
PPT
graphic stadards
PPT
Prinsip gambar digital
PDF
Map box styles in GeoServer and OpenLayers
DOC
Attributes of output primitives unit ii
computergraphics-chapter4-140412075158-phpapp02.pptx
Computer graphics chapter 4
Attributes of Output Primitives Computer Graphhics.pptx
attribute.pptx
2GKS, Open GL and IGES_Video Lect Given by Renjin.pptx
UNIT 5 CAD STANDARDS -GOoGLE.pdf
QGIS Tutorial 1
CAD STANDARDS
Matlab_Pract_lect5details about matlab.pdf
ABCDE..........................................................
Pattern_Recognition_via_Character_Recogn.pptx
L#2 Multimedia systems telecomunicztion.pptx
Attributes of output Primitive
Programmable Piplelines
Language Model.pptx
Unit 2 open gl .pptx
graphic stadards
Prinsip gambar digital
Map box styles in GeoServer and OpenLayers
Attributes of output primitives unit ii
Ad

More from Ankit Garg (19)

PPT
Introduction to computer graphics part 2
PPT
Introduction to computer graphics part 1
DOCX
Curve clipping
PPT
Window to viewport transformation
PPT
Unit 1
PPT
Projection ppt
PPT
Polygon filling
PPT
Polygon clipping
PPTX
Numerical unit 1
PPT
Line drawing algorithm and antialiasing techniques
PPT
Line clipping
PPTX
Hidden surface removal
PPTX
Fractal introduction and applications modified version
PPTX
Digital image processing &amp; computer graphics
PPTX
Concept of basic illumination model
PPT
Character generation
PPT
Applications of cg
PPT
2 d transformation
PPT
3 d transformations
Introduction to computer graphics part 2
Introduction to computer graphics part 1
Curve clipping
Window to viewport transformation
Unit 1
Projection ppt
Polygon filling
Polygon clipping
Numerical unit 1
Line drawing algorithm and antialiasing techniques
Line clipping
Hidden surface removal
Fractal introduction and applications modified version
Digital image processing &amp; computer graphics
Concept of basic illumination model
Character generation
Applications of cg
2 d transformation
3 d transformations

Recently uploaded (20)

PPTX
Construction Project Organization Group 2.pptx
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
Well-logging-methods_new................
PPTX
Sustainable Sites - Green Building Construction
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
Welding lecture in detail for understanding
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
Geodesy 1.pptx...............................................
Construction Project Organization Group 2.pptx
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
Automation-in-Manufacturing-Chapter-Introduction.pdf
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Well-logging-methods_new................
Sustainable Sites - Green Building Construction
CH1 Production IntroductoryConcepts.pptx
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
Internet of Things (IOT) - A guide to understanding
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
Welding lecture in detail for understanding
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Foundation to blockchain - A guide to Blockchain Tech
bas. eng. economics group 4 presentation 1.pptx
Geodesy 1.pptx...............................................

Graphics software standards

  • 1. Graphics Software Standards By Ankit Garg Assistant Professor Amity University, Haryana
  • 2. Graphics Standard Cont…. • Standard makes portability • Rewriting Code is not required • Following standards are available. • GKS (Graphics Kernel System) • PHIGS (Programmer’s Hierarchical Interactive graphics standard.
  • 3. GKS • GKS- This system provides standard methods for developing programs. It is used by various programming languages like C, Fortran, Pascal, Basic etc. GKS was adopted as first graphics software standard by ISO & by National standard organization including ANSI. • GKS was originally designed as a 2D graphics package. • PHIGS was the extension of GKS which provides 3D graphics package. • GKS includes various types of methods, reserved words. Advantages of GKS • It provides improved algorithm • It makes system portable. • Rewriting of code is not required
  • 4. PHIGS (Programmer’s Hierarchical Interactive Graphics Standard) • PHIGS was the extension of GKS which provides 3D graphics package. • PHIGS includes additional functions for • Object Modeling • Color Specification • Surface Rendering • Picture Manipulation • PHIGS+ is the advance version of PHIGS having additional functionality.
  • 5. PHIGS (Programmer’s Hierarchical Interactive Graphics Standard) Solid Modeling Surface modeling
  • 6. GKS primitives • Polyline • Polymarker • Fill area • Text
  • 7. Graphics Standard Cont…. • Polyline • The GKS function for drawing line segments is called polyline. The polyline function takes an array of X-Y coordinates and draws line segments connecting them. The attributes that control the appearance of a polyline are: • Linetype: which controls whether the polyline is drawn as a solid, dashed, dotted, or dash-dotted line. • Linewidth scale factor: which controls how thick the line is. LW>1 thinner than standard line LW<1, thicker than standard line. • Polyline color index: which controls what color the line is. Set polyline(N,X1,Y1) here N is the number of points to be drawn. X1 is X array Y1 is Y array X 0.0 2.0 4.0 6.0 8.0 10.0 12.0 14.0 16.4 17.0 Y 8.8 7.6 7.1 7.4 8.0 8.9 9.6 9.9 9.4 9.7 Set polylineindex(1……..4)
  • 9. Graphics Standard Cont…. • Polymarkers • The GKS polymarker function allows you to draw marker symbols centered at coordinate points that you specify. The attributes that control the appearance of polymarkers are: • Marker: which specifies one of five standardized symmetric characters to be used for the marker. The five characters are dot, plus, asterisk, circle, and cross. 1 - . (dot) 2 - + (plus) 3 - * (asterisk) 4 - o (circle) 5 - X (cross) • Marker size scale factor: which controls how large each marker is (except for the dot marker). • Polymarker color index: which specifies what color the marker is. • POLYMARKER(19, XDK, YDK) X 15.7 17.0 17.7 17.3 15.3 13.0 11.0 9.0 7.0 4.7 Y 7.0 6.1 5.0 3.8 3.0 2.7 3.0 3.6 4.2 5.2
  • 12. Graphics Standard Cont…. • Fill Area • The GKS fill area function allows you to specify a polygonal shape of an area to be filled with various interior styles. The attributes that control the appearance of fill areas are: • Fill area interior style: which specifies how the polygonal area should be filled: with solid colors or various hatch patterns, or with nothing, that is, a line is drawn to connect the points of the polygon, so you get only a border. • Fill area style index: If the fill area style is hatch, this index specifies which hatch pattern is to be used: horizontal lines; vertical lines; left slant lines; right slant lines; horizontal and vertical lines; or left slant and right slant lines. • Fill area color index, which specifies the color of the fill patterns or solid areas.
  • 15. Graphics Standard Cont…. • Text • The GKS text function allows you to draw a text string at a specified coordinate position. The attributes that control the appearance of text are: • Text font and precision: which specifies what text font should be used for the characters and how precisely their representation should adhere to the settings of the other text attributes. • Character expansion factor: which controls the height-to-width ratio of each plotted character. • Character spacing: which specifies how much additional white space should be inserted between characters in a string. • Text color index: which specifies what color the text string should be.
  • 16. TEXT • SET TEXT PATH(DOWN) • SET TEXT PATH(UP) • SET TEXT PATH(RIGHT) • SET TEXT PATH(LEFT) • TEXT(10, 17, 'GRAND HOTEL')