尊敬的 微信汇率:1円 ≈ 0.046166 元 支付宝汇率:1円 ≈ 0.046257元 [退出登录]
SlideShare a Scribd company logo
Attributes of
Output Primitives
Main Areas…
2
▪ Character Attributes
▪ Bundled Attributes
▪ Inquiry Functions
▪ Antialiasing
CHARACTER
ATTRIBUTES
CHARACTER ATTRIBUTES
▪ The appearance of displayed characters is
controlled by attributes such as
Font size
Color
Orientation.
▫ Attributes can be set both for entire character
strings (text) and for individual characters
defined as marker symbols.
4
Text Attributes
• There are a great many text options that can be made
available to graphics programmers.
• Typeface –choice of font,
Set of character with a particular design
i.e. courier, Helvetica, times roman etc.
• Assorted underlining styles
• Solid, dotted, double
• Boldface
• Italic
• Emboss
• Shadow style
5
A font and associated style is selected in a PHIGS program
by setting an integer code for the text font parameter tf
in the function
▪ setTextFont (tf)
6
Control of text color(intensity) is managed from an
application program with
▪setTextColourIndex (tc)
Text size
By scaling the overall dimensions of character
Height
Width
Or scaling the height only
Or scaling the width only
7
Text size can be adjusted without changing the
width-to-height ratio of characters with
setCharacterHeight (ch)
Text size
By scaling the overall dimensions of character
Height
Width
Or scaling the height only
Or scaling the width only
8
Height 1
Height 2
Height 3+
9
The width of text can be set with the function
setCharacterExpansionFactor (cw)
where the character width parameter cw is set to a positive real value
that scales the body width of characters.
Spacing between characters is controlled separately with
setCharacterSpacing (cs)
where character spacing parameter cs can be asiigned any real value.
Orientation
10
♦Set according to the direction of a character up vector
setCharacterUpVector ( upvect)
Parameter upvect is assigned two values that specify the x and y vector
components.
Marker Attributes
11
A marker symbol is a single character that can be displayed in
different colors and in different sizes.
We select a particular character to be the marker symbol with
setMarkertype (mt)
where the marker type parameter mt is set to an integer code.
we set the marker size with
setMarkerSizeScalefactor (ms)
ms is assigned a positive number.
12
Marker color is specified with
setPolymarkerColourIndex (mc)
A selected color code for parameter mc is stored in the current
attribute list and used to display subsequently specified
marker primitives.
Bundled Attributes
13
BUNDLED ATTRIBUTES
▪A particular set of attribute values tor a primitive
on each output device is then chosen by specifying
the appropriate table index. Attributes specified in
this manner called bundled attributes
14
15
Bundle Attributes
▪ Bundled Line Attributes
▪ Bundled Area-Fi Attributes
▪ Bundled Text Attributes
▪ Bundled Marker Attributes
16
17
18
Inquiry Function
19
Antialiasing
▪Increase resolution (increase sampling)
▪Supersampling
20
Increase resolution (increase
sampling)
21
Render the image at a higher resolution and downsample.
Really, you are letting your eye do some filtering for you.
Supersampling
▪For each pixel, we would like to figure out what
“percentage” is covered.
22
THANK YOU!!!!!!!
23

More Related Content

What's hot

Polygon filling
Polygon fillingPolygon filling
Raster scan system
Raster scan systemRaster scan system
Raster scan system
Mohd Arif
 
Raster scan system & random scan system
Raster scan system & random scan systemRaster scan system & random scan system
Raster scan system & random scan system
shalinikarunakaran1
 
Video display devices
Video display devicesVideo display devices
Video display devices
shalinikarunakaran1
 
Video display devices
Video display devicesVideo display devices
Video display devices
Mohd Arif
 
Fill area algorithms
Fill area algorithmsFill area algorithms
Fill area algorithms
Kumar
 
Spline representations
Spline representationsSpline representations
Spline representations
Nikhil krishnan
 
Image processing second unit Notes
Image processing second unit NotesImage processing second unit Notes
Image processing second unit Notes
AAKANKSHA JAIN
 
Hit and-miss transform
Hit and-miss transformHit and-miss transform
Hit and-miss transform
Krish Everglades
 
Clipping in Computer Graphics
Clipping in Computer GraphicsClipping in Computer Graphics
Clipping in Computer Graphics
Laxman Puri
 
Seed filling algorithm
Seed filling algorithmSeed filling algorithm
Seed filling algorithm
Mani Kanth
 
Overview of the graphics system
Overview of the graphics systemOverview of the graphics system
Overview of the graphics system
Kamal Acharya
 
Character generation
Character generationCharacter generation
Character generation
Ankit Garg
 
Character generation techniques
Character generation techniquesCharacter generation techniques
Character generation techniques
Mani Kanth
 
Polygon clipping
Polygon clippingPolygon clipping
Polygon clipping
Mohd Arif
 
Cyrus beck line clipping algorithm
Cyrus beck line clipping algorithmCyrus beck line clipping algorithm
Cyrus beck line clipping algorithm
Pooja Dixit
 
Intro to scan conversion
Intro to scan conversionIntro to scan conversion
Intro to scan conversion
Mohd Arif
 
UNIT-IV
UNIT-IVUNIT-IV
Segments in Graphics
Segments in GraphicsSegments in Graphics
Segments in Graphics
Rajani Thite
 
Circle generation algorithm
Circle generation algorithmCircle generation algorithm
Circle generation algorithm
Ankit Garg
 

What's hot (20)

Polygon filling
Polygon fillingPolygon filling
Polygon filling
 
Raster scan system
Raster scan systemRaster scan system
Raster scan system
 
Raster scan system & random scan system
Raster scan system & random scan systemRaster scan system & random scan system
Raster scan system & random scan system
 
Video display devices
Video display devicesVideo display devices
Video display devices
 
Video display devices
Video display devicesVideo display devices
Video display devices
 
Fill area algorithms
Fill area algorithmsFill area algorithms
Fill area algorithms
 
Spline representations
Spline representationsSpline representations
Spline representations
 
Image processing second unit Notes
Image processing second unit NotesImage processing second unit Notes
Image processing second unit Notes
 
Hit and-miss transform
Hit and-miss transformHit and-miss transform
Hit and-miss transform
 
Clipping in Computer Graphics
Clipping in Computer GraphicsClipping in Computer Graphics
Clipping in Computer Graphics
 
Seed filling algorithm
Seed filling algorithmSeed filling algorithm
Seed filling algorithm
 
Overview of the graphics system
Overview of the graphics systemOverview of the graphics system
Overview of the graphics system
 
Character generation
Character generationCharacter generation
Character generation
 
Character generation techniques
Character generation techniquesCharacter generation techniques
Character generation techniques
 
Polygon clipping
Polygon clippingPolygon clipping
Polygon clipping
 
Cyrus beck line clipping algorithm
Cyrus beck line clipping algorithmCyrus beck line clipping algorithm
Cyrus beck line clipping algorithm
 
Intro to scan conversion
Intro to scan conversionIntro to scan conversion
Intro to scan conversion
 
UNIT-IV
UNIT-IVUNIT-IV
UNIT-IV
 
Segments in Graphics
Segments in GraphicsSegments in Graphics
Segments in Graphics
 
Circle generation algorithm
Circle generation algorithmCircle generation algorithm
Circle generation algorithm
 

Similar to Attributes of output Primitive

Character aatributes
Character aatributesCharacter aatributes
Character aatributes
Aswathy Raveendran R K
 
Character Attribute in computer graphics
Character Attribute in computer graphicsCharacter Attribute in computer graphics
Character Attribute in computer graphics
HariTharshiniBscIT1
 
SCENE TEXT RECOGNITION IN MOBILE APPLICATION BY CHARACTER DESCRIPTOR AND STRU...
SCENE TEXT RECOGNITION IN MOBILE APPLICATION BY CHARACTER DESCRIPTOR AND STRU...SCENE TEXT RECOGNITION IN MOBILE APPLICATION BY CHARACTER DESCRIPTOR AND STRU...
SCENE TEXT RECOGNITION IN MOBILE APPLICATION BY CHARACTER DESCRIPTOR AND STRU...
Cheriyan K M
 
Graphics software standards
Graphics software standardsGraphics software standards
Graphics software standards
Ankit Garg
 
Console I/o & basics of array and strings.pptx
Console I/o & basics of array and strings.pptxConsole I/o & basics of array and strings.pptx
Console I/o & basics of array and strings.pptx
PRASENJITMORE2
 
Text detection and recognition from natural scenes
Text detection and recognition from natural scenesText detection and recognition from natural scenes
Text detection and recognition from natural scenes
hemanthmcqueen
 
Ppt lesson 07
Ppt lesson 07Ppt lesson 07
Ppt lesson 07
Linda Bodrie
 
Lecture_3.pptx
Lecture_3.pptxLecture_3.pptx
Lecture_3.pptx
SungaleliYuen
 
Sterling Integrator Map Editor
Sterling Integrator Map EditorSterling Integrator Map Editor
Sterling Integrator Map Editor
Jeyhind M
 
Autocad commands
Autocad commandsAutocad commands
Autocad commands
Amit Kumar
 
FME's MapnikRasterizer Makes Happy Cartographers
FME's MapnikRasterizer Makes Happy CartographersFME's MapnikRasterizer Makes Happy Cartographers
FME's MapnikRasterizer Makes Happy Cartographers
Safe Software
 
constants, variables and datatypes in C
constants, variables and datatypes in Cconstants, variables and datatypes in C
constants, variables and datatypes in C
Sahithi Naraparaju
 
CONSTANTS, VARIABLES & DATATYPES IN C
CONSTANTS, VARIABLES & DATATYPES IN CCONSTANTS, VARIABLES & DATATYPES IN C
CONSTANTS, VARIABLES & DATATYPES IN C
Sahithi Naraparaju
 
Language Model.pptx
Language Model.pptxLanguage Model.pptx
Language Model.pptx
Firas Obeid
 
Text kit ios7
Text kit ios7Text kit ios7
Text kit ios7
alizaqasim
 
Mql4 manual
Mql4 manualMql4 manual
Mql4 manual
naveendnk22
 
Mql4 manual
Mql4 manualMql4 manual
Mql4 manual
Toni Zico
 
Intro to gml
Intro to gmlIntro to gml
Intro to gml
Chaffey College
 
Cp presentation
Cp presentationCp presentation
Cp presentation
MeetaPrajapati
 
A binary graphics recognition algorithm based on fitting function
A binary graphics recognition algorithm based on fitting functionA binary graphics recognition algorithm based on fitting function
A binary graphics recognition algorithm based on fitting function
Lixun Peng
 

Similar to Attributes of output Primitive (20)

Character aatributes
Character aatributesCharacter aatributes
Character aatributes
 
Character Attribute in computer graphics
Character Attribute in computer graphicsCharacter Attribute in computer graphics
Character Attribute in computer graphics
 
SCENE TEXT RECOGNITION IN MOBILE APPLICATION BY CHARACTER DESCRIPTOR AND STRU...
SCENE TEXT RECOGNITION IN MOBILE APPLICATION BY CHARACTER DESCRIPTOR AND STRU...SCENE TEXT RECOGNITION IN MOBILE APPLICATION BY CHARACTER DESCRIPTOR AND STRU...
SCENE TEXT RECOGNITION IN MOBILE APPLICATION BY CHARACTER DESCRIPTOR AND STRU...
 
Graphics software standards
Graphics software standardsGraphics software standards
Graphics software standards
 
Console I/o & basics of array and strings.pptx
Console I/o & basics of array and strings.pptxConsole I/o & basics of array and strings.pptx
Console I/o & basics of array and strings.pptx
 
Text detection and recognition from natural scenes
Text detection and recognition from natural scenesText detection and recognition from natural scenes
Text detection and recognition from natural scenes
 
Ppt lesson 07
Ppt lesson 07Ppt lesson 07
Ppt lesson 07
 
Lecture_3.pptx
Lecture_3.pptxLecture_3.pptx
Lecture_3.pptx
 
Sterling Integrator Map Editor
Sterling Integrator Map EditorSterling Integrator Map Editor
Sterling Integrator Map Editor
 
Autocad commands
Autocad commandsAutocad commands
Autocad commands
 
FME's MapnikRasterizer Makes Happy Cartographers
FME's MapnikRasterizer Makes Happy CartographersFME's MapnikRasterizer Makes Happy Cartographers
FME's MapnikRasterizer Makes Happy Cartographers
 
constants, variables and datatypes in C
constants, variables and datatypes in Cconstants, variables and datatypes in C
constants, variables and datatypes in C
 
CONSTANTS, VARIABLES & DATATYPES IN C
CONSTANTS, VARIABLES & DATATYPES IN CCONSTANTS, VARIABLES & DATATYPES IN C
CONSTANTS, VARIABLES & DATATYPES IN C
 
Language Model.pptx
Language Model.pptxLanguage Model.pptx
Language Model.pptx
 
Text kit ios7
Text kit ios7Text kit ios7
Text kit ios7
 
Mql4 manual
Mql4 manualMql4 manual
Mql4 manual
 
Mql4 manual
Mql4 manualMql4 manual
Mql4 manual
 
Intro to gml
Intro to gmlIntro to gml
Intro to gml
 
Cp presentation
Cp presentationCp presentation
Cp presentation
 
A binary graphics recognition algorithm based on fitting function
A binary graphics recognition algorithm based on fitting functionA binary graphics recognition algorithm based on fitting function
A binary graphics recognition algorithm based on fitting function
 

Recently uploaded

MongoDB to ScyllaDB: Technical Comparison and the Path to Success
MongoDB to ScyllaDB: Technical Comparison and the Path to SuccessMongoDB to ScyllaDB: Technical Comparison and the Path to Success
MongoDB to ScyllaDB: Technical Comparison and the Path to Success
ScyllaDB
 
Containers & AI - Beauty and the Beast!?!
Containers & AI - Beauty and the Beast!?!Containers & AI - Beauty and the Beast!?!
Containers & AI - Beauty and the Beast!?!
Tobias Schneck
 
An All-Around Benchmark of the DBaaS Market
An All-Around Benchmark of the DBaaS MarketAn All-Around Benchmark of the DBaaS Market
An All-Around Benchmark of the DBaaS Market
ScyllaDB
 
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance PanelsNorthern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving
 
From NCSA to the National Research Platform
From NCSA to the National Research PlatformFrom NCSA to the National Research Platform
From NCSA to the National Research Platform
Larry Smarr
 
New ThousandEyes Product Features and Release Highlights: June 2024
New ThousandEyes Product Features and Release Highlights: June 2024New ThousandEyes Product Features and Release Highlights: June 2024
New ThousandEyes Product Features and Release Highlights: June 2024
ThousandEyes
 
Facilitation Skills - When to Use and Why.pptx
Facilitation Skills - When to Use and Why.pptxFacilitation Skills - When to Use and Why.pptx
Facilitation Skills - When to Use and Why.pptx
Knoldus Inc.
 
Mutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented ChatbotsMutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented Chatbots
Pablo Gómez Abajo
 
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
zjhamm304
 
Building a Semantic Layer of your Data Platform
Building a Semantic Layer of your Data PlatformBuilding a Semantic Layer of your Data Platform
Building a Semantic Layer of your Data Platform
Enterprise Knowledge
 
An Introduction to All Data Enterprise Integration
An Introduction to All Data Enterprise IntegrationAn Introduction to All Data Enterprise Integration
An Introduction to All Data Enterprise Integration
Safe Software
 
ThousandEyes New Product Features and Release Highlights: June 2024
ThousandEyes New Product Features and Release Highlights: June 2024ThousandEyes New Product Features and Release Highlights: June 2024
ThousandEyes New Product Features and Release Highlights: June 2024
ThousandEyes
 
Elasticity vs. State? Exploring Kafka Streams Cassandra State Store
Elasticity vs. State? Exploring Kafka Streams Cassandra State StoreElasticity vs. State? Exploring Kafka Streams Cassandra State Store
Elasticity vs. State? Exploring Kafka Streams Cassandra State Store
ScyllaDB
 
Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...
Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...
Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...
manji sharman06
 
Automation Student Developers Session 3: Introduction to UI Automation
Automation Student Developers Session 3: Introduction to UI AutomationAutomation Student Developers Session 3: Introduction to UI Automation
Automation Student Developers Session 3: Introduction to UI Automation
UiPathCommunity
 
ScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDB
ScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDBScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDB
ScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDB
ScyllaDB
 
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeckPoznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
FilipTomaszewski5
 
Real-Time Persisted Events at Supercell
Real-Time Persisted Events at  SupercellReal-Time Persisted Events at  Supercell
Real-Time Persisted Events at Supercell
ScyllaDB
 
Radically Outperforming DynamoDB @ Digital Turbine with SADA and Google Cloud
Radically Outperforming DynamoDB @ Digital Turbine with SADA and Google CloudRadically Outperforming DynamoDB @ Digital Turbine with SADA and Google Cloud
Radically Outperforming DynamoDB @ Digital Turbine with SADA and Google Cloud
ScyllaDB
 
APJC Introduction to ThousandEyes Webinar
APJC Introduction to ThousandEyes WebinarAPJC Introduction to ThousandEyes Webinar
APJC Introduction to ThousandEyes Webinar
ThousandEyes
 

Recently uploaded (20)

MongoDB to ScyllaDB: Technical Comparison and the Path to Success
MongoDB to ScyllaDB: Technical Comparison and the Path to SuccessMongoDB to ScyllaDB: Technical Comparison and the Path to Success
MongoDB to ScyllaDB: Technical Comparison and the Path to Success
 
Containers & AI - Beauty and the Beast!?!
Containers & AI - Beauty and the Beast!?!Containers & AI - Beauty and the Beast!?!
Containers & AI - Beauty and the Beast!?!
 
An All-Around Benchmark of the DBaaS Market
An All-Around Benchmark of the DBaaS MarketAn All-Around Benchmark of the DBaaS Market
An All-Around Benchmark of the DBaaS Market
 
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance PanelsNorthern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
 
From NCSA to the National Research Platform
From NCSA to the National Research PlatformFrom NCSA to the National Research Platform
From NCSA to the National Research Platform
 
New ThousandEyes Product Features and Release Highlights: June 2024
New ThousandEyes Product Features and Release Highlights: June 2024New ThousandEyes Product Features and Release Highlights: June 2024
New ThousandEyes Product Features and Release Highlights: June 2024
 
Facilitation Skills - When to Use and Why.pptx
Facilitation Skills - When to Use and Why.pptxFacilitation Skills - When to Use and Why.pptx
Facilitation Skills - When to Use and Why.pptx
 
Mutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented ChatbotsMutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented Chatbots
 
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
 
Building a Semantic Layer of your Data Platform
Building a Semantic Layer of your Data PlatformBuilding a Semantic Layer of your Data Platform
Building a Semantic Layer of your Data Platform
 
An Introduction to All Data Enterprise Integration
An Introduction to All Data Enterprise IntegrationAn Introduction to All Data Enterprise Integration
An Introduction to All Data Enterprise Integration
 
ThousandEyes New Product Features and Release Highlights: June 2024
ThousandEyes New Product Features and Release Highlights: June 2024ThousandEyes New Product Features and Release Highlights: June 2024
ThousandEyes New Product Features and Release Highlights: June 2024
 
Elasticity vs. State? Exploring Kafka Streams Cassandra State Store
Elasticity vs. State? Exploring Kafka Streams Cassandra State StoreElasticity vs. State? Exploring Kafka Streams Cassandra State Store
Elasticity vs. State? Exploring Kafka Streams Cassandra State Store
 
Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...
Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...
Call Girls Chandigarh🔥7023059433🔥Agency Profile Escorts in Chandigarh Availab...
 
Automation Student Developers Session 3: Introduction to UI Automation
Automation Student Developers Session 3: Introduction to UI AutomationAutomation Student Developers Session 3: Introduction to UI Automation
Automation Student Developers Session 3: Introduction to UI Automation
 
ScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDB
ScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDBScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDB
ScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDB
 
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeckPoznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
Poznań ACE event - 19.06.2024 Team 24 Wrapup slidedeck
 
Real-Time Persisted Events at Supercell
Real-Time Persisted Events at  SupercellReal-Time Persisted Events at  Supercell
Real-Time Persisted Events at Supercell
 
Radically Outperforming DynamoDB @ Digital Turbine with SADA and Google Cloud
Radically Outperforming DynamoDB @ Digital Turbine with SADA and Google CloudRadically Outperforming DynamoDB @ Digital Turbine with SADA and Google Cloud
Radically Outperforming DynamoDB @ Digital Turbine with SADA and Google Cloud
 
APJC Introduction to ThousandEyes Webinar
APJC Introduction to ThousandEyes WebinarAPJC Introduction to ThousandEyes Webinar
APJC Introduction to ThousandEyes Webinar
 

Attributes of output Primitive

  • 2. Main Areas… 2 ▪ Character Attributes ▪ Bundled Attributes ▪ Inquiry Functions ▪ Antialiasing
  • 4. CHARACTER ATTRIBUTES ▪ The appearance of displayed characters is controlled by attributes such as Font size Color Orientation. ▫ Attributes can be set both for entire character strings (text) and for individual characters defined as marker symbols. 4
  • 5. Text Attributes • There are a great many text options that can be made available to graphics programmers. • Typeface –choice of font, Set of character with a particular design i.e. courier, Helvetica, times roman etc. • Assorted underlining styles • Solid, dotted, double • Boldface • Italic • Emboss • Shadow style 5
  • 6. A font and associated style is selected in a PHIGS program by setting an integer code for the text font parameter tf in the function ▪ setTextFont (tf) 6 Control of text color(intensity) is managed from an application program with ▪setTextColourIndex (tc)
  • 7. Text size By scaling the overall dimensions of character Height Width Or scaling the height only Or scaling the width only 7 Text size can be adjusted without changing the width-to-height ratio of characters with setCharacterHeight (ch)
  • 8. Text size By scaling the overall dimensions of character Height Width Or scaling the height only Or scaling the width only 8 Height 1 Height 2 Height 3+
  • 9. 9 The width of text can be set with the function setCharacterExpansionFactor (cw) where the character width parameter cw is set to a positive real value that scales the body width of characters. Spacing between characters is controlled separately with setCharacterSpacing (cs) where character spacing parameter cs can be asiigned any real value.
  • 10. Orientation 10 ♦Set according to the direction of a character up vector setCharacterUpVector ( upvect) Parameter upvect is assigned two values that specify the x and y vector components.
  • 11. Marker Attributes 11 A marker symbol is a single character that can be displayed in different colors and in different sizes. We select a particular character to be the marker symbol with setMarkertype (mt) where the marker type parameter mt is set to an integer code. we set the marker size with setMarkerSizeScalefactor (ms) ms is assigned a positive number.
  • 12. 12 Marker color is specified with setPolymarkerColourIndex (mc) A selected color code for parameter mc is stored in the current attribute list and used to display subsequently specified marker primitives.
  • 14. BUNDLED ATTRIBUTES ▪A particular set of attribute values tor a primitive on each output device is then chosen by specifying the appropriate table index. Attributes specified in this manner called bundled attributes 14
  • 15. 15
  • 16. Bundle Attributes ▪ Bundled Line Attributes ▪ Bundled Area-Fi Attributes ▪ Bundled Text Attributes ▪ Bundled Marker Attributes 16
  • 17. 17
  • 18. 18
  • 20. Antialiasing ▪Increase resolution (increase sampling) ▪Supersampling 20
  • 21. Increase resolution (increase sampling) 21 Render the image at a higher resolution and downsample. Really, you are letting your eye do some filtering for you.
  • 22. Supersampling ▪For each pixel, we would like to figure out what “percentage” is covered. 22
  翻译: