Line_width.c 144 B

12345678
  1. #include <math.h>
  2. #include "pngdriver.h"
  3. void PNG_Line_width(double width)
  4. {
  5. png.linewidth = (width < 0 ? 0 : (int) floor(width + 0.5));
  6. }