Searched refs:matrix (Results 51 - 75 of 274) sorted by relevance

1234567891011

/external/skia/samplecode/
H A DSampleDash.cpp21 SkMatrix matrix; local
22 matrix.setScale(SkIntToScalar(width), SK_Scalar1);
26 s->setLocalMatrix(matrix);
H A DSampleExtractAlpha.cpp71 SkMatrix matrix; local
72 matrix.setScale(3.55f, 80.f);
73 canvas->setMatrix(matrix);
H A DSampleSkLayer.cpp108 SkMatrix matrix; local
111 layer->getLocalTransform(&matrix);
112 matrix.toDumpString(&matrixStr);
190 SkMatrix matrix; local
191 matrix.setScale(0.5, 0.5);
192 fRootLayer->setMatrix(matrix);
220 SkMatrix matrix; local
221 fLastChild->localToGlobal(&matrix);
226 canvas->concat(matrix);
H A DSampleImageDir.cpp52 SkMatrix matrix; local
53 matrix.reset();
69 matrix.set(SkMatrix::kMTransX, SkFloatToFixed(-1153.28));
70 matrix.set(SkMatrix::kMTransY, SkFloatToFixed(1180.50));
72 matrix.set(SkMatrix::kMScaleX, SkFloatToFixed(0.177171));
73 matrix.set(SkMatrix::kMScaleY, SkFloatToFixed(0.177043));
75 matrix.set(SkMatrix::kMSkewX, SkFloatToFixed(0.126968));
76 matrix.set(SkMatrix::kMSkewY, SkFloatToFixed(-0.126876));
78 matrix.set(SkMatrix::kMPersp0, SkFloatToFixed(0.0));
79 matrix
[all...]
H A DSampleAARects.cpp72 SkMatrix matrix; local
120 matrix.setRotate(SkFloatToScalar(45.f));
121 canvas->concat(matrix);
153 matrix.setScale(SkFloatToScalar(-1.f), SkFloatToScalar(-1.f));
154 canvas->concat(matrix);
164 matrix.setScale(SkFloatToScalar(2.1f), SkFloatToScalar(4.1f));
165 canvas->concat(matrix);
H A DSampleTextOnPath.cpp169 SkMatrix matrix; local
190 matrix.setScale(-SK_Scalar1, SK_Scalar1);
191 matrix.postTranslate(pathLen, 0);
192 canvas->drawTextOnPath(text, len, path, &matrix, paint);
195 matrix.setScale(SK_Scalar1, -SK_Scalar1);
196 canvas->drawTextOnPath(text, len, path, &matrix, paint);
199 matrix.setScale(-SK_Scalar1, -SK_Scalar1);
200 matrix.postTranslate(pathLen, 0);
201 canvas->drawTextOnPath(text, len, path, &matrix, paint);
/external/webkit/Source/WebCore/platform/graphics/android/
H A DGLUtils.h53 static void toGLMatrix(GLfloat* flattened, const TransformationMatrix& matrix);
54 static void toSkMatrix(SkMatrix& skmatrix, const TransformationMatrix& matrix);
86 static void convertToTransformationMatrix(const float* matrix, TransformationMatrix& transformMatrix);
H A DImageAndroid.cpp307 SkMatrix matrix(patternTransform);
310 matrix.preScale(SkFloatToScalar(scaleX), SkFloatToScalar(scaleY));
318 matrix.postTranslate(SkFloatToScalar(tx), SkFloatToScalar(ty));
319 shader->setLocalMatrix(matrix);
321 SkDebugf("--- drawPattern: src [%g %g %g %g] dst [%g %g %g %g] transform [%g %g %g %g %g %g] matrix [%g %g %g %g %g %g]\n",
326 matrix[0], matrix[1], matrix[2], matrix[3], matrix[
[all...]
/external/webkit/Source/WebCore/platform/graphics/transforms/
H A DMatrixTransformOperation.h45 TransformationMatrix matrix() const { return TransformationMatrix(m_a, m_b, m_c, m_d, m_e, m_f); } function in class:WebCore::MatrixTransformOperation
64 TransformationMatrix matrix(m_a, m_b, m_c, m_d, m_e, m_f);
65 transform.multiply(matrix);
/external/skia/src/core/
H A DSkDraw.cpp50 SkAutoBlitterChoose(const SkBitmap& device, const SkMatrix& matrix, argument
52 fBlitter = SkBlitter::Choose(device, matrix, paint,
61 void choose(const SkBitmap& device, const SkMatrix& matrix, argument
64 fBlitter = SkBlitter::Choose(device, matrix, paint,
309 bool init(SkCanvas::PointMode, const SkPaint&, const SkMatrix* matrix,
391 // square procs (strokeWidth > 0 but matrix is square-scale (sx == sy)
429 const SkMatrix* matrix, const SkRegion* clip) {
442 matrix->rectStaysRect() && SkCanvas::kPoints_PointMode == mode) {
443 SkScalar sx = matrix->get(SkMatrix::kMScaleX);
444 SkScalar sy = matrix
428 init(SkCanvas::PointMode mode, const SkPaint& paint, const SkMatrix* matrix, const SkRegion* clip) argument
503 bounder_points(SkBounder* bounder, SkCanvas::PointMode mode, size_t count, const SkPoint pts[], const SkPaint& paint, const SkMatrix& matrix) argument
561 const SkMatrix* matrix = fMatrix; local
656 easy_rect_join(const SkPaint& paint, const SkMatrix& matrix, SkPoint* strokeSize) argument
671 ComputeRectType(const SkPaint& paint, const SkMatrix& matrix, SkPoint* strokeSize) argument
730 const SkMatrix& matrix = *fMatrix; local
845 map_radius(const SkMatrix& matrix, SkScalar* value) argument
876 const SkMatrix* matrix = fMatrix; local
977 just_translate(const SkMatrix& matrix, const SkBitmap& bitmap) argument
1081 clipped_out(const SkMatrix& matrix, const SkRegion& clip, int width, int height) argument
1110 SkMatrix matrix; local
1231 SkMatrix matrix; local
1282 SkMatrix matrix; local
1563 const SkMatrix* matrix = fMatrix; local
1685 TextMapState(const SkMatrix& matrix, SkScalar y) argument
1763 const SkMatrix* matrix = fMatrix; local
1880 morphpoints(SkPoint dst[], const SkPoint src[], int count, SkPathMeasure& meas, const SkMatrix& matrix) argument
1915 morphpath(SkPath* dst, const SkPath& src, SkPathMeasure& meas, const SkMatrix& matrix) argument
1952 drawTextOnPath(const char text[], size_t byteLength, const SkPath& follow, const SkMatrix* matrix, const SkPaint& paint) const argument
2201 texture_to_matrix(const VertState& state, const SkPoint verts[], const SkPoint texs[], SkMatrix* matrix) argument
2604 SkMatrix matrix; local
[all...]
H A DSkShader.cpp30 SkMatrix matrix; local
31 SkReadMatrix(&buffer, &matrix);
32 setLocalMatrix(matrix);
94 const SkMatrix& matrix) {
95 const SkMatrix* m = &matrix;
101 total.setConcat(matrix, *fLocalMatrix);
261 const SkMatrix& matrix) {
262 if (!this->INHERITED::setContext(device, paint, matrix)) {
313 SkShader::BitmapType SkColorShader::asABitmap(SkBitmap* bitmap, SkMatrix* matrix, argument
328 if (matrix) {
92 setContext(const SkBitmap& device, const SkPaint& paint, const SkMatrix& matrix) argument
260 setContext(const SkBitmap& device, const SkPaint& paint, const SkMatrix& matrix) argument
[all...]
H A DSkShape.cpp35 void SkShape::drawMatrix(SkCanvas* canvas, const SkMatrix& matrix) { argument
37 canvas->concat(matrix);
H A DSkDevice.cpp108 void SkDevice::setMatrixClip(const SkMatrix& matrix, const SkRegion& region, argument
169 const SkMatrix& matrix, const SkPaint& paint) {
179 draw.drawBitmap(*bitmapPtr, matrix, paint);
200 const SkMatrix* matrix,
202 draw.drawTextOnPath((const char*)text, len, path, matrix, paint);
208 const SkPath& path, const SkMatrix* matrix) {
209 draw.drawPosTextOnPath((const char*)text, len, pos, paint, path, matrix);
167 drawBitmap(const SkDraw& draw, const SkBitmap& bitmap, const SkIRect* srcRect, const SkMatrix& matrix, const SkPaint& paint) argument
198 drawTextOnPath(const SkDraw& draw, const void* text, size_t len, const SkPath& path, const SkMatrix* matrix, const SkPaint& paint) argument
206 drawPosTextOnPath(const SkDraw& draw, const void* text, size_t len, const SkPoint pos[], const SkPaint& paint, const SkPath& path, const SkMatrix* matrix) argument
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
H A Dbookmark_tree_browser_cell.h16 // identifying the bookmark node being edited and the column matrix
26 @property(nonatomic, assign) NSMatrix* matrix; variable
/external/opencv/cxcore/src/
H A Dcximage.cpp98 CV_ERROR( CV_StsUnsupportedFormat, "The object is neither an image, nor a matrix" );
219 matrix = (CvMat*)cvMemStorageAlloc( storage, sizeof(*matrix) );
220 cvInitMatHeader( matrix, rows, cols, type, alloc_data ?
224 matrix = 0;
249 CV_ERROR( CV_StsUnsupportedFormat, "The object is neither an image, nor a matrix" );
340 if( !matrix )
343 cvSave( filename, matrix, matname );
347 save_image( filename, matrix );
360 if( matrix )
[all...]
/external/skia/gpu/include/
H A DFlingState.h33 bool evaluateMatrix(SkMatrix* matrix);
/external/skia/include/effects/
H A DSkLayerRasterizer.h50 virtual bool onRasterize(const SkPath& path, const SkMatrix& matrix,
/external/webkit/Source/WebCore/svg/
H A DSVGStyledTransformableElement.cpp58 AffineTransform matrix; local
59 transform().concatenate(matrix);
61 matrix *= *m_supplementalTransform;
62 return matrix;
H A DSVGTextElement.cpp90 AffineTransform matrix; local
91 transform().concatenate(matrix);
93 matrix *= *m_supplementalTransform;
94 return matrix;
/external/freetype/include/freetype/
H A Dftglyph.h275 /* matrix :: A pointer to a 2x2 matrix to apply. */
284 /* The 2x2 transformation matrix is also applied to the glyph's */
289 FT_Matrix* matrix,
572 /* Perform the matrix operation `b = a*b'. */
575 /* a :: A pointer to matrix `a'. */
578 /* b :: A pointer to matrix `b'. */
594 /* Invert a 2x2 matrix. Return an error if it can't be inverted. */
597 /* matrix :: A pointer to the target matrix
604 FT_Matrix_Invert( FT_Matrix* matrix ); variable
[all...]
/external/skia/include/pdf/
H A DSkPDFUtils.h43 static SkPDFArray* MatrixToArray(const SkMatrix& matrix);
44 static void AppendTransform(const SkMatrix& matrix, SkWStream* content);
/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DShaderChromium.cpp47 m_matrixLocation = context->getUniformLocation(program, "matrix");
56 uniform mat4 matrix; local
60 gl_Position = matrix * a_position;
75 m_matrixLocation = context->getUniformLocation(program, "matrix");
87 uniform mat4 matrix; local
94 gl_Position = matrix * a_position;
108 m_matrixLocation = context->getUniformLocation(program, "matrix");
116 uniform mat4 matrix;
119 gl_Position = matrix * a_position;
132 m_matrixLocation = context->getUniformLocation(program, "matrix");
142 uniform mat4 matrix; local
[all...]
/external/freetype/src/base/
H A Dftcalc.c723 FT_Matrix_Invert( FT_Matrix* matrix )
728 if ( !matrix )
732 delta = FT_MulFix( matrix->xx, matrix->yy ) -
733 FT_MulFix( matrix->xy, matrix->yx );
736 return FT_Err_Invalid_Argument; /* matrix can't be inverted */
738 matrix->xy = - FT_DivFix( matrix->xy, delta );
739 matrix
779 FT_Vector_Transform_Scaled( FT_Vector* vector, const FT_Matrix* matrix, FT_Long scaling ) argument
[all...]
/external/webkit/Source/WebKit/efl/ewk/
H A Dewk_tiled_matrix.c38 Eina_Matrixsparse *matrix; member in struct:_Ewk_Tile_Matrix
107 if (!eina_matrixsparse_cell_idx_get(tm->matrix, t->row, t->col, &cell)) {
108 ERR("removing tile %p that was not in the matrix? Leaking...", t);
139 * Creates a new matrix of tiles.
141 * The tile matrix is responsible for keeping tiles around and
148 * @param cols number of columns in the matrix.
149 * @param rows number of rows in the matrix.
150 * @param cspace the color space used to create tiles in this matrix.
162 tm->matrix = eina_matrixsparse_new(rows, cols, _ewk_tile_matrix_cell_free, tm);
163 if (!tm->matrix) {
[all...]
/external/qemu/distrib/sdl-1.2.12/src/video/dc/
H A DSDL_dcevents.c128 if (state->matrix[i]!=old_state.matrix[i]) {
132 SDL_PrivateKeyboard(state->matrix[i]?SDL_PRESSED:SDL_RELEASED,&keysym);

Completed in 605 milliseconds

1234567891011