The pixel masks for implementing line-type options are also used in the following algorithm to generate dashed and dotted patterns.
(a) Raster line algorithm
(b) Raster scan algorithm
(c) Raster curve algorithm
(d) Random curve algorithm
I have been asked this question during a job interview.
My question is from Curve Attributes topic in division Graphics Primitives of Computer Graphics