/inkscape/src/libcroco/ |
H A D | cr-parsing-location.h | 34 *object. This object keeps track of line/column/byte offset/ 40 guint line ; member in struct:_CRParsingLocation
|
H A D | cr-input.h | 56 glong line ; member in struct:_CRInputPos
|
H A D | cr-input.c | 59 *The current line number 61 gulong line; member in struct:_CRInputPriv 169 PRIVATE (result)->line = 1; 468 /*update line and column number */ 471 PRIVATE (a_this)->line++; 489 *@a_line_num: the new line number. 491 *Setter of the current line number. 500 PRIVATE (a_this)->line = a_line_num; 508 *@a_line_num: the returned line number. 510 *Getter of the current line numbe [all...] |
/inkscape/src/ui/dialog/ |
H A D | extensions.cpp | 86 gchar* line = g_strdup_printf( "%s %s\n \"%s\"", stateStr, in_plug->get_name(), in_plug->get_id() ); local 88 self->_view.get_buffer()->insert( self->_view.get_buffer()->end(), line ); 90 g_free(line);
|
H A D | symbols.cpp | 559 std::string line; local 560 while( std::getline( iss, line ) ) { 561 // std::cout << line << std::endl; 562 if( line.find( "svg:svg" ) == std::string::npos ) { 563 tmpSVGOutput += line;
|
/inkscape/share/palettes/ |
H A D | PaletteGen.py | 23 line = "%3s %3s %3s Black" % (rval, gval, bval) variable 25 line = "%3s %3s %3s White" % (rval, gval, bval) variable 27 line = "%3s %3s %3s %s%% Gray" % (rval, gval, bval, 100 - int(level * 100)) variable 28 print line 90 line = "%3s %3s %3s #%02X%02X%02X" % (rval, gval, bval, rval, gval, bval) variable 91 print line
|
/inkscape/cxxtest/cxxtest/ |
H A D | DummyDescriptions.cpp | 8 unsigned DummyTestDescription::line() const { return 0; } function in class:CxxTest::DummyTestDescription 21 unsigned DummySuiteDescription::line() const { return 0; } function in class:CxxTest::DummySuiteDescription
|
H A D | RealDescriptions.cpp | 47 doFailTest( file(), line(), "Error in GlobalFixture::setUp()" ); 53 _TSM_ASSERT_THROWS_NOTHING( file(), line(), "Exception thrown from setUp()", suite()->setUp() ); 66 _TSM_ASSERT_THROWS_NOTHING( file(), line(), "Exception thrown from tearDown()", suite()->tearDown() ); 76 doFailTest( file(), line(), "Error in GlobalFixture::tearDown()" ); 85 unsigned RealTestDescription::line() const { return _line; } function in class:CxxTest::RealTestDescription 98 ___TSM_CATCH( file(), line(), "Exception thrown from test" ); 124 unsigned RealSuiteDescription::line() const { return _line; } function in class:CxxTest::RealSuiteDescription
|
H A D | TestSuite.cpp | 56 void doTrace( const char *file, unsigned line, const char *message ) argument 58 tracker().trace( file, line, message ); 61 void doWarn( const char *file, unsigned line, const char *message ) argument 63 tracker().warning( file, line, message ); 66 void doFailTest( const char *file, unsigned line, const char *message ) argument 68 tracker().failedTest( file, line, message ); 72 void doFailAssert( const char *file, unsigned line, argument 76 tracker().failedTest( file, line, message ); 77 tracker().failedAssert( file, line, expression ); 101 void doAssertSameData( const char *file, unsigned line, argument 115 doFailAssertThrows( const char *file, unsigned line, const char *expr, const char *type, bool otherThrown, const char *message ) argument 127 doFailAssertThrowsNot( const char *file, unsigned line, const char *expression, const char *message ) argument [all...] |
H A D | ErrorFormatter.h | 96 void trace( const char *file, unsigned line, const char *expression ) argument 98 stop( file, line ) << "Trace: " << 102 void warning( const char *file, unsigned line, const char *expression ) argument 104 stop( file, line ) << "Warning: " << 108 void failedTest( const char *file, unsigned line, const char *expression ) argument 110 stop( file, line ) << "Error: Test failed: " << 114 void failedAssert( const char *file, unsigned line, const char *expression ) argument 116 stop( file, line ) << "Error: Assertion failed: " << 120 void failedAssertEquals( const char *file, unsigned line, argument 124 stop( file, line ) << "Erro 129 failedAssertSameData( const char *file, unsigned line, const char *xStr, const char *yStr, const char *sizeStr, const void *x, const void *y, unsigned size ) argument 141 failedAssertDelta( const char *file, unsigned line, const char *xStr, const char *yStr, const char *dStr, const char *x, const char *y, const char *d ) argument 150 failedAssertDiffers( const char *file, unsigned line, const char *xStr, const char *yStr, const char *value ) argument 159 failedAssertLessThan( const char *file, unsigned line, const char *xStr, const char *yStr, const char *x, const char *y ) argument 168 failedAssertLessThanEquals( const char *file, unsigned line, const char *xStr, const char *yStr, const char *x, const char *y ) argument 177 failedAssertRelation( const char *file, unsigned line, const char *relation, const char *xStr, const char *yStr, const char *x, const char *y ) argument 185 failedAssertPredicate( const char *file, unsigned line, const char *predicate, const char *xStr, const char *x ) argument 192 failedAssertThrows( const char *file, unsigned line, const char *expression, const char *type, bool otherThrown ) argument 201 failedAssertThrowsNot( const char *file, unsigned line, const char *expression ) argument [all...] |
H A D | TeeListener.h | 54 void trace( const char *file, unsigned line, const char *expression ) argument 56 _first->trace( file, line, expression ); 57 _second->trace( file, line, expression ); 60 void warning( const char *file, unsigned line, const char *expression ) argument 62 _first->warning( file, line, expression ); 63 _second->warning( file, line, expression ); 66 void failedTest( const char *file, unsigned line, const char *expression ) argument 68 _first->failedTest( file, line, expression ); 69 _second->failedTest( file, line, expression ); 72 void failedAssert( const char *file, unsigned line, cons argument 78 failedAssertEquals( const char *file, unsigned line, const char *xStr, const char *yStr, const char *x, const char *y ) argument 86 failedAssertSameData( const char *file, unsigned line, const char *xStr, const char *yStr, const char *sizeStr, const void *x, const void *y, unsigned size ) argument 95 failedAssertDelta( const char *file, unsigned line, const char *xStr, const char *yStr, const char *dStr, const char *x, const char *y, const char *d ) argument 103 failedAssertDiffers( const char *file, unsigned line, const char *xStr, const char *yStr, const char *value ) argument 111 failedAssertLessThan( const char *file, unsigned line, const char *xStr, const char *yStr, const char *x, const char *y ) argument 119 failedAssertLessThanEquals( const char *file, unsigned line, const char *xStr, const char *yStr, const char *x, const char *y ) argument 127 failedAssertPredicate( const char *file, unsigned line, const char *predicate, const char *xStr, const char *x ) argument 134 failedAssertRelation( const char *file, unsigned line, const char *relation, const char *xStr, const char *yStr, const char *x, const char *y ) argument 142 failedAssertThrows( const char *file, unsigned line, const char *expression, const char *type, bool otherThrown ) argument 150 failedAssertThrowsNot( const char *file, unsigned line, const char *expression ) argument [all...] |
H A D | TestTracker.cpp | 115 void TestTracker::trace( const char *file, unsigned line, const char *expression ) argument 117 _l->trace( file, line, expression ); 120 void TestTracker::warning( const char *file, unsigned line, const char *expression ) argument 123 _l->warning( file, line, expression ); 126 void TestTracker::failedTest( const char *file, unsigned line, const char *expression ) argument 129 _l->failedTest( file, line, expression ); 132 void TestTracker::failedAssert( const char *file, unsigned line, const char *expression ) argument 135 _l->failedAssert( file, line, expression ); 138 void TestTracker::failedAssertEquals( const char *file, unsigned line, argument 143 _l->failedAssertEquals( file, line, xSt 146 failedAssertSameData( const char *file, unsigned line, const char *xStr, const char *yStr, const char *sizeStr, const void *x, const void *y, unsigned size ) argument 155 failedAssertDelta( const char *file, unsigned line, const char *xStr, const char *yStr, const char *dStr, const char *x, const char *y, const char *d ) argument 163 failedAssertDiffers( const char *file, unsigned line, const char *xStr, const char *yStr, const char *value ) argument 171 failedAssertLessThan( const char *file, unsigned line, const char *xStr, const char *yStr, const char *x, const char *y ) argument 179 failedAssertLessThanEquals( const char *file, unsigned line, const char *xStr, const char *yStr, const char *x, const char *y ) argument 187 failedAssertPredicate( const char *file, unsigned line, const char *predicate, const char *xStr, const char *x ) argument 194 failedAssertRelation( const char *file, unsigned line, const char *relation, const char *xStr, const char *yStr, const char *x, const char *y ) argument 202 failedAssertThrows( const char *file, unsigned line, const char *expression, const char *type, bool otherThrown ) argument 210 failedAssertThrowsNot( const char *file, unsigned line, const char *expression ) argument [all...] |
/inkscape/src/2geom/ |
H A D | exception.h | 55 Exception(const char * message, const char *file, const int line) { argument 57 os << "lib2geom exception: " << message << " (" << file << ":" << line << ")"; local 75 LogicalError(const char * message, const char *file, const int line) argument 76 : Exception(message, file, line) {} 82 RangeError(const char * message, const char *file, const int line) argument 83 : Exception(message, file, line) {} 92 NotImplemented(const char *file, const int line) argument 93 : LogicalError("Method not implemented", file, line) {} 99 InvariantsViolation(const char *file, const int line) argument 100 : LogicalError("Invariants violation", file, line) {} 107 NotInvertible(const char *file, const int line) argument 114 InfiniteSolutions(const char *file, const int line) argument 121 ContinuityError(const char *file, const int line) argument [all...] |
H A D | conicsec.h | 42 #include <2geom/line.h> 386 * Compute the tangent line of the conic section at the provided point 388 * _point: the conic section point the tangent line pass through 395 NL::Vector line = C * pp; local 396 return Line(line[0], line[1], line[2]);
|
H A D | line.h | 3 * \brief Infinite straight line 60 /** @brief Create a default horizontal line. 61 * Creates a line with unit speed going in +X direction. */ 65 /** @brief Create a line with the specified inclination. 66 * @param origin One of the points on the line 67 * @param angle Angle of the line in mathematical convention */ 76 /** @brief Create a line going through two points. 86 /** @brief Create a line based on the coefficients of its equation. 92 /// Create a line by extending a line segmen 408 distance(Point const &p, Line const &line) argument 419 are_near(Point const &p, Line const &line, double eps = EPSILON) argument 478 make_orthogonal_line(Point const &p, Line const &line) argument 487 make_parallel_line(Point const &p, Line const &line) argument 512 projection(Point const &p, Line const &line) argument 518 projection(LineSegment const &seg, Line const &line) argument [all...] |
/inkscape/src/ |
H A D | snapped-curve.cpp | 114 Inkscape::SnappedPoint Inkscape::SnappedCurve::intersect(SnappedLine const &line, Geom::Point const &p, Geom::Affine dt2doc) const argument 116 // Calculate the intersections of a curve with a line, which are both within snapping range, and 120 // closest, as there might be multiple intersections of a single curve with a line 123 // 2) convert to document coordinates (line and p are in desktop coordinates, but the curves are in document coordinate) 127 Geom::LineSegment line_segm = line.getLine().transformed(dt2doc).segment(-1e6, 1e6); // 149 if (_distance < line.getSnapDistance()) { 153 Geom::L2(best_p - line.getPoint()), line.getTolerance(), line.getAlwaysSnap()); 155 return SnappedPoint(best_p, Inkscape::SNAPSOURCE_UNDEFINED, line [all...] |
H A D | PylogFormatter.h | 98 (*_o) << "Command line asked for " << desc.numTotalTests() << " of " << desc.numTotalTests() << " tests" << endl; 145 virtual void trace( const char * file, unsigned line, argument 149 _traceCurrent( file, line, tmp ); 152 virtual void warning( const char * file, unsigned line, argument 156 _warnCurrent( file, line, tmp ); 159 virtual void failedTest( const char * file, unsigned line, argument 163 _failCurrent( file, line, tmp ); 166 virtual void failedAssert( const char * file, unsigned line, argument 170 _failCurrent( file, line, tmp ); 173 virtual void failedAssertEquals( const char * file, unsigned line, argument 190 failedAssertSameData( const char * file, unsigned line, const char * , const char * , const char * , const void * , const void * , unsigned ) argument 199 failedAssertDelta( const char * file, unsigned line, const char * , const char * , const char * , const char * , const char * , const char * ) argument 208 failedAssertDiffers( const char * file, unsigned line, const char * xStr, const char * yStr, const char * value ) argument 223 failedAssertLessThan( const char * file, unsigned line, const char * xStr, const char * yStr, const char * x, const char * y ) argument 240 failedAssertLessThanEquals( const char * file, unsigned line, const char * xStr, const char * yStr, const char * x, const char * y ) argument 257 failedAssertPredicate( const char * file, unsigned line, const char * , const char * , const char * ) argument 264 failedAssertRelation( const char * file, unsigned line, const char * , const char * , const char * , const char * , const char * ) argument 272 failedAssertThrows( const char * file, unsigned line, const char * , const char * , bool ) argument 280 failedAssertThrowsNot( const char * file, unsigned line, const char * expression ) argument [all...] |
H A D | line-geometry.cpp | 12 #include "line-geometry.h" 27 * Draw a line beginning at 'start'. If is_endpoint is true, use 'vec' as the endpoint 28 * of the segment. Otherwise interpret it as the direction of the line. 42 Line::Line(Line const &line): argument 43 pt(line.pt), 44 v_dir(line.v_dir), 45 normal(line.normal), 46 d0(line.d0) 50 Line &Line::operator=(Line const &line) { argument 51 pt = line 59 intersect(Line const &line) argument 218 SPCtrlLine *line = ControlManager::getManager().createControlLine(desktop->getControls(), p1, p2); local [all...] |
H A D | prefix.cpp | 95 char line[5000]; local 109 if (!fgets (line, sizeof (line), f)) 111 if (!strstr (line, " r-xp ") || !strchr (line, '/')) 114 sscanf (line, "%lx-%lx ", &start, &end); 121 path = strchr (line, '/');
|
/inkscape/share/extensions/ |
H A D | dxf_input.py | 58 found = text.find('\P') # new line 60 tspan = inkex.etree.SubElement(node , 'tspan', {inkex.addNS('role','sodipodi'): 'line'}) 64 tspan = inkex.etree.SubElement(node , 'tspan', {inkex.addNS('role','sodipodi'): 'line'}) 197 i11 = 0 # count line end points 232 elif vals[groups['72']][i72] == 1: # line 274 tspan = inkex.etree.SubElement(node , 'tspan', {inkex.addNS('role','sodipodi'): 'line'}) 336 line = get_line() 337 if line[0] == group: 338 return float(line[1]) 374 line variable 383 line = get_line() variable 453 line = get_line() variable [all...] |
H A D | voronoi.py | 40 triangulation to the standard output. Each input line should consist of two 44 Each output line is a triple i j k, which are the indices of the three points 51 l a b c indicates a line with equation ax + by = c. 53 e l v1 v2 indicates a Voronoi segment which is a subsegment of line number l 54 with endpoints numbered v1 and v2. If v1 or v2 is -1, the line 86 # Voronoi diagram. l is the index of the line, v1 and v2 are 88 # v1 or v2 is -1, the line extends to infinity. 111 self.lines = [] # equation of line 3-tuple (a b c), for the equation of the line a*x+b*y = c 112 self.edges = [] # edge 3-tuple: (line inde 121 def line(self,x0,y0,x1,y1): member in class:Context [all...] |
/inkscape/src/libdepixelize/priv/ |
H A D | pixelgraph.h | 91 Node &operator[](int line); 108 * Where x is the column and y is the line. 390 // Go to the second node in the line (increment 'it' by 1) 537 inline PixelGraph::Node &PixelGraph::ColumnView::operator[](int line) argument 539 return _nodes[line * _width + _column];
|
/inkscape/src/livarot/ |
H A D | ShapeRaster.cpp | 11 #include "livarot/float-line.h" 795 // scan and compute coverage, FloatLigne version coverage of the line is bult in 2 parts: first a 796 // set of rectangles of height the height of the line (here: "step") one rectangle for each portion 799 // the entire line. think of it as a refinement of the coverage by rectangles 801 void Shape::Scan(float &pos, int &curP, float to, FloatLigne *line, bool exact, float step) argument 826 lastGuess = line->AppendBord(swrData[lb].curX, 876 // create trapezoid for the chunk of edge intersecting with the line 877 DestroyEdge(cb, to, line); 893 DestroyEdge(upNo, to, line); 934 // update intersections with the sweepline, and add trapezoids for edges crossing the line 949 Scan(float &pos, int &curP, float to, FillRule directed, BitLigne *line, bool exact, float step) argument 1122 Scan(float &pos, int &curP, float to, AlphaLigne *line, bool exact, float step) argument 1232 QuickScan(float &pos, int &curP, float to, FloatLigne* line, float step) argument 1371 QuickScan(float &pos, int &curP, float to, FillRule directed, BitLigne* line, float step) argument 1521 QuickScan(float &pos, int &curP, float to, AlphaLigne* line, float step) argument 1685 DestroyEdge(int no, float to, FloatLigne* line) argument 1733 AvanceEdge(int no, float to, FloatLigne *line, bool exact, float step) argument 1782 DestroyEdge(int no, BitLigne *line) argument 1810 AvanceEdge(int no, float to, BitLigne *line, bool exact, float step) argument 1839 DestroyEdge(int no, AlphaLigne* line) argument 1882 AvanceEdge(int no, float to, AlphaLigne *line, bool exact, float step) argument [all...] |
/inkscape/src/ui/ |
H A D | control-manager.cpp | 57 // Default color for line: 389 SPCtrlLine *line = SP_CTRLLINE(sp_canvas_item_new(parent, SP_TYPE_CTRLLINE, NULL)); local 390 if (line) { 391 line->ctrlType = CTRL_TYPE_LINE; 393 line->setRgba32((type == CTLINE_PRIMARY) ? LINE_COLOR_PRIMARY : 396 return line; 401 SPCtrlLine *line = createControlLine(parent, type); local 402 if (line) { 403 line->setCoords(p1, p2); 405 return line; 410 SPCtrlCurve *line = SP_CTRLCURVE(sp_canvas_item_new(parent, SP_TYPE_CTRLCURVE, NULL)); local [all...] |
/inkscape/src/ui/tools/ |
H A D | mesh-tool.cpp | 452 // If over a mesh line, divide mesh row/column 453 // If not over a line, create new gradients for selected objects. 456 // Are we over a mesh line? 458 SPCtrlCurve *line = NULL; local 462 line = (SPCtrlCurve*) (*l); 463 over_line |= sp_mesh_context_is_over_line (this, (SPItem*) line, Geom::Point(event->motion.x, event->motion.y)); 593 // Change cursor shape if over line 623 // Check if over line 625 SPCtrlLine *line = NULL; local 629 line [all...] |