The document discusses curve and text clipping techniques. It describes three methods for curve clipping: fully in, fully out, and partially in the clip window. It also outlines three approaches to text clipping: all-or-nothing string clipping, all-or-nothing character clipping, and individual character clipping where parts of characters outside the window are clipped off. The document was written by Arvind Kumar on curve and text clipping algorithms.
Presenter Arvind Kumar introduces Curve Clipping in 2D, discussing algorithms for saving, discarding, or partially saving curved objects based on their position relative to a clip window.
Arvind Kumar discusses the methods of Text Clipping in 2D, including All or None String Clipping, All or None Character Clipping, and Individual Character Clipping, detailing conditions for each method.
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