/external/chromium_org/skia/ext/ |
H A D | platform_device_mac.cc | 84 const SkMatrix& matrix) { 87 // the current transformation matrix identity and only then load the new one. 89 // Reset matrix to identity. 101 SkMatrix transformed_matrix = matrix; 102 SkScalar sy = matrix.getScaleY() * (SkScalar)-1; 105 SkScalar ty = -matrix.getTranslateY(); // y axis is flipped. 83 LoadTransformToCGContext(CGContextRef context, const SkMatrix& matrix) argument
|
H A D | platform_device_win.cc | 131 void PlatformDevice::LoadTransformToDC(HDC dc, const SkMatrix& matrix) { argument 133 xf.eM11 = matrix[SkMatrix::kMScaleX]; 134 xf.eM21 = matrix[SkMatrix::kMSkewX]; 135 xf.eDx = matrix[SkMatrix::kMTransX]; 136 xf.eM12 = matrix[SkMatrix::kMSkewY]; 137 xf.eM22 = matrix[SkMatrix::kMScaleY]; 138 xf.eDy = matrix[SkMatrix::kMTransY];
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
H A D | DOMMatrix.cpp | 17 return new DOMMatrix(other->matrix(), other->is2D()); 20 DOMMatrix::DOMMatrix(const TransformationMatrix& matrix, bool is2D) argument 22 m_matrix = matrix; 37 m_matrix = m_matrix * other->matrix(); 47 m_matrix = other->matrix() * m_matrix;
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
H A D | SVGPatternElement.cpp | 205 AffineTransform matrix; local 206 m_patternTransform->currentValue()->concatenate(matrix); 207 return matrix;
|
H A D | SVGTransformTearOff.cpp | 48 SVGMatrixTearOff* SVGTransformTearOff::matrix() function in class:blink::SVGTransformTearOff 57 void SVGTransformTearOff::setMatrix(PassRefPtr<SVGMatrixTearOff> matrix, ExceptionState& exceptionState) argument 64 target()->setMatrix(matrix->value());
|
/external/chromium_org/third_party/WebKit/Source/platform/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:blink::MatrixTransformOperation 66 TransformationMatrix matrix(m_a, m_b, m_c, m_d, m_e, m_f); 67 transform.multiply(matrix);
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
H A D | vl_csc.c | 41 * To calculate the color space conversion matrix csc with ProcAmp adjustments, 45 * Where cstd is a matrix corresponding to one of the color standards (BT.601, BT.709, etc) 47 * bias is a matrix corresponding to the kind of YCbCr -> RGB mapping wanted (1:1, full) 177 vl_csc_matrix *matrix) 191 assert(matrix); 206 memcpy(matrix, identity, sizeof(vl_csc_matrix)); 210 (*matrix)[0][0] = c * (*cstd)[0][0]; 211 (*matrix)[0][1] = c * (*cstd)[0][1] * s * cosf(h) - c * (*cstd)[0][2] * s * sinf(h); 212 (*matrix)[0][2] = c * (*cstd)[0][2] * s * cosf(h) + c * (*cstd)[0][1] * s * sinf(h); 213 (*matrix)[ 174 vl_csc_get_matrix(enum VL_CSC_COLOR_STANDARD cs, struct vl_procamp *procamp, bool full_range, vl_csc_matrix *matrix) argument [all...] |
H A D | vl_idct.h | 54 struct pipe_sampler_view *matrix; member in struct:vl_idct 72 struct pipe_sampler_view *source, *matrix; member in struct:vl_idct_buffer::__anon13792::__anon13793 78 /* upload the idct matrix, which can be shared by all idct instances of a pipe */ 95 struct pipe_sampler_view *matrix,
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | querymatrix.c | 26 * mantissa[16] contains the contents of the current matrix in GLfixed 28 * matrix components, so that the internal representation of component i 101 GLfloat matrix[16]; local 112 /* This data structure defines the mapping between the current matrix 113 * mode and the desired matrix identifier. 124 /* Call Mesa to get the current matrix in floating-point form. First, 125 * we have to figure out what the current matrix mode is. 132 * returned mode to get the desired matrix; if we don't find it, 147 /* Now pull the matrix itself. */ 148 _mesa_GetFloatv(desiredMatrix, matrix); [all...] |
/external/chromium_org/third_party/ots/test/ |
H A D | validator-checker.cc | 38 FT_Matrix matrix; local 39 matrix.xx = matrix.yy = 1 << 16; 40 matrix.xy = matrix.yx = 0 << 16; 43 FT_Set_Transform(face, &matrix, 0);
|
/external/chromium_org/third_party/skia/bench/ |
H A D | PictureRecordBench.cpp | 81 // set a matrix on the canvas 82 SkMatrix matrix; variable 83 matrix.setRotate(SkIntToScalar(i % 360)); 84 canvas->setMatrix(matrix); 96 canvas->drawBitmapMatrix(bitmap, matrix);
|
/external/chromium_org/third_party/skia/gm/ |
H A D | colorfilterimagefilter.cpp | 27 SkScalar matrix[20] = { 1, 0, 0, 0, amount255, local 31 SkAutoTUnref<SkColorFilter> filter(SkColorMatrixFilter::Create(matrix)); 36 SkScalar matrix[20]; local 37 memset(matrix, 0, 20 * sizeof(SkScalar)); 38 matrix[0] = matrix[5] = matrix[10] = 0.2126f; 39 matrix[1] = matrix[6] = matrix[1 [all...] |
H A D | pictureshader.cpp | 119 void drawScene(SkCanvas* canvas, const SkMatrix& matrix, const SkMatrix& localMatrix, argument 128 canvas->concat(matrix);
|
H A D | resizeimagefilter.cpp | 48 SkMatrix matrix; local 49 matrix.setScale(SkScalarInvert(deviceScaleX), 52 SkMatrixImageFilter::Create(matrix, filterLevel, input));
|
H A D | tileimagefilter.cpp | 104 SkScalar matrix[20] = { SK_Scalar1, 0, 0, 0, 0, local 114 SkAutoTUnref<SkColorFilter> cf(SkColorMatrixFilter::Create(matrix));
|
/external/chromium_org/third_party/skia/samplecode/ |
H A D | SampleAARects.cpp | 78 SkMatrix matrix; local 126 matrix.setRotate(45.f); 127 canvas->concat(matrix); 159 matrix.setScale(-1.f, -1.f); 160 canvas->concat(matrix); 170 matrix.setScale(2.1f, 4.1f); 171 canvas->concat(matrix);
|
H A D | SampleCamera.cpp | 38 SkMatrix matrix; local 39 matrix.setRectToRect(src, dst, SkMatrix::kFill_ScaleToFit); 44 &matrix);
|
H A D | SampleDash.cpp | 27 SkMatrix matrix; local 28 matrix.setScale(SkIntToScalar(width), SK_Scalar1); 31 SkShader::kClamp_TileMode, &matrix);
|
H A D | SampleTextOnPath.cpp | 54 SkMatrix matrix; local 77 matrix.setScale(-SK_Scalar1, SK_Scalar1); 78 matrix.postTranslate(pathLen, 0); 79 canvas->drawTextOnPath(text, len, path, &matrix, paint); 82 matrix.setScale(SK_Scalar1, -SK_Scalar1); 83 canvas->drawTextOnPath(text, len, path, &matrix, paint); 86 matrix.setScale(-SK_Scalar1, -SK_Scalar1); 87 matrix.postTranslate(pathLen, 0); 88 canvas->drawTextOnPath(text, len, path, &matrix, paint);
|
/external/chromium_org/third_party/skia/src/animator/ |
H A D | SkDrawMatrix.h | 65 SkTDScalarArray matrix; member in class:SkDrawMatrix
|
/external/chromium_org/third_party/skia/src/gpu/ |
H A D | GrPathRenderer.h | 143 static bool IsStrokeHairlineOrEquivalent(const SkStrokeRec& stroke, const SkMatrix& matrix, argument 152 SkDrawTreatAAStrokeAsHairline(stroke.getWidth(), matrix, outCoverage); 197 const SkMatrix& matrix, 203 const SkMatrix& matrix, 205 GetPathDevBounds(path, device->width(), device->height(), matrix, bounds); 201 GetPathDevBounds(const SkPath& path, const GrSurface* device, const SkMatrix& matrix, SkRect* bounds) argument
|
H A D | GrSoftwarePathRenderer.cpp | 40 const SkMatrix& matrix, 60 matrix.mapRect(&pathSBounds, path.getBounds()); 38 get_path_and_clip_bounds(const GrDrawTarget* target, const SkPath& path, const SkMatrix& matrix, SkIRect* devPathBounds, SkIRect* devClipBounds) argument
|
/external/chromium_org/third_party/skia/src/utils/ |
H A D | SkCanvasStack.cpp | 64 * We need to handle setMatrix specially as it overwrites the matrix in each 65 * canvas unlike all other matrix operations (i.e. translate, scale, etc) which 66 * just pre-concatenate with the existing matrix. 68 void SkCanvasStack::didSetMatrix(const SkMatrix& matrix) { argument 72 SkMatrix tempMatrix = matrix; 77 this->SkCanvas::didSetMatrix(matrix);
|
H A D | SkPatchGrid.cpp | 163 SkMatrix matrix = canvas->getTotalMatrix(); local 164 SkISize lod = SkPatchUtils::GetLevelOfDetail(cubics, &matrix);
|
/external/chromium_org/third_party/skia/tests/ |
H A D | ImageNewShaderTest.cpp | 73 SkMatrix matrix; local 74 matrix.setTranslate(SkIntToScalar(-1), SkIntToScalar(0)); 79 &matrix));
|