Searched defs:matrix (Results 226 - 250 of 654) sorted by relevance

1234567891011>>

/external/chromium_org/ppapi/proxy/
H A Dcompositor_layer_resource.cc258 int32_t CompositorLayerResource::SetTransform(const float matrix[16]) { argument
265 std::copy(matrix, matrix + 16, data_.common.transform.matrix);
/external/chromium_org/skia/ext/
H A Dbitmap_platform_device_cairo.cc48 void LoadMatrixToContext(cairo_t* context, const SkMatrix& matrix) { argument
51 SkScalarToFloat(matrix.getScaleX()),
52 SkScalarToFloat(matrix.getSkewY()),
53 SkScalarToFloat(matrix.getSkewX()),
54 SkScalarToFloat(matrix.getScaleY()),
55 SkScalarToFloat(matrix.getTranslateX()),
56 SkScalarToFloat(matrix.getTranslateY()));
86 // Load the identity matrix since this is what our clip is relative to.
H A Dpixel_ref_utils.cc131 const SkMatrix& matrix,
134 total_matrix.setConcat(*draw.fMatrix, matrix);
152 SkMatrix matrix; variable
153 matrix.setRectToRect(bitmap_rect, dst, SkMatrix::kFill_ScaleToFit);
154 GatherPixelRefDevice::drawBitmap(draw, bitmap, matrix, paint);
161 // Sprites aren't affected by current matrix, so we can't reuse drawRect.
162 SkMatrix matrix; variable
163 matrix.setTranslate(x, y);
167 matrix.mapRect(&mapped_rect, bitmap_rect);
278 const SkMatrix* matrix,
[all...]
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGGraphicsElement.cpp126 AffineTransform matrix; local
153 matrix = transform.toAffineTransform();
155 m_transform->currentValue()->concatenate(matrix);
159 return *m_supplementalTransform * matrix;
160 return matrix;
H A DSVGTransformList.cpp55 AffineTransform matrix; local
56 if (!concatenate(matrix))
59 RefPtr<SVGTransform> transform = SVGTransform::create(matrix);
72 result *= it->matrix();
/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/
H A DSkiaUtils.cpp200 const SkMatrix& matrix,
281 if (!(matrix.getType() & (SkMatrix::kAffine_Mask | SkMatrix::kPerspective_Mask)))
303 // kRectStaysRect_Mask is set, the matrix either has scale and no skew or
199 computeInterpolationQuality( const SkMatrix& matrix, float srcWidth, float srcHeight, float destWidth, float destHeight, bool isDataComplete) argument
/external/chromium_org/third_party/WebKit/Source/platform/transforms/
H A DTransformOperationsTest.cpp63 TransformationMatrix matrix; local
64 operations.apply(FloatSize(0, 0), matrix);
66 matrix.transformBox(transformed);
229 // we revert to matrix interpolation for which inflated bounds cannot be
/external/chromium_org/third_party/freetype/src/base/
H A Dftcalc.c740 FT_Matrix_Invert( FT_Matrix* matrix )
745 if ( !matrix )
749 delta = FT_MulFix( matrix->xx, matrix->yy ) -
750 FT_MulFix( matrix->xy, matrix->yx );
753 return FT_THROW( Invalid_Argument ); /* matrix can't be inverted */
755 matrix->xy = - FT_DivFix( matrix->xy, delta );
756 matrix
796 FT_Vector_Transform_Scaled( FT_Vector* vector, const FT_Matrix* matrix, FT_Long scaling ) argument
[all...]
/external/chromium_org/third_party/freetype/src/smooth/
H A Dftsmooth.c61 const FT_Matrix* matrix,
73 if ( matrix )
74 FT_Outline_Transform( &slot->outline, matrix );
59 ft_smooth_transform( FT_Renderer render, FT_GlyphSlot slot, const FT_Matrix* matrix, const FT_Vector* delta ) argument
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Dvgu.c30 #include "matrix.h"
364 VGfloat * matrix)
366 struct matrix mat;
368 if (!matrix || !is_aligned(matrix))
381 memcpy(matrix, mat.m, sizeof(VGfloat) * 9);
390 VGfloat * matrix)
392 struct matrix mat;
394 if (!matrix || !is_aligned(matrix))
360 vguComputeWarpQuadToSquare(VGfloat sx0, VGfloat sy0, VGfloat sx1, VGfloat sy1, VGfloat sx2, VGfloat sy2, VGfloat sx3, VGfloat sy3, VGfloat * matrix) argument
386 vguComputeWarpSquareToQuad(VGfloat dx0, VGfloat dy0, VGfloat dx1, VGfloat dy1, VGfloat dx2, VGfloat dy2, VGfloat dx3, VGfloat dy3, VGfloat * matrix) argument
412 vguComputeWarpQuadToQuad(VGfloat dx0, VGfloat dy0, VGfloat dx1, VGfloat dy1, VGfloat dx2, VGfloat dy2, VGfloat dx3, VGfloat dy3, VGfloat sx0, VGfloat sy0, VGfloat sx1, VGfloat sy1, VGfloat sx2, VGfloat sy2, VGfloat sx3, VGfloat sy3, VGfloat * matrix) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dnvprogram.c310 * Get matrix tracking information.
748 GLenum matrix, GLenum transform)
762 switch (matrix) {
780 _mesa_error(ctx, GL_INVALID_ENUM, "glTrackMatrixNV(matrix)");
796 ctx->VertexProgram.TrackMatrix[address / 4] = matrix;
747 _mesa_TrackMatrixNV(GLenum target, GLuint address, GLenum matrix, GLenum transform) argument
/external/chromium_org/third_party/mesa/src/src/mesa/program/
H A Dprog_statevars.c46 * but matrix queries may return as many as 16 values.
286 /* state[1] = which texture matrix or program matrix */
290 const GLmatrix *matrix; local
303 matrix = ctx->ModelviewMatrixStack.Top;
306 matrix = ctx->ProjectionMatrixStack.Top;
309 matrix = &ctx->_ModelProjectMatrix;
313 matrix = ctx->TextureMatrixStack[index].Top;
317 matrix = ctx->ProgramMatrixStack[index].Top;
320 _mesa_problem(ctx, "Bad matrix nam
[all...]
/external/chromium_org/third_party/ots/test/
H A Dside-by-side.cc115 FT_Matrix matrix; local
116 matrix.xx = matrix.yy = 1 << 16;
117 matrix.xy = matrix.yx = 0 << 16;
132 FT_Set_Transform(face, &matrix, 0);
/external/chromium_org/third_party/skia/experimental/Intersection/
H A DConvexHull_Test.cpp89 static bool rotateToAxis(const _Point& a, const _Point& b, Matrix3x2& matrix) { argument
97 matrix[0][0] = dx * invLength;
98 matrix[1][0] = dy * invLength;
99 matrix[2][0] = 0;
100 matrix[0][1] = -dy * invLength;
101 matrix[1][1] = dx * invLength;
102 matrix[2][1] = 0;
106 static void transform(const Cubic& cubic, const Matrix3x2& matrix, Cubic& rotPath) { argument
108 rotPath[index].x = cubic[index].x * matrix[0][0]
109 + cubic[index].y * matrix[
139 Matrix3x2 matrix; local
[all...]
/external/chromium_org/third_party/skia/experimental/PdfViewer/
H A DSkTrackDevice.h93 const SkMatrix& matrix, const SkPaint& paint) {
95 INHERITED::drawBitmap(dummy1, bitmap, matrix, paint);
131 const SkPath& path, const SkMatrix* matrix,
134 INHERITED::drawTextOnPath(dummy1, text, len, path, matrix, paint);
92 drawBitmap(const SkDraw& dummy1, const SkBitmap& bitmap, const SkMatrix& matrix, const SkPaint& paint) argument
130 drawTextOnPath(const SkDraw& dummy1, const void* text, size_t len, const SkPath& path, const SkMatrix* matrix, const SkPaint& paint) argument
/external/chromium_org/third_party/skia/experimental/nanomsg/
H A Dpicture_demo.cpp20 SkMatrix matrix; member in struct:PictureHeader
27 : matrix(SkMatrix::I())
91 header.matrix.setTranslate(-l, -t);
92 header.matrix.postRotate(rand.nextRangeScalar(-25, 25));
153 canvas->concat(header.matrix);
/external/chromium_org/third_party/skia/gm/
H A Ddashing.cpp129 SkMatrix matrix; local
130 matrix.setRectToRect(path->getBounds(), bounds, SkMatrix::kCenter_ScaleToFit);
131 path->transform(matrix);
H A Dgm.h81 // Most GMs will return the identity matrix, but some PDFs tests
84 SkMatrix matrix = fStarterMatrix; local
85 matrix.preConcat(this->onGetInitialTransform());
86 return matrix;
102 void setStarterMatrix(const SkMatrix& matrix) { argument
103 fStarterMatrix = matrix;
H A Dpoly2poly.cpp196 SkMatrix matrix; local
205 matrix.setPolyToPoly(src, dst, count);
206 canvas->concat(matrix);
H A Dstrokes.cpp111 SkMatrix matrix; local
112 matrix.setRotate(angle, px, py);
113 canvas->concat(matrix);
/external/chromium_org/third_party/skia/include/core/
H A DSkWriter32.h147 void writeMatrix(const SkMatrix& matrix) { argument
148 size_t size = matrix.writeToMemory(NULL);
150 matrix.writeToMemory(this->reserve(size));
/external/chromium_org/third_party/skia/samplecode/
H A DClockFaceView.cpp71 Dot2DPathEffect(SkScalar radius, const SkMatrix& matrix, argument
73 : Sk2DPathEffect(matrix), fRadius(radius), fPts(pts) {}
113 SkMatrix matrix; local
114 buffer.readMatrix(&matrix);
115 return SkNEW_ARGS(Dot2DPathEffect, (buffer.readScalar(), matrix, NULL));
H A DSampleSkLayer.cpp115 SkMatrix matrix; local
118 layer->getLocalTransform(&matrix);
119 matrix.toString(&matrixStr);
197 SkMatrix matrix; local
198 matrix.setScale(0.5, 0.5);
199 fRootLayer->setMatrix(matrix);
227 SkMatrix matrix; local
228 fLastChild->localToGlobal(&matrix);
233 canvas->concat(matrix);
/external/chromium_org/third_party/skia/src/core/
H A DSkGlyphCache.h29 matrix, etc., and holds the glyphs for that strike. Calling any of the
253 const SkMatrix* matrix) {
278 const SkMatrix* matrix) {
279 fCache = paint.detachCache(deviceProperties, matrix, false);
294 const SkMatrix* matrix) {
295 fCache = paint.detachCache(deviceProperties, matrix, true);
251 SkAutoGlyphCacheBase(const SkPaint& paint, const SkDeviceProperties* deviceProperties, const SkMatrix* matrix) argument
276 SkAutoGlyphCache(const SkPaint& paint, const SkDeviceProperties* deviceProperties, const SkMatrix* matrix) argument
292 SkAutoGlyphCacheNoGamma(const SkPaint& paint, const SkDeviceProperties* deviceProperties, const SkMatrix* matrix) argument
H A DSkPathRef.cpp45 const SkMatrix& matrix) {
47 if (matrix.isIdentity()) {
71 bool canXformBounds = !src.fBoundsIsDirty && matrix.rectStaysRect() && src.countPoints() > 1;
73 matrix.mapPoints((*dst)->fPoints, src.points(), src.fPointCnt);
83 * regardless of the matrix.
88 matrix.mapRect((*dst)->fBounds.get(), src.fBounds);
103 (*dst)->fIsOval = src.fIsOval && matrix.rectStaysRect();
43 CreateTransformedCopy(SkAutoTUnref<SkPathRef>* dst, const SkPathRef& src, const SkMatrix& matrix) argument

Completed in 1134 milliseconds

1234567891011>>