Searched defs:fp (Results 1 - 24 of 24) sorted by relevance

/inkscape/src/libavoid/
H A Dtimer.cpp130 void Timer::PrintAll(FILE *fp) argument
134 Print((TimerIndex) i, fp);
142 void Timer::Print(const TimerIndex t, FILE *fp) argument
149 fprintf(fp, "\t%lld %d %lld %.0f %lld %d %lld %.0f %lld\n",
H A Drouter.cpp1329 FILE *fp = stdout;
1330 fprintf(fp, "\nVisibility Graph info:\n");
1331 fprintf(fp, "----------------------\n");
1385 fprintf(fp, "Number of shapes: %d\n", st_shapes);
1386 fprintf(fp, "Number of vertices: %d (%d real, %d endpoints)\n",
1388 fprintf(fp, "Number of orhtog_vis_edges: %d\n", st_orthogonal_visedges);
1389 fprintf(fp, "Number of vis_edges: %d (%d valid [%d normal, %d endpt], "
1394 fprintf(fp, "----------------------\n");
1395 fprintf(fp, "checkVisEdge tally: %d\n", st_checked_edges);
1396 fprintf(fp, "
1499 FILE *fp = fopen(filename.c_str(), "w"); local
[all...]
/inkscape/src/display/
H A Dnr-filter-flood.cpp75 Geom::Rect fp = filter_primitive_area( slot.get_units() ); local
78 Geom::Rect fp_cairo = fp * slot.get_units().get_matrix_user2pb();
/inkscape/src/io/
H A Duristream.cpp42 FILE *fp = NULL; local
56 fp = std::fopen(filename, "rb");
58 fp = std::fopen(filename, "wb");
66 fp = _wfopen( (wchar_t*)wideName, L"rb" );
68 fp = _wfopen( (wchar_t*)wideName, L"wb" );
78 return fp;
285 UriOutputStream::UriOutputStream(FILE* fp, Inkscape::URI &destination) argument
288 outf(fp),
H A Dsys.cpp101 FILE* fp = NULL; local
111 fp = std::fopen(filename, mode);
122 fp = g_fopen(utf8name, how.c_str());
127 return fp;
/inkscape/src/libuemf/
H A Dsymbol_convert.c858 FILE *fp; local
859 fp=fopen("c:/temp/debug.txt","a");
860 fprintf(fp,"%s",text);
861 fclose(fp);
H A Duemf.c1165 FILE *fp; local
1178 fp=emf_fopen(name,U_WRITE);
1179 if(!fp){
1184 etl->fp = fp;
1206 if(!et->fp)return(1); // This could happen if something stomps on memory, otherwise should be caught in emf_start
1221 if(1 != fwrite(et->buf,et->used,1,et->fp))return(2);
1222 (void) fclose(et->fp);
1223 et->fp=NULL;
1255 FILE *fp local
1284 FILE *fp; local
[all...]
H A Duwmf.c1484 FILE *fp; local
1497 fp=wmf_fopen(name,U_WRITE);
1498 if(!fp){
1503 wtl->fp = fp;
1548 if(!wt->fp)return(1); // This could happen if something stomps on memory, otherwise should be caught in wmf_start
1572 if(1 != fwrite(wt->buf,wt->used,1,wt->fp))return(2);
1573 (void) fclose(wt->fp);
1574 wt->fp=NULL;
1590 FILE *fp; local
[all...]
H A Duwmf.h2046 FILE *fp; //!< Open file member in struct:__anon398
H A Duemf.h3296 FILE *fp; //!< Open file member in struct:__anon223
/inkscape/src/2geom/
H A Dconic_section_clipper_impl.h137 std::list<Point>::iterator fp) const;
140 std::list<Point>::iterator fp,
145 std::list<Point>::iterator fp,
261 std::list<Point>::iterator fp) const
263 Point new_point = find_inner_point (*sp, *fp);
264 std::list<Point>::iterator ip = points.insert (fp, new_point);
266 // << *fp << "]" << std::endl;
283 std::list<Point>::iterator fp,
292 std::list<Point>::iterator ip = split (points, sp, fp);
295 rsplit (points, ip, fp,
281 rsplit(std::list<Point> & points, std::list<Point>::iterator sp, std::list<Point>::iterator fp, size_t k) const argument
310 rsplit(std::list<Point> & points, std::list<Point>::iterator sp, std::list<Point>::iterator fp, double length) const argument
[all...]
H A Dbezier-curve.cpp287 Point fp = pointAt(to); local
288 Point v = fp - ip;
320 Point ip = inner.at0(), fp = inner.at1(); local
321 if (p[Y] == std::max(ip[Y], fp[Y])) return 0;
323 Point v = fp - ip;
327 Coord xcross = lerp(t, ip[X], fp[X]);
H A Dconic_section_clipper_impl.cpp493 std::list<Point>::iterator sp, ip, fp; local
519 fp = ip; ++fp;
521 rsplit (points, ip, fp, size_t(1u));
525 fp = sp; ++fp;
526 while (fp != points.end())
528 rsplit (points, sp, fp, 100.0);
529 sp = fp;
530 ++fp;
[all...]
H A Delliptical-arc.h69 * @param fp Final point of the arc */
72 Point const &fp
75 , _final_point(fp)
86 Point const &fp
89 , _final_point(fp)
143 Point const &fp
147 _final_point = fp;
158 Point const &fp
162 _final_point = fp;
174 * @param fp Ne
175 setEndpoints(Point const &ip, Point const &fp) argument
[all...]
H A Dtoposweep.h66 Point fp, tp; member in struct:Geom::Section
68 Section(CurveIx cix, double fd, double td, Point fdp, Point tdp) : curve(cix), f(fd), t(td), fp(fdp), tp(tdp) { }
70 fp = curve.get(ps).pointAt(f), tp = curve.get(ps).pointAt(t);
71 if (Point::LexLessRt(d)(tp, fp)) {
72 //swap from and to, since tp is left or above fp
75 swap(fp, tp);
78 Rect bbox() const { return Rect(fp, tp); }
170 return Point::LexLessRt(dim)(a.fp, b.fp);
196 //bool rev = are_near(areas[i][0]->fp, area
[all...]
H A Dellipse.cpp217 Ellipse::arc(Point const &ip, Point const &inner, Point const &fp) argument
234 Point fv = fp - _center;
264 // cross(_center - ip, fp - _center) < 0 xor large_arc flag
274 large_arc_flag, sweep_flag, fp);
H A Delliptical-arc.cpp855 Point ip = _initial_point, fp = _final_point; local
858 swap(ip, fp);
869 Interval ival(ymin[Y], fp[Y]);
875 Interval ival(ip[Y], fp[Y]);
901 Interval ival(ip[Y], fp[Y]);
907 Interval ival(fp[Y], ymax[Y]);
/inkscape/src/extension/internal/
H A Dimage-resolution.cpp87 static bool haspngheader(FILE *fp) { argument
89 if ( fread(header, 1, 8, fp) != 8 ) {
93 fseek(fp, 0, SEEK_SET);
104 FILE *fp = fopen(fn, "rb"); local
105 if (!fp)
108 if (!haspngheader(fp)) {
109 fclose(fp);
125 fclose(fp);
129 png_init_io(png_ptr, fp);
157 fclose(fp);
[all...]
H A Dtext_reassemble.c2687 void flush_as_svg(TR_INFO *tri, FILE *fp){ argument
2688 fwrite(tri->out,tri->outused,1,fp);
2691 FILE *close_as_svg(TR_INFO *tri, FILE *fp){ argument
2694 flush_as_svg(tri,fp);
2695 fclose(fp);
/inkscape/share/extensions/
H A Dvoronoi.py776 fp = sys.stdin variable
778 fp = open(args[0],'r') variable
779 for line in fp:
784 if len(args) > 0: fp.close()
/inkscape/src/helper/
H A Dpng-write.cpp135 FILE *fp; local
144 fp = Inkscape::IO::fopen_utf8name(filename, "wb");
145 if(fp == NULL) return false;
156 fclose(fp);
163 fclose(fp);
173 fclose(fp);
179 png_init_io(png_ptr, fp);
302 fclose(fp);
/inkscape/src/xml/
H A Drepr-io.cpp82 fp(NULL),
118 FILE* fp; member in class:XmlSource
135 fp = Inkscape::IO::fopen_utf8name(filename, "r");
136 if ( fp ) {
140 size_t some = fread( firstFew, 1, 4, fp );
141 if ( fp ) {
145 fclose(fp);
146 fp = 0;
147 fp = Inkscape::IO::fopen_utf8name(filename, "r");
148 instr = new Inkscape::IO::UriInputStream(fp, dumm
683 sp_repr_save_stream(Document *doc, FILE *fp, gchar const *default_ns, bool compress, gchar const *const old_href_abs_base, gchar const *const new_href_abs_base) argument
[all...]
/inkscape/src/livarot/
H A DPathCutting.cpp1071 int fp = i - 1; local
1072 while ( fp >= 0 && (descr_cmd[fp]->getType()) != descr_moveto ) {
1073 fp--;
1076 if ( fp >= 0 ) {
1077 PathDescrMoveTo *oData = dynamic_cast<PathDescrMoveTo *>(descr_cmd[fp]);
/inkscape/src/extension/internal/pdfinput/
H A Dsvg-builder.cpp1516 FILE *fp = NULL; local
1524 fp = fopen(file_name, "wb");
1525 if ( fp == NULL ) {
1530 png_init_io(png_ptr, fp);
1645 fclose(fp);
1683 fclose(fp);

Completed in 865 milliseconds