/external/skia/samplecode/ |
H A D | SampleDash.cpp | 21 SkMatrix matrix; local 22 matrix.setScale(SkIntToScalar(width), SK_Scalar1); 26 s->setLocalMatrix(matrix);
|
H A D | SampleExtractAlpha.cpp | 71 SkMatrix matrix; local 72 matrix.setScale(3.55f, 80.f); 73 canvas->setMatrix(matrix);
|
H A D | SampleSkLayer.cpp | 108 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 D | SampleImageDir.cpp | 52 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 D | SampleAARects.cpp | 72 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 D | SampleTextOnPath.cpp | 169 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 D | GLUtils.h | 53 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 D | ImageAndroid.cpp | 307 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 D | MatrixTransformOperation.h | 45 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 D | SkDraw.cpp | 50 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 D | SkShader.cpp | 30 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 D | SkShape.cpp | 35 void SkShape::drawMatrix(SkCanvas* canvas, const SkMatrix& matrix) { argument 37 canvas->concat(matrix);
|
H A D | SkDevice.cpp | 108 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 D | bookmark_tree_browser_cell.h | 16 // identifying the bookmark node being edited and the column matrix 26 @property(nonatomic, assign) NSMatrix* matrix; variable
|
/external/opencv/cxcore/src/ |
H A D | cximage.cpp | 98 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 D | FlingState.h | 33 bool evaluateMatrix(SkMatrix* matrix);
|
/external/skia/include/effects/ |
H A D | SkLayerRasterizer.h | 50 virtual bool onRasterize(const SkPath& path, const SkMatrix& matrix,
|
/external/webkit/Source/WebCore/svg/ |
H A D | SVGStyledTransformableElement.cpp | 58 AffineTransform matrix; local 59 transform().concatenate(matrix); 61 matrix *= *m_supplementalTransform; 62 return matrix;
|
H A D | SVGTextElement.cpp | 90 AffineTransform matrix; local 91 transform().concatenate(matrix); 93 matrix *= *m_supplementalTransform; 94 return matrix;
|
/external/freetype/include/freetype/ |
H A D | ftglyph.h | 275 /* 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 D | SkPDFUtils.h | 43 static SkPDFArray* MatrixToArray(const SkMatrix& matrix); 44 static void AppendTransform(const SkMatrix& matrix, SkWStream* content);
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
H A D | ShaderChromium.cpp | 47 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 D | ftcalc.c | 723 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 D | ewk_tiled_matrix.c | 38 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 D | SDL_dcevents.c | 128 if (state->matrix[i]!=old_state.matrix[i]) { 132 SDL_PrivateKeyboard(state->matrix[i]?SDL_PRESSED:SDL_RELEASED,&keysym);
|