Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 908 Bytes

rasterizer_ellipse.md

File metadata and controls

25 lines (15 loc) · 908 Bytes

Ellipse rasterizeration

Ellipse rasterization capabilities in GIL are demonstrated by the program rasterizer_ellipse, compiled from the sources example/rasterizer_ellipse.cpp.

Synopsis

rasterizer_ellipse

The program doesn't take any argument on the command line.

rasterizer_ellipse produces three images in the current directory:

  • rasterized_ellipse_gray.jpg, in the JPEG format, which is a greyscale image of an ellipse
  • rasterized_ellipse_rgb.jpg, in the JPEG format, which is an RGB image of an ellipse
  • rasterized_ellipse_rgb_out_of_bound.jpg, in the JPEG format, which is an RGB image of an ellipse bigger than the containinig view.

Specific requirements

Build requirements

  • A C++ compiler compliant with C++14 or above
  • The JPEG library installed and configured.

Execution requirements

rasterizer_ellipse doesn't have any specific execution requirements.