Searched defs:py (Results 1 - 7 of 7) sorted by relevance
/inkscape/src/libcola/ |
H A D | straightener.cpp | 36 static bool pointOnLine(double px,double py, double ax, double ay, double bx, double by, double& tx) { argument 43 ty=py-ay; 48 tx=(py-ay)/dy; 55 if(fabs(py-ay)<0.01) { 59 ty=(py-ay)/dy; 79 double py=nodes[*j]->y; local 86 //printf(" px=%f, py=%f, ax=%f, ay=%f, bx=%f, by=%f\n",px,py,ax,ay,bx,by); 87 if(pointOnLine(px,py,ax,ay,bx,by,t)) {
|
/inkscape/src/display/ |
H A D | guideline.cpp | 97 int py = round(point_on_line_dt[Geom::Y]); local 99 cairo_translate(buf->ct, px, py);
|
/inkscape/src/widgets/ |
H A D | ruler.cpp | 875 gdouble px, py; local 877 gdk_window_coords_to_parent (w, *x, *y, &px, &py);
|
/inkscape/src/ |
H A D | desktop.cpp | 960 SPDesktop::zoom_absolute_keep_point (double cx, double cy, double px, double py, double zoom) argument 976 cy - py * height2, 978 cy + (1 - py) * height2, 1034 double const py = (cy - area.min()[Geom::Y]) / area.dimensions()[Geom::Y]; local 1036 zoom_absolute_keep_point(cx, cy, px, py, scale);
|
/inkscape/src/extension/internal/ |
H A D | wmf-inout.cpp | 915 Wmf::_pix_y_to_point(PWMF_CALLBACK_DATA d, double py) argument 919 tmp = ((((double) (py - d->dc[d->level].winorg.y))*scale) * d->E2IdirY + d->dc[d->level].vieworg.y) * d->D2PscaleY; 926 Wmf::pix_to_x_point(PWMF_CALLBACK_DATA d, double px, double /*py*/) 933 Wmf::pix_to_y_point(PWMF_CALLBACK_DATA d, double /*px*/, double py) argument 935 double y = _pix_y_to_point(d, py);
|
H A D | emf-inout.cpp | 1007 Emf::_pix_y_to_point(PEMF_CALLBACK_DATA d, double py) argument 1011 tmp = ((((double) (py - d->dc[d->level].winorg.y))*scale) * d->E2IdirY + d->dc[d->level].vieworg.y) * d->D2PscaleY; 1018 Emf::pix_to_x_point(PEMF_CALLBACK_DATA d, double px, double py) argument 1020 double wpx = px * d->dc[d->level].worldTransform.eM11 + py * d->dc[d->level].worldTransform.eM21 + d->dc[d->level].worldTransform.eDx; 1027 Emf::pix_to_y_point(PEMF_CALLBACK_DATA d, double px, double py) argument 1030 double wpy = px * d->dc[d->level].worldTransform.eM12 + py * d->dc[d->level].worldTransform.eM22 + d->dc[d->level].worldTransform.eDy;
|
/inkscape/src/ui/ |
H A D | interface.cpp | 188 gint py = prefs->getInt("/desktop/geometry/y", -1); local 195 gint y = MIN(gdk_screen_height() - MIN_ONSCREEN_DISTANCE, py);
|
Completed in 503 milliseconds