Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
canvas-item-grid.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  Inkscape
 Helper class to stream background task notifications as a series of messages.
 

Enumerations

enum  Dim3 { X , Y , Z }
 

Functions

static int calculate_scaling_factor (double length, int major)
 
static double Inkscape::signed_distance (Geom::Point const &point, Geom::Line const &line)
 
static std::vector< Geom::PointInkscape::intersect_line_rectangle (Geom::Line const &line, Geom::Rect const &rect)
 
static void Inkscape::drawline (Inkscape::CanvasItemBuffer &buf, int x0, int y0, int x1, int y1, uint32_t rgba)
 
static void Inkscape::vline (Inkscape::CanvasItemBuffer &buf, int x, int ys, int ye, uint32_t rgba)
 

Enumeration Type Documentation

◆ Dim3

enum Dim3
Enumerator

Definition at line 21 of file canvas-item-grid.cpp.

Function Documentation

◆ calculate_scaling_factor()

static int calculate_scaling_factor ( double  length,
int  major 
)
static