Searched refs:solmatrix (Results 1 - 3 of 3) sorted by relevance
/inkscape/share/extensions/ |
H A D | perspective.py | 101 solmatrix = zeros((8,8), dtype=float64) 104 solmatrix[i][0] = sp[i][0] 105 solmatrix[i][1] = sp[i][1] 106 solmatrix[i][2] = 1 107 solmatrix[i][6] = -dp[i][0]*sp[i][0] 108 solmatrix[i][7] = -dp[i][0]*sp[i][1] 109 solmatrix[i+4][3] = sp[i][0] 110 solmatrix[i+4][4] = sp[i][1] 111 solmatrix[i+4][5] = 1 112 solmatrix[ [all...] |
H A D | dxf_outlines.py | 169 solmatrix = zeros((ctrls,ctrls), dtype=float) 171 solmatrix[i,i] = get_matrix(self.d, i, i) 172 solmatrix[i,i+1] = get_matrix(self.d, i, i+1) 173 solmatrix[i,i+2] = get_matrix(self.d, i, i+2) 174 solmatrix[fits, 0] = self.d[2]/self.d[fits-1] # curvature at start = 0 175 solmatrix[fits, 1] = -(self.d[1] + self.d[2])/self.d[fits-1] 176 solmatrix[fits, 2] = self.d[1]/self.d[fits-1] 177 solmatrix[fits+1, fits-1] = (self.d[fits-1] - self.d[fits-2])/self.d[fits-1] # curvature at end = 0 178 solmatrix[fits+1, fits] = (self.d[fits-3] + self.d[fits-2] - 2*self.d[fits-1])/self.d[fits-1] 179 solmatrix[fit [all...] |
/inkscape/src/live_effects/ |
H A D | lpe-perspective-envelope.cpp | 89 double solmatrix[8][8] = {{0}}; local 93 solmatrix[i][0] = source_handles[i][X]; 94 solmatrix[i][1] = source_handles[i][Y]; 95 solmatrix[i][2] = 1; 96 solmatrix[i][6] = -handles[i][X] * source_handles[i][X]; 97 solmatrix[i][7] = -handles[i][X] * source_handles[i][Y]; 98 solmatrix[i+4][3] = source_handles[i][X]; 99 solmatrix[i+4][4] = source_handles[i][Y]; 100 solmatrix[i+4][5] = 1; 101 solmatrix[ [all...] |
Completed in 16 milliseconds