KEMBAR78
Curve and text clipping | PPTX
CURVE & TEXT CLIPPING
By:
Arvind Kumar
Assistant Professor
Vidya College of Engineering
CURVE CLIPPING
By: Arvind Kumar
2D
It involve non-linear equations. The algorithm is
based on he following steps:
1. If the boundary rectangle for the curved object is
completely inside the window , then save the object.
Boundary Rectangle
Clip Window
Object
Save Complete
Object
CURVE CLIPPING
By: Arvind Kumar
2D
2. If the boundary rectangle for the curved object is
completely Outside the window , then discard the
object.
Clip Window
Object
Discard
Object
CURVE CLIPPING
By: Arvind Kumar
2D
3. If the curved object is partially inside the window ,
then partially save the object.
Clip Window
Partially inside the window
After Clipping
TEXT CLIPPING
By: Arvind Kumar
2D
Different methods used for Character/ Text
Clipping:
1. All or None String Clipping.
2. All or None Character Clipping.
3. Text Clipping
TEXT CLIPPING
By: Arvind Kumar
2D
1. All or None String Clipping.
If all the string is inside a clip window , the it
will display otherwise discard.
Before Clipping After Clipping
TEXT CLIPPING
By: Arvind Kumar
2D
2. All or None Character Clipping.
In this we discard only that are not completely
inside the window.
Before Clipping
After Clipping
TEXT CLIPPING
By: Arvind Kumar
2D
3. Individual Character Clipping.
If an individual character overlap a clip window
we clip off the parts of the character that are outside
the window.
Before Clipping
After Clipping
Curve and text clipping

Curve and text clipping

  • 1.
    CURVE & TEXTCLIPPING By: Arvind Kumar Assistant Professor Vidya College of Engineering
  • 2.
    CURVE CLIPPING By: ArvindKumar 2D It involve non-linear equations. The algorithm is based on he following steps: 1. If the boundary rectangle for the curved object is completely inside the window , then save the object. Boundary Rectangle Clip Window Object Save Complete Object
  • 3.
    CURVE CLIPPING By: ArvindKumar 2D 2. If the boundary rectangle for the curved object is completely Outside the window , then discard the object. Clip Window Object Discard Object
  • 4.
    CURVE CLIPPING By: ArvindKumar 2D 3. If the curved object is partially inside the window , then partially save the object. Clip Window Partially inside the window After Clipping
  • 5.
    TEXT CLIPPING By: ArvindKumar 2D Different methods used for Character/ Text Clipping: 1. All or None String Clipping. 2. All or None Character Clipping. 3. Text Clipping
  • 6.
    TEXT CLIPPING By: ArvindKumar 2D 1. All or None String Clipping. If all the string is inside a clip window , the it will display otherwise discard. Before Clipping After Clipping
  • 7.
    TEXT CLIPPING By: ArvindKumar 2D 2. All or None Character Clipping. In this we discard only that are not completely inside the window. Before Clipping After Clipping
  • 8.
    TEXT CLIPPING By: ArvindKumar 2D 3. Individual Character Clipping. If an individual character overlap a clip window we clip off the parts of the character that are outside the window. Before Clipping After Clipping