Searched defs:sh (Results 1 - 11 of 11) sorted by relevance

/inkscape/src/livarot/
H A DShapeDraw.cpp74 double sh=(getPoint(stP).x[0]-ix)*ir+mx; local
79 double endh=(9*eh+1*sh)/10;
81 fprintf(outFile," <svg:line x1=\"%f\" y1=\"%f\" x2=\"%f\" y2=\"%f\" stroke=\"black\" stroke-width=\"0.5\" />\n",sh,sv,endh,endv); // localizing ok
83 fprintf(outFile," <svg:line x1=\"%f\" y1=\"%f\" x2=\"%f\" y2=\"%f\" stroke=\"black\" stroke-width=\"0.5\" />\n",sh,sv,eh,ev); // localizing ok
92 double sh=(getPoint(stP).x[0]-ix)*ir+mx; local
96 fprintf(outFile," <svg:text x=\"%f\" y=\"%f\" font-family=\"Monaco\" font-size=\"5\" fill=\"blue\" >\n",(sh+eh)/2+2,(sv+ev)/2); // localizing ok
/inkscape/src/ui/
H A Dshape-editor.cpp90 ShapeEditor *sh = static_cast<ShapeEditor *>(data); local
93 if (sh->has_knotholder())
95 changed_kh = !sh->has_local_change();
96 sh->decrement_local_change();
100 sh->reset_item(!strcmp(name, "d"));
/inkscape/src/2geom/
H A Dsbasis.cpp188 /** multiply a by x^sh in place (Exact)
190 \param sh power
194 SBasis shift(SBasis const &a, int sh) { argument
195 size_t n = a.size()+sh;
197 size_t m = std::max(0, sh);
199 for(int i = 0; i < sh; i++)
201 for(size_t i = m, j = std::max(0,-sh); i < n; i++, j++)
206 /** multiply a by x^sh (Exact)
208 \param sh power
209 \returns a* x^sh
212 shift(Linear const &a, int sh) argument
[all...]
/inkscape/src/
H A Dsp-ellipse.cpp482 gdouble const sh = hypot(ret[2], ret[3]); local
492 if (sh > 1e-9) {
493 ret[2] /= sh;
494 ret[3] /= sh;
505 this->ry.scale( sh );
516 this->adjust_stroke(sqrt(fabs(sw * sh)));
H A Dsp-rect.cpp282 gdouble const sh = hypot(ret[2], ret[3]); local
292 if (sh > 1e-9) {
293 ret[2] /= sh;
294 ret[3] /= sh;
302 this->height.scale( sh );
309 this->ry.scale( sh );
320 this->adjust_stroke(sqrt(fabs(sw * sh)));
H A Dsp-shape.cpp148 Inkscape::DrawingShape *sh = dynamic_cast<Inkscape::DrawingShape *>(v->arenaitem); local
151 sh->setStyle(this->style, this->context_style);
153 // sh->setChildrenStyle(this->context_style); //Resolve 'context-xxx' in children.
156 sh->setStyle(this->style, this->context_style);
166 Inkscape::DrawingShape *sh = dynamic_cast<Inkscape::DrawingShape *>(v->arenaitem); local
169 sh->setPath(this->_curve);
198 Inkscape::DrawingShape *sh = dynamic_cast<Inkscape::DrawingShape *>(v->arenaitem); local
200 sh->setChildrenStyle(this->context_style); // Resolve 'context-xxx' in children.
407 Inkscape::DrawingShape *sh = dynamic_cast<Inkscape::DrawingShape *>(v->arenaitem); local
410 sh
[all...]
H A Dsp-text.cpp513 Shape* sh = new Shape; local
514 padded->Fill( sh, 0 );
518 // std::cout << " ...... shape: " << sh->numberOfPoints() << std::endl;
520 uncross->ConvertToShape( sh );
525 delete sh;
H A Dbox3d.cpp276 gdouble const sh = hypot(ret[2], ret[3]); local
282 childitem->adjust_stroke(sqrt(fabs(sw * sh)));
/inkscape/src/widgets/
H A Dselect-toolbar.cpp219 double sh = fabs(x1 - bbox_user->max()[Geom::X]); local
226 sh = Quantity::convert(sh, "px", unit);
237 sh > 5e-4 ? "selector:toolbar:scale:horizontal" :
/inkscape/src/extension/internal/
H A Dwmf-inout.cpp1304 double dx, double dy, double dw, double dh, int sx, int sy, int sw, int sh, uint32_t iUsage){
1328 if(sw == 0 || sh == 0){
1330 sh = height;
1348 &sw,&sh // columns/rows to extract from the pixel array (output array size)
1354 sw, sh, // size of the extracted pixel array
1406 double dx, double dy, double dw, double dh, int sx, int sy, int sw, int sh){
1430 if(sw == 0 || sh == 0){
1432 sh = height;
1453 &sw,&sh // columns/rows to extract from the pixel array (output array size)
1459 sw, sh, // siz
1303 common_dib_to_image(PWMF_CALLBACK_DATA d, const char *dib, double dx, double dy, double dw, double dh, int sx, int sy, int sw, int sh, uint32_t iUsage) argument
1405 common_bm16_to_image(PWMF_CALLBACK_DATA d, U_BITMAP16 Bm16, const char *px, double dx, double dy, double dw, double dh, int sx, int sy, int sw, int sh) argument
2307 int sh = 0; local
2345 int sh = cSrc.y; local
2749 int sh = 0; local
2771 int sh = cSrc.y; local
2794 int sh = cSrc.y; local
[all...]
H A Demf-inout.cpp1508 double dx, double dy, double dw, double dh, int sx, int sy, int sw, int sh,
1533 if(sw == 0 || sh == 0){
1535 sh = height;
1554 &sw,&sh // columns/rows to extract from the pixel array (output array size)
1560 sw, sh, // size of the extracted pixel array
2975 int sh = 0; local
2978 common_image_extraction(d,pEmr,dx,dy,dw,dh,sx,sy,sw,sh,
2997 int sh = pEmr->cSrc.y; local
2998 common_image_extraction(d,pEmr,dx,dy,dw,dh,sx,sy,sw,sh,
3016 int sh local
1507 common_image_extraction(PEMF_CALLBACK_DATA d, void *pEmr, double dx, double dy, double dw, double dh, int sx, int sy, int sw, int sh, uint32_t iUsage, uint32_t offBits, uint32_t cbBits, uint32_t offBmi, uint32_t cbBmi) argument
3040 int sh = pEmr->cSrc.y; local
[all...]

Completed in 125 milliseconds