Searched refs:new (Results 1 - 25 of 101) sorted by relevance

12345

/inkscape/src/inkgc/
H A Dgc-managed.h23 /** @brief A base class for objects for whom the normal new and delete
30 void *operator new(std::size_t size,
35 return ::operator new(size, scan, collect);
38 void *operator new[](std::size_t size,
43 return ::operator new[](size, scan, collect);
H A Dgc-core.h19 #include <new>
135 inline void *operator new(std::size_t size,
167 inline void *operator new(std::size_t size,
173 return operator new(size, scan, Inkscape::GC::AUTO, cleanup, data);
176 inline void *operator new[](std::size_t size,
183 return operator new(size, scan, collect, cleanup, data);
186 inline void *operator new[](std::size_t size,
192 return operator new[](size, scan, Inkscape::GC::AUTO, cleanup, data);
/inkscape/
H A Dgenerate_POTFILES.sh14 rm -f po/POTFILES.in.new
38 ) | grep -vx -f po/POTFILES.skip > po/POTFILES.in.new
41 diff -q po/POTFILES.in po/POTFILES.in.new ||:
42 mv po/POTFILES.in.new po/POTFILES.in
/inkscape/cxxtest/sample/
H A DCreatedTest.h18 CreatedTest( unsigned size ) : _buffer( new char[size] ) {}
21 static CreatedTest *createSuite() { return new CreatedTest( 16 ); }
H A DFixtureTest.h20 _buffer = new char[1024];
/inkscape/share/extensions/
H A Dconvert2dashes.py66 new = []
75 new.append([sub[0][:]])
79 length = cspseglength(new[-1][-1], sub[i])
81 new[-1][-1], next, sub[i] = cspbezsplitatlength(new[-1][-1], sub[i], dash/length)
83 new.append([next[:]])
85 new[-1].append(next[:])
90 new.append([sub[i]])
92 new[-1].append(sub[i])
94 node.set('d',cubicsuperpath.formatPath(new))
[all...]
H A Daddnodes.py91 new = []
93 new.append([sub[0][:]])
96 length = cspseglength(new[-1][-1], sub[i])
104 new[-1][-1], next, sub[i] = cspbezsplitatlength(new[-1][-1], sub[i], 1.0/s)
105 new[-1].append(next[:])
106 new[-1].append(sub[i])
109 node.set('d',cubicsuperpath.formatPath(new))
H A Ddots.py114 new = inkex.etree.SubElement(node,inkex.addNS('text','svg'))
117 new.set('style', simplestyle.formatStyle(s))
118 new.set('x', str(x))
119 new.set('y', str(y))
120 new.text = str(text)
/inkscape/src/ui/dialog/
H A Dmemory.h25 static Memory &getInstance() { return *new Memory(); }
H A Dprint-colors-preview-dialog.h29 { return *new PrintColorsPreviewDialog(); }
H A Dobject-attributes.h44 * Returns a new instance of the object attributes dialog.
48 static ObjectAttributes &getInstance() { return *new ObjectAttributes(); }
H A Dfont-substitution.h31 static FontSubstitution &getInstance() { return *new FontSubstitution(); }
/inkscape/src/libcola/
H A Dgradient_projection.h52 vs.push_back(vl=new vpsc::Variable(vs.size(), leftMargin, weight));
53 vs.push_back(vr=new vpsc::Variable(vs.size(), rightMargin, weight));
56 // between our two new dummy vars, depending on the dimension.
58 cs.push_back(new vpsc::Constraint(vl, vs[o->first], o->second));
59 cs.push_back(new vpsc::Constraint(vs[o->first], vr, o->second));
119 left = new vpsc::Variable(vars.size(),place_l,weight);
121 right = new vpsc::Variable(vars.size(),place_r,weight);
126 cs.push_back(new vpsc::Constraint(left,v,(*cit).second));
131 cs.push_back(new vpsc::Constraint(v,right,(*cit).second));
211 g(new doubl
[all...]
/inkscape/src/
H A Dproj_pt.h53 Pt2 *result = new Pt2 (*this);
63 Pt2 *result = new Pt2 (*this);
73 Pt2 *result = new Pt2 (*this);
110 Pt3 *result = new Pt3 (*this);
120 Pt3 *result = new Pt3 (*this);
130 Pt3 *result = new Pt3 (*this);
H A Dsp-style-elem-test.h31 SPStyleElem *style_elem = new SPStyleElem();
39 dst = new SPStyleElemTest();
56 SPStyleElem *style_elem = new SPStyleElem();
82 SPStyleElem *style_elem = new SPStyleElem();
108 SPStyleElem *style_elem = new SPStyleElem();
136 SPStyleElem *style_elem = new SPStyleElem();
H A DMultiPrinter.h41 _dstOne( new FileAdapter( CXXTEST_STD(cout) ) ),
42 _dstXml( new FileAdapter( _xmlFile ) ),
43 _dstPylog( new FileAdapter( _logFile ), _baseName.c_str() )
H A Dcolor-profile-test.h34 Inkscape::ColorProfile *prof = new Inkscape::ColorProfile();
38 dst = new ColorProfileTest();
77 Inkscape::ColorProfile *prof = new Inkscape::ColorProfile();
97 Inkscape::ColorProfile *prof = new Inkscape::ColorProfile();
121 Inkscape::ColorProfile *prof = new Inkscape::ColorProfile();
H A Dgc-finalized.h19 #include <new>
96 // after ours (e.g. via placement new). Don't do that.
/inkscape/src/xml/
H A Dcomment-node.h41 SimpleNode *_duplicate(Document* doc) const { return new CommentNode(*this, doc); }
H A Delement-node.h37 SimpleNode *_duplicate(Document* doc) const { return new ElementNode(*this, doc); }
H A Dpi-node.h38 SimpleNode *_duplicate(Document* doc) const { return new PINode(*this, doc); }
H A Dquote-test.h23 static XmlQuoteTest *createSuite() { return new XmlQuoteTest(); }
/inkscape/cxxtest/cxxtest/
H A DQtGui.h117 _application = new QApplication( argc, argv );
147 _mainWindow = new QWidget();
148 _layout = new QVBoxLayout( _mainWindow );
153 _layout->addWidget( _progressBar = new QProgressBar( _numTotalTests, _mainWindow ) );
161 _layout->addWidget( _statusBar = new QStatusBar( _mainWindow ) );
162 _statusBar->addWidget( _suiteName = new QLabel( _statusBar ), 2 );
163 _statusBar->addWidget( _testName = new QLabel( _statusBar ), 4 );
164 _statusBar->addWidget( _testsDone = new QLabel( _statusBar ), 1 );
/inkscape/cxxtest/sample/mock/
H A DTestDice.h12 TS_ASSERT( stdlib = new MockStdlib );
53 Five *five = new Five;
/inkscape/src/extension/plugins/grid2/
H A Dgrid.h45 extern "C" G_MODULE_EXPORT Inkscape::Extension::Implementation::Implementation* GetImplementation() { return new Inkscape::Extension::Internal::Grid(); }

Completed in 62 milliseconds

12345