Home
last modified time | relevance | path

Searched refs:matrix (Results 1 – 25 of 49) sorted by relevance

12

/haiku/src/tests/kits/interface/picture/
H A DMatrix.h33 BMatrix &operator*=(const BMatrix &matrix);
41 BTransformIterator(BMatrix *matrix);
148 inline BMatrix &BMatrix::operator*=(const BMatrix &matrix)
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.c + d * matrix.d;
156 m.e = a * matrix.e + c * matrix.f + e;
157 m.f = b * matrix.e + d * matrix.f + f;
164 inline BTransformIterator::BTransformIterator(BMatrix *matrix) in BTransformIterator() argument
[all …]
H A DSVGViewView.cpp374 …g2PictureView::GetMatrixAttribute(const XML_Char **attributes, const char *name, BMatrix *matrix) { in GetMatrixAttribute() argument
403 matrix->Translate(x, y); in GetMatrixAttribute()
410 matrix->Rotate(angle); in GetMatrixAttribute()
416 matrix->Scale(sx, sy); in GetMatrixAttribute()
420 matrix->Scale(sx, sx); in GetMatrixAttribute()
428 matrix->SkewX(angle); in GetMatrixAttribute()
435 matrix->SkewY(angle); in GetMatrixAttribute()
977 BMatrix matrix; in CheckAttributes() local
978 GetMatrixAttribute(attributes, "transform", &matrix); in CheckAttributes()
979 fState.fMatrix *= matrix; in CheckAttributes()
H A DSVGViewView.h93 void GetMatrixAttribute(const XML_Char **attributes, const char *name, BMatrix *matrix);
/haiku/src/libs/icon/transformable/
H A DTransformable.cpp84 Transformable::StoreTo(double matrix[matrix_size]) const in StoreTo()
86 store_to(matrix); in StoreTo()
91 Transformable::LoadFrom(const double matrix[matrix_size]) in LoadFrom()
97 t.load_from(matrix); in LoadFrom()
99 load_from(matrix); in LoadFrom()
307 double matrix[6]; in PrintToStream() local
308 store_to(matrix); in PrintToStream()
310 matrix[0], matrix[2], matrix[4], matrix[1], matrix[3], matrix[5]); in PrintToStream()
H A DTransformable.h50 void StoreTo(double matrix[matrix_size]) const;
51 void LoadFrom(const double matrix[matrix_size]);
/haiku/src/servers/app/drawing/Painter/
H A DTransformable.cpp86 Transformable::StoreTo(double matrix[6]) const in StoreTo()
88 store_to(matrix); in StoreTo()
93 Transformable::LoadFrom(double matrix[6]) in LoadFrom()
98 t.load_from(matrix); in LoadFrom()
100 load_from(matrix); in LoadFrom()
269 double matrix[6]; in IsTranslationOnly() local
270 store_to(matrix); in IsTranslationOnly()
271 return matrix[0] == 1.0 && matrix[1] == 0.0 in IsTranslationOnly()
272 && matrix[2] == 0.0 && matrix[3] == 1.0; in IsTranslationOnly()
H A DTransformable.h30 void StoreTo(double matrix[6]) const;
31 void LoadFrom(double matrix[6]);
H A DPainter.cpp1967 agg::trans_affine& matrix, float gradient_d2) const in _CalcLinearGradientTransform() argument
1972 matrix.reset(); in _CalcLinearGradientTransform()
1973 matrix *= agg::trans_affine_scaling(sqrt(dx * dx + dy * dy) / gradient_d2); in _CalcLinearGradientTransform()
1974 matrix *= agg::trans_affine_rotation(atan2(dy, dx)); in _CalcLinearGradientTransform()
1975 matrix *= agg::trans_affine_translation(startPoint.x, startPoint.y); in _CalcLinearGradientTransform()
1976 matrix *= fTransform; in _CalcLinearGradientTransform()
1977 matrix.invert(); in _CalcLinearGradientTransform()
1983 agg::trans_affine& matrix, float gradient_d2) const in _CalcRadialGradientTransform() argument
1985 matrix.reset(); in _CalcRadialGradientTransform()
1986 matrix *= agg::trans_affine_translation(center.x, center.y); in _CalcRadialGradientTransform()
[all …]
/haiku/src/libs/icon/transformer/
H A DPerspectiveTransformer.cpp56 double matrix[9]; in PerspectiveTransformer() local
58 if (archive->FindDouble("matrix", i, &matrix[i]) != B_OK) in PerspectiveTransformer()
59 matrix[i] = 0; in PerspectiveTransformer()
61 load_from(matrix); in PerspectiveTransformer()
92 double matrix[9]; in PerspectiveTransformer() local
93 other.store_to(matrix); in PerspectiveTransformer()
94 load_from(matrix); in PerspectiveTransformer()
199 double matrix[9]; in Archive() local
200 store_to(matrix); in Archive()
204 ret = into->AddDouble("matrix", matrix[i]); in Archive()
H A DAffineTransformer.cpp46 const void* matrix; in AffineTransformer() local
49 &matrix, &dataSize) == B_OK) { in AffineTransformer()
51 load_from((const double*)matrix); in AffineTransformer()
113 double matrix[6]; in Archive() local
114 store_to(matrix); in Archive()
116 matrix, 6 * sizeof(double)); in Archive()
/haiku/src/libs/icon/shape/
H A DReferenceImage.cpp97 const double* matrix; in Unarchive() local
100 (const void**) &matrix, &dataSize); in Unarchive()
105 LoadFrom(matrix); in Unarchive()
132 double matrix[size]; in Archive() local
133 StoreTo(matrix); in Archive()
135 matrix, size * sizeof(double)); in Archive()
H A DShape.cpp193 const void* matrix; in Unarchive() local
196 &matrix, &dataSize); in Unarchive()
198 LoadFrom((const double*)matrix); in Unarchive()
231 double matrix[size]; in Archive() local
232 StoreTo(matrix); in Archive()
234 matrix, size * sizeof(double)); in Archive()
/haiku/src/apps/icon-o-matic/import_export/svg/
H A DSVGExporter.cpp462 double matrix[Transformable::matrix_size]; in _AppendMatrix() local
463 object->StoreTo(matrix); in _AppendMatrix()
464 append_float(string, matrix[0]); in _AppendMatrix()
466 append_float(string, matrix[1]); in _AppendMatrix()
468 append_float(string, matrix[2]); in _AppendMatrix()
470 append_float(string, matrix[3]); in _AppendMatrix()
472 append_float(string, matrix[4]); in _AppendMatrix()
474 append_float(string, matrix[5]); in _AppendMatrix()
/haiku/src/libs/icon/flat_icon/
H A DFlatIconImporter.cpp150 double matrix[matrixSize]; in _ReadTransformable() local
155 matrix[i] = value; in _ReadTransformable()
157 transformable->LoadFrom(matrix); in _ReadTransformable()
454 double matrix[6]; in _ReadTransformer() local
461 matrix[i] = value; in _ReadTransformer()
463 affine->load_from(matrix); in _ReadTransformer()
489 double matrix[9]; in _ReadTransformer() local
496 matrix[i] = value; in _ReadTransformer()
498 perspective->load_from(matrix); in _ReadTransformer()
/haiku/src/libs/linprog/
H A DLayoutOptimizer.cpp124 double** matrix = new(nothrow) double*[m]; in allocate_matrix() local
125 if (!matrix) in allocate_matrix()
130 delete[] matrix; in allocate_matrix()
136 matrix[i] = row; in allocate_matrix()
138 return matrix; in allocate_matrix()
144 free_matrix(double** matrix) in free_matrix() argument
146 if (matrix) { in free_matrix()
147 delete[] *matrix; in free_matrix()
148 delete[] matrix; in free_matrix()
462 inline void operator()(double** matrix) in operator ()()
[all …]
H A DLayoutOptimizer.h18 void free_matrix(double** matrix);
/haiku/src/kits/interface/layouter/
H A DLayoutOptimizer.cpp110 double** matrix = new(nothrow) double*[m]; in allocate_matrix() local
111 if (!matrix) in allocate_matrix()
116 delete[] matrix; in allocate_matrix()
122 matrix[i] = row; in allocate_matrix()
124 return matrix; in allocate_matrix()
130 free_matrix(double** matrix) in free_matrix() argument
132 if (matrix) { in free_matrix()
133 delete[] *matrix; in free_matrix()
134 delete[] matrix; in free_matrix()
484 inline void operator()(double** matrix) in operator ()()
[all …]
/haiku/src/apps/icon-o-matic/import_export/flat_icon/
H A DFlatIconExporter.cpp220 double matrix[matrixSize]; in _WriteTransformable() local
221 transformable->StoreTo(matrix); in _WriteTransformable()
225 if (!write_float_24(buffer, (float)matrix[i])) in _WriteTransformable()
466 double matrix[6]; in _WriteTransformer() local
467 affine->store_to(matrix); in _WriteTransformer()
469 if (!write_float_24(buffer, (float)matrix[i])) in _WriteTransformer()
491 double matrix[9]; in _WriteTransformer() local
492 perspective->store_to(matrix); in _WriteTransformer()
494 if (!write_float_24(buffer, (float)matrix[i])) in _WriteTransformer()
/haiku/src/libs/icon/style/
H A DGradientTransformable.cpp66 const void* matrix; in Gradient() local
69 &matrix, &dataSize) == B_OK in Gradient()
71 LoadFrom((const double*)matrix); in Gradient()
131 double matrix[size]; in Archive() local
132 StoreTo(matrix); in Archive()
134 matrix, size * sizeof(double)); in Archive()
/haiku/src/add-ons/screen_savers/nebula/
H A DNebula.cpp37 typedef float matrix[3][3]; typedef
86 mulmat(matrix* a, matrix* b, matrix* c) in mulmat()
101 mulvec(matrix* a, float* x, float* y, float* z) in mulvec()
112 setrmat(float a, float b, float c, matrix* m) in setrmat()
237 matrix ma, mb, mc, mr; in drawGalaxy()
/haiku/data/catalogs/apps/cortex/InfoView/
H A Del.catkeys33 Matrix mask InfoView Μάσκα matrix
/haiku/data/catalogs/apps/cortex/support/
H A Del.catkeys69 (unknown matrix mask) MediaString (άγνωστη μάσκα matrix)
H A Duk.catkeys69 (unknown matrix mask) MediaString (невідома матрична маска)
/haiku/src/add-ons/media/media-add-ons/radeon/
H A DMSP3430.cpp334 void CMSP3430::SetFMPrescale(int gain, MSP3430_fm_matrix matrix, bool mute)
339 switch (matrix) {
/haiku/docs/user/interface/
H A DMenuBar.dox128 - \c B_ITEMS_IN_MATRIX items are displayed in a custom matrix.
146 - \c B_ITEMS_IN_MATRIX items are displayed in a custom matrix.

12