/inkscape/src/extension/internal/filter/ |
H A D | image.h | 77 std::ostringstream matrix; local 86 matrix << "0 0 0 1 -2 1 0 0 0"; 88 matrix << "0 1 0 0 -2 0 0 1 0"; 90 matrix << "0 1 0 1 -4 1 0 1 0"; 102 "</filter>\n", matrix.str().c_str(), inverted.str().c_str(), level.str().c_str());
|
H A D | transparency.h | 302 std::ostringstream matrix; local 307 matrix << (ext->get_param_float("expand")) << " " 314 "</filter>\n", matrix.str().c_str(), opacity.str().c_str());
|
/inkscape/src/libcola/ |
H A D | conjugate_gradient.cpp | 22 matrix_times_vector(valarray<double> const &matrix, /* m * n */ argument 28 assert(m*n == matrix.size()); 29 const double* mp = &matrix[0];
|
/inkscape/src/2geom/numeric/ |
H A D | linear_system.h | 42 #include <2geom/numeric/matrix.h> 64 assert( matrix().rows() == matrix().columns() 65 && matrix().rows() == vector().size() ); 67 gsl_permutation * p = gsl_permutation_alloc(matrix().rows()); 68 gsl_linalg_LU_decomp (matrix().get_gsl_matrix(), p, &s); 69 gsl_linalg_LU_solve( matrix().get_gsl_matrix(), 80 assert( matrix().rows() >= matrix().columns() 81 && matrix() 102 MatrixView & matrix() function in class:Geom::NL::LinearSystem [all...] |
/inkscape/src/svg/ |
H A D | svg-affine-test.h | 17 Geom::Affine matrix; member in struct:SvgAffineTest::test_t 54 "matrix(1,0,0,1,0,0)", 78 TSM_ASSERT_RELATION(read_matrix_tests[i].str , approx_equal_pred , read_matrix_tests[i].matrix , cm); 87 TSM_ASSERT_RELATION(read_translate_tests[i].str , approx_equal_pred , read_translate_tests[i].matrix , cm); 96 TSM_ASSERT_RELATION(read_scale_tests[i].str , approx_equal_pred , read_scale_tests[i].matrix , cm); 105 TSM_ASSERT_RELATION(read_rotate_tests[i].str , approx_equal_pred , read_rotate_tests[i].matrix , cm); 114 TSM_ASSERT_RELATION(read_skew_tests[i].str , approx_equal_pred , read_skew_tests[i].matrix , cm); 121 char * str = sp_svg_transform_write(write_matrix_tests[i].matrix); 130 char * str = sp_svg_transform_write(write_translate_tests[i].matrix); 139 char * str = sp_svg_transform_write(write_scale_tests[i].matrix); [all...] |
/inkscape/share/extensions/ |
H A D | pixelsnap.py | 65 # matrix inverse -- my linear algebra's a bit rusty, but I could implement my 66 # own matrix inverse function if necessary, I guess. 67 from numpy import matrix namespace 98 inverse = matrix(transform).I.tolist() 196 """ Gets this element's transform. Use setval=matrix to
|
/inkscape/src/ |
H A D | sp-text.cpp | 986 void TextTagAttributes::transform(Geom::Affine const &matrix, double scale_x, double scale_y, bool extend_zero_length) argument 1004 point *= matrix;
|
/inkscape/src/extension/internal/ |
H A D | cairo-render-context.cpp | 918 cairo_matrix_t matrix; local 919 _initCairoMatrix(&matrix, transform); 920 cairo_transform(_cr, &matrix); 931 cairo_matrix_t matrix; local 932 _initCairoMatrix(&matrix, transform); 933 cairo_set_matrix(_cr, &matrix); 1314 cairo_matrix_invert(&pattern_matrix); // because Cairo expects a userspace->patternspace matrix 1698 // set the given font matrix 1699 cairo_matrix_t matrix; local 1700 _initCairoMatrix(&matrix, font_matri 1810 cairo_matrix_t matrix; local 1817 _initCairoMatrix(cairo_matrix_t *matrix, Geom::Affine const &transform) argument [all...] |
/inkscape/src/extension/internal/pdfinput/ |
H A D | svg-builder.cpp | 258 Geom::Affine matrix(c0, c1, c2, c3, c4, c5); 259 gchar *transform_text = sp_svg_transform_write(matrix); 461 void SvgBuilder::addShadedFill(GfxShading *shading, double *matrix, GfxPath *path, argument 471 gchar *id = _createGradient(shading, matrix, true); 567 * \brief Sets the transformation matrix of the current container 632 // construct a (pattern space) -> (current space) transform matrix 674 // Set pattern transform matrix 748 * \param matrix gradient transformation, can be null 752 gchar *SvgBuilder::_createGradient(GfxShading *shading, double *matrix, bool for_shading) { argument 791 if (matrix) { [all...] |
H A D | pdf-parser.cpp | 667 // construct identity matrix 961 // get matrix 1622 // construct a (pattern space) -> (current space) transform matrix 1634 // m1 = PTM * BTM = PTM * base transform matrix 1649 // set the new matrix 1685 double *matrix = NULL; local 1724 matrix = (double*)&gradientTransform; 1733 if (matrix != NULL) { 1734 xTemp = matrix[0]*xMin + matrix[ 1817 double *matrix; local 3044 doForm1(Object *str, Dict *resDict, double *matrix, double *bbox, GBool transpGroup, GBool softMask, GfxColorSpace *blendingColorSpace, GBool isolated, GBool knockout, GBool alpha, Function *transferFunc, GfxColor *backdropColor) argument [all...] |
/inkscape/src/ui/dialog/ |
H A D | filter-effects-dialog.cpp | 404 /* Displays/Edits the matrix for feConvolveMatrix or feColorMatrix */ 520 // Default to identity matrix 540 // Displays a matrix or a slider for feColorMatrix 547 _matrix(SP_ATTR_VALUES, _("This matrix determines a linear transform on color space. Each line affects one of the color components. Each column determines how much of each color component from the input is passed to the output. The last column does not depend on input colors, so can be used to adjust a constant component value.")), 1832 const Pango::Matrix matrix = {0, -1, 1, 0, 0, 0}; local 1833 context->set_matrix(matrix); 2882 ComboBoxEnum<FilterColorMatrixType>* colmat = _settings->add_combo(COLORMATRIX_MATRIX, SP_ATTR_TYPE, _("Type:"), ColorMatrixTypeConverter, _("Indicates the type of matrix operation. The keyword 'matrix' indicates that a full 5x4 matrix of values will be provided. The other keywords represent convenience shortcuts to allow commonly used color operations to be performed without specifying a complete matrix [all...] |