All mock tests are FREE till 31 December — register to save your progress

Consider the following statements with respect to approaches to fill areas on raster systems : P: To determine the overlap intervals for scan lines that cross the area. Q: To start from a given interior position and paint outward from this point until we encounter the specified boundary conditions. Select the correct answer from the options given below :

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: C. Both P and Q

Explanation

Scan-line filling finds the overlap intervals along each scan line (P); boundary/flood fill starts at an interior point and paints outward (Q). Both are raster area-filling approaches.

More Programming Languages and Computer Graphics questions