The paper proposes additional evaluation functions to mark the segment area that cuts straight line to determine the intensity of the color pixel. For anti-aliasing purposes a twelve-angle pixel model is suggested. Additional evaluation functions are used to identify the pixel color intensity. These functions can be calculated independently. A structure of a device is proposed for hardware implementation of anti-aliasing.