Go to the documentation of this file.
27 void setClip(cairo_t* cr,
double x,
double y,
double width,
double height);
35 const Color& background,
void traceRectangleContour(cairo_t *cr, Scroom::Utils::Rectangle< double > const &viewArea)
Definition: cairo-helpers.cc:22
const Color OUT_OF_BOUNDS
void drawOutOfBoundsWithBackgroundColor(cairo_t *cr, const Color &background, Scroom::Utils::Rectangle< double > const &requestedPresentationArea, Scroom::Utils::Rectangle< double > const &actualPresentationArea, double pixelSize)
Definition: cairo-helpers.cc:83
void drawOutOfBoundsWithBackground(cairo_t *cr, Scroom::Utils::Rectangle< double > const &requestedPresentationArea, Scroom::Utils::Rectangle< double > const &actualPresentationArea, double pixelSize)
Definition: cairo-helpers.cc:74
void drawRectangle(cairo_t *cr, Color const &c, Scroom::Utils::Rectangle< double > const &viewArea)
Definition: cairo-helpers.cc:62
Definition: cairo-helpers.hh:19
void drawOutOfBoundsWithoutBackground(cairo_t *cr, Scroom::Utils::Rectangle< double > const &requestedPresentationArea, Scroom::Utils::Rectangle< double > const &actualPresentationArea, double pixelSize)
Definition: cairo-helpers.cc:93
double pixelSizeFromZoom(int zoom)
Definition: cairo-helpers.cc:112
void drawRectangleContour(cairo_t *cr, Scroom::Utils::Rectangle< double > const &viewArea)
Definition: cairo-helpers.cc:31
void setClip(cairo_t *cr, double x, double y, double width, double height)
Definition: cairo-helpers.cc:47