KiCad PCB EDA Suite
cairo_gal.cpp File Reference
#include <wx/image.h>
#include <wx/log.h>
#include <gal/cairo/cairo_gal.h>
#include <gal/cairo/cairo_compositor.h>
#include <gal/definitions.h>
#include <geometry/shape_poly_set.h>
#include <math/util.h>
#include <bitmap_base.h>
#include <limits>
#include <pixman.h>

Go to the source code of this file.

Functions

static double roundp (double x)
 

Function Documentation

◆ roundp()

static double roundp ( double  x)
static

Definition at line 177 of file cairo_gal.cpp.

178 {
179  return floor( x + 0.5 ) + 0.5;
180 }