/haiku/src/tests/kits/interface/picture/ |
H A D | Matrix.h | 33 BMatrix &operator*=(const BMatrix &matrix);
41 BTransformIterator(BMatrix *matrix);
148 inline BMatrix &BMatrix::operator*=(const BMatrix &matrix)
argument 152 m.a = a * matrix.a + c * matrix.b;
153 m.b = b * matrix.a + d * matrix.b;
154 m.c = a * matrix.c + c * matrix.d;
155 m.d = b * matrix 164 BTransformIterator(BMatrix *matrix) argument [all...] |
H A D | SVGViewView.cpp | 374 void Svg2PictureView::GetMatrixAttribute(const XML_Char **attributes, const char *name, BMatrix *matrix) { 403 matrix->Translate(x, y); 410 matrix->Rotate(angle); 416 matrix->Scale(sx, sy); 420 matrix->Scale(sx, sx); 428 matrix->SkewX(angle); 435 matrix->SkewY(angle); 977 BMatrix matrix; local 978 GetMatrixAttribute(attributes, "transform", &matrix); 979 fState.fMatrix *= matrix; [all...] |
H A D | SVGViewView.h | 93 void GetMatrixAttribute(const XML_Char **attributes, const char *name, BMatrix *matrix);
|
/haiku/src/libs/icon/transformable/ |
H A D | Transformable.cpp | 84 Transformable::StoreTo(double matrix[matrix_size]) const 86 store_to(matrix); 91 Transformable::LoadFrom(const double matrix[matrix_size]) argument 97 t.load_from(matrix); 99 load_from(matrix); 307 double matrix[6]; local 308 store_to(matrix); 310 matrix[0], matrix[2], matrix[ [all...] |
H A D | Transformable.h | 50 void StoreTo(double matrix[matrix_size]) const; 51 void LoadFrom(const double matrix[matrix_size]); 53 // set to or combine with other matrix
|
/haiku/src/servers/app/drawing/Painter/ |
H A D | Transformable.cpp | 5 * A handy front-end to agg::trans_affine transformation matrix. 50 ret = archive->FindDouble("affine matrix", i, &storage[i]); 73 ret = into->AddDouble("affine matrix", storage[i]); 86 Transformable::StoreTo(double matrix[6]) const 88 store_to(matrix); 93 Transformable::LoadFrom(double matrix[6]) argument 98 t.load_from(matrix); 100 load_from(matrix); 269 double matrix[6]; local 270 store_to(matrix); [all...] |
H A D | Transformable.h | 5 * A handy front-end to agg::trans_affine transformation matrix. 27 // stores matrix directly to message, deep is ignored 30 void StoreTo(double matrix[6]) const; 31 void LoadFrom(double matrix[6]); 33 // set to or combine with other matrix
|
H A D | Painter.cpp | 1967 agg::trans_affine& matrix, float gradient_d2) const 1972 matrix.reset(); 1973 matrix *= agg::trans_affine_scaling(sqrt(dx * dx + dy * dy) / gradient_d2); 1974 matrix *= agg::trans_affine_rotation(atan2(dy, dx)); 1975 matrix *= agg::trans_affine_translation(startPoint.x, startPoint.y); 1976 matrix *= fTransform; 1977 matrix.invert(); 1983 agg::trans_affine& matrix, float gradient_d2) const 1985 matrix.reset(); 1986 matrix * 1966 _CalcLinearGradientTransform(BPoint startPoint, BPoint endPoint, agg::trans_affine& matrix, float gradient_d2) const argument 1982 _CalcRadialGradientTransform(BPoint center, agg::trans_affine& matrix, float gradient_d2) const argument [all...] |
/haiku/src/libs/icon/transformer/ |
H A D | PerspectiveTransformer.cpp | 56 double matrix[9]; local 58 if (archive->FindDouble("matrix", i, &matrix[i]) != B_OK) 59 matrix[i] = 0; 61 load_from(matrix); 92 double matrix[9]; local 93 other.store_to(matrix); 94 load_from(matrix); 199 double matrix[9]; local 200 store_to(matrix); [all...] |
H A D | AffineTransformer.cpp | 46 const void* matrix; local 48 if (archive->FindData("matrix", B_DOUBLE_TYPE, 49 &matrix, &dataSize) == B_OK) { 51 load_from((const double*)matrix); 113 double matrix[6]; local 114 store_to(matrix); 115 ret = into->AddData("matrix", B_DOUBLE_TYPE, 116 matrix, 6 * sizeof(double));
|
/haiku/src/libs/icon/shape/ |
H A D | ReferenceImage.cpp | 97 const double* matrix; local 100 (const void**) &matrix, &dataSize); 105 LoadFrom(matrix); 132 double matrix[size]; local 133 StoreTo(matrix); 135 matrix, size * sizeof(double));
|
H A D | Shape.cpp | 193 const void* matrix; local 196 &matrix, &dataSize); 198 LoadFrom((const double*)matrix); 231 double matrix[size]; local 232 StoreTo(matrix); 234 matrix, size * sizeof(double));
|
/haiku/src/apps/icon-o-matic/import_export/svg/ |
H A D | SVGExporter.cpp | 225 // The transformation matrix is extracted again in order to 234 // start new shape and write transform matrix 450 string << "matrix("; 462 double matrix[Transformable::matrix_size]; local 463 object->StoreTo(matrix); 464 append_float(string, matrix[0]); 466 append_float(string, matrix[1]); 468 append_float(string, matrix[2]); 470 append_float(string, matrix[3]); 472 append_float(string, matrix[ [all...] |
/haiku/src/libs/linprog/ |
H A D | LayoutOptimizer.h | 18 void free_matrix(double** matrix);
|
H A D | LayoutOptimizer.cpp | 77 // #pragma mark - vector and matrix operations 124 double** matrix = new(nothrow) double*[m]; local 125 if (!matrix) 130 delete[] matrix; 136 matrix[i] = row; 138 return matrix; 144 free_matrix(double** matrix) argument 146 if (matrix) { 147 delete[] *matrix; 148 delete[] matrix; 462 operator ()(double** matrix) argument [all...] |
/haiku/src/apps/icon-o-matic/import_export/flat_icon/ |
H A D | FlatIconExporter.cpp | 220 double matrix[matrixSize]; local 221 transformable->StoreTo(matrix); 223 // if (!buffer.Write((float)matrix[i])) 225 if (!write_float_24(buffer, (float)matrix[i])) 466 double matrix[6]; local 467 affine->store_to(matrix); 469 if (!write_float_24(buffer, (float)matrix[i])) 491 double matrix[9]; local 492 perspective->store_to(matrix); 494 if (!write_float_24(buffer, (float)matrix[ [all...] |
/haiku/src/libs/icon/flat_icon/ |
H A D | FlatIconImporter.cpp | 150 double matrix[matrixSize]; local 155 matrix[i] = value; 157 transformable->LoadFrom(matrix); 454 double matrix[6]; local 461 matrix[i] = value; 463 affine->load_from(matrix); 489 double matrix[9]; local 496 matrix[i] = value; 498 perspective->load_from(matrix);
|
/haiku/src/kits/interface/layouter/ |
H A D | LayoutOptimizer.cpp | 63 // #pragma mark - vector and matrix operations 110 double** matrix = new(nothrow) double*[m]; local 111 if (!matrix) 116 delete[] matrix; 122 matrix[i] = row; 124 return matrix; 130 free_matrix(double** matrix) argument 132 if (matrix) { 133 delete[] *matrix; 134 delete[] matrix; 484 operator ()(double** matrix) argument [all...] |
/haiku/src/add-ons/screen_savers/nebula/ |
H A D | Nebula.cpp | 37 typedef float matrix[3][3]; typedef 86 mulmat(matrix* a, matrix* b, matrix* c) 101 mulvec(matrix* a, float* x, float* y, float* z) 112 setrmat(float a, float b, float c, matrix* m) 237 matrix ma, mb, mc, mr;
|
/haiku/src/libs/icon/style/ |
H A D | GradientTransformable.cpp | 66 const void* matrix; local 69 &matrix, &dataSize) == B_OK 71 LoadFrom((const double*)matrix); 131 double matrix[size]; local 132 StoreTo(matrix); 134 matrix, size * sizeof(double));
|
/haiku/src/add-ons/media/media-add-ons/radeon/ |
H A D | MSP3430.cpp | 49 // source select and output channel matrix 50 MSP3430_DSP_SRC_MAT_MAIN = 0x0008, // loudspeaker source and matrix 53 MSP3430_DSP_SRC_MAT_AUX = 0x0009, // headphone source and matrix 56 MSP3430_DSP_SRC_MAT_SCART1 = 0x000a, // SCART1 source and matrix 59 MSP3430_DSP_SRC_MAT_SCART2 = 0x0041, // SCART2 source and matrix 62 MSP3430_DSP_SRC_MAT_I2S = 0x000b, // I2S source and matrix 65 MSP3430_DSP_SRC_MAT_QPEAK = 0x000c, // QuasiPeak detector source and matrix 313 // set sound mode, FM/AM matrix, source channels 334 void CMSP3430::SetFMPrescale(int gain, MSP3430_fm_matrix matrix, bool mute) 336 // set FM/AM prescale and FM matrix mod [all...] |
/haiku/src/tests/kits/game/chart/ |
H A D | ChartWindow.cpp | 230 /* product of a vector by a matrix */ 242 /* extract the Nth vector/column of a matrix. */ 254 /* as we use rotation matrix, the invert of the matrix 273 /* set a spherical rotation matrix */ 287 /* rotation matrix */ 1851 TMatrix matrix; local 1873 matrix.Set(fSpecials.list[j+2].x * 6.28319, fSpecials.list[j+2].y * 3.14159 - 1.5708, 0.0); 1874 fDeltaComet[j] = matrix.Axis(0) * 0.0015; 1875 dx = matrix [all...] |