Searched refs:SkPoint (Results 26 - 50 of 925) sorted by relevance

1234567891011>>

/external/skia/src/core/
H A DSkPoint.cpp10 #include "SkPoint.h"
32 void SkPoint::setIRectFan(int l, int t, int r, int b, size_t stride) {
33 SkASSERT(stride >= sizeof(SkPoint));
35 ((SkPoint*)((intptr_t)this + 0 * stride))->set(SkIntToScalar(l),
37 ((SkPoint*)((intptr_t)this + 1 * stride))->set(SkIntToScalar(l),
39 ((SkPoint*)((intptr_t)this + 2 * stride))->set(SkIntToScalar(r),
41 ((SkPoint*)((intptr_t)this + 3 * stride))->set(SkIntToScalar(r),
45 void SkPoint::setRectFan(SkScalar l, SkScalar t, SkScalar r, SkScalar b,
47 SkASSERT(stride >= sizeof(SkPoint));
49 ((SkPoint*)((intptr_
[all...]
H A DSkEdgeBuilder.h44 void addLine(const SkPoint pts[]);
45 void addQuad(const SkPoint pts[]);
46 void addCubic(const SkPoint pts[]);
/external/chromium_org/third_party/skia/src/pathops/
H A DSkPathOpsCurve.h15 static SkDPoint dline_xy_at_t(const SkPoint a[2], double t) {
21 static SkDPoint dquad_xy_at_t(const SkPoint a[3], double t) {
27 static SkDPoint dcubic_xy_at_t(const SkPoint a[4], double t) {
33 static SkDPoint (* const CurveDPointAtT[])(const SkPoint[], double ) = {
40 static SkPoint fline_xy_at_t(const SkPoint a[2], double t) {
44 static SkPoint fquad_xy_at_t(const SkPoint a[3], double t) {
48 static SkPoint fcubic_xy_at_t(const SkPoint
[all...]
H A DSkPathOpsBounds.cpp12 void SkPathOpsBounds::setCubicBounds(const SkPoint a[4]) {
21 void SkPathOpsBounds::setLineBounds(const SkPoint a[2]) {
26 void SkPathOpsBounds::setQuadBounds(const SkPoint a[3]) {
35 void (SkPathOpsBounds::* const SetCurveBounds[])(const SkPoint[]) = {
/external/skia/src/pathops/
H A DSkPathOpsCurve.h15 static SkDPoint dline_xy_at_t(const SkPoint a[2], double t) {
21 static SkDPoint dquad_xy_at_t(const SkPoint a[3], double t) {
27 static SkDPoint dcubic_xy_at_t(const SkPoint a[4], double t) {
33 static SkDPoint (* const CurveDPointAtT[])(const SkPoint[], double ) = {
40 static SkPoint fline_xy_at_t(const SkPoint a[2], double t) {
44 static SkPoint fquad_xy_at_t(const SkPoint a[3], double t) {
48 static SkPoint fcubic_xy_at_t(const SkPoint
[all...]
H A DSkPathOpsBounds.cpp12 void SkPathOpsBounds::setCubicBounds(const SkPoint a[4]) {
21 void SkPathOpsBounds::setLineBounds(const SkPoint a[2]) {
26 void SkPathOpsBounds::setQuadBounds(const SkPoint a[3]) {
35 void (SkPathOpsBounds::*SetCurveBounds[])(const SkPoint[]) = {
/external/chromium_org/third_party/skia/src/animator/
H A DSkDrawPoint.h15 #include "SkPoint.h"
21 SkPoint fPoint;
29 SkPoint fPoint;
/external/skia/src/animator/
H A DSkDrawPoint.h15 #include "SkPoint.h"
21 SkPoint fPoint;
29 SkPoint fPoint;
/external/chromium_org/third_party/skia/include/core/
H A DSkPoint.h156 struct SK_API SkPoint { struct
159 static SkPoint Make(SkScalar x, SkScalar y) {
160 SkPoint pt;
192 void setAbs(const SkPoint& pt) {
199 SkPoint* v = this;
209 SkPoint* v = this;
217 static void Offset(SkPoint points[], int count, const SkPoint& offset) {
221 static void Offset(SkPoint points[], int count, SkScalar dx, SkScalar dy) {
234 SkScalar length() const { return SkPoint
[all...]
H A DSkMatrix.h347 bool setPolyToPoly(const SkPoint src[], const SkPoint dst[], int count);
388 void mapPoints(SkPoint dst[], const SkPoint src[], int count) const;
397 void mapPoints(SkPoint pts[], int count) const {
404 void mapPointsWithStride(SkPoint pts[], size_t stride, int count) const {
405 SkASSERT(stride >= sizeof(SkPoint));
409 pts = (SkPoint*)((intptr_t)pts + stride);
415 void mapPointsWithStride(SkPoint dst[], SkPoint sr
[all...]
/external/skia/include/core/
H A DSkPoint.h156 struct SK_API SkPoint { struct
159 static SkPoint Make(SkScalar x, SkScalar y) {
160 SkPoint pt;
192 void setAbs(const SkPoint& pt) {
199 SkPoint* v = this;
209 SkPoint* v = this;
217 static void Offset(SkPoint points[], int count, const SkPoint& offset) {
221 static void Offset(SkPoint points[], int count, SkScalar dx, SkScalar dy) {
234 SkScalar length() const { return SkPoint
[all...]
H A DSkMatrix.h342 bool setPolyToPoly(const SkPoint src[], const SkPoint dst[], int count);
383 void mapPoints(SkPoint dst[], const SkPoint src[], int count) const;
392 void mapPoints(SkPoint pts[], int count) const {
399 void mapPointsWithStride(SkPoint pts[], size_t stride, int count) const {
400 SkASSERT(stride >= sizeof(SkPoint));
404 pts = (SkPoint*)((intptr_t)pts + stride);
410 void mapPointsWithStride(SkPoint dst[], SkPoint sr
[all...]
/external/chromium_org/third_party/skia/src/effects/gradients/
H A DSkTwoPointConicalGradient.h30 void init(const SkPoint& center0, SkScalar rad0,
31 const SkPoint& center1, SkScalar rad1,
45 SkTwoPointConicalGradient(const SkPoint& start, SkScalar startRadius,
46 const SkPoint& end, SkScalar endRadius,
71 SkScalar getCenterX1() const { return SkPoint::Distance(fCenter1, fCenter2); }
74 const SkPoint& getStartCenter() const { return fCenter1; }
75 const SkPoint& getEndCenter() const { return fCenter2; }
88 SkPoint fCenter1;
89 SkPoint fCenter2;
/external/skia/src/effects/gradients/
H A DSkTwoPointConicalGradient.h30 void init(const SkPoint& center0, SkScalar rad0,
31 const SkPoint& center1, SkScalar rad1,
45 SkTwoPointConicalGradient(const SkPoint& start, SkScalar startRadius,
46 const SkPoint& end, SkScalar endRadius,
72 SkScalar getCenterX1() const { return SkPoint::Distance(fCenter1, fCenter2); }
75 const SkPoint& getStartCenter() const { return fCenter1; }
76 const SkPoint& getEndCenter() const { return fCenter2; }
89 SkPoint fCenter1;
90 SkPoint fCenter2;
/external/chromium_org/third_party/skia/src/core/
H A DSkEdgeBuilder.h44 void addLine(const SkPoint pts[]);
45 void addQuad(const SkPoint pts[]);
46 void addCubic(const SkPoint pts[]);
/external/chromium_org/third_party/skia/src/utils/
H A DSkBoundaryPatch.cpp21 static SkPoint SkMakePoint(SkScalar x, SkScalar y) {
22 SkPoint pt;
27 static SkPoint SkPointInterp(const SkPoint& a, const SkPoint& b, SkScalar t) {
32 SkPoint SkBoundaryPatch::eval(SkScalar unitU, SkScalar unitV) {
34 SkPoint u = SkPointInterp(b->eval(SkBoundary::kLeft, SK_Scalar1 - unitV),
37 SkPoint v = SkPointInterp(b->eval(SkBoundary::kTop, unitU),
44 bool SkBoundaryPatch::evalPatch(SkPoint verts[], int rows, int cols) {
65 SkPoint SkLineBoundar
[all...]
/external/skia/src/utils/
H A DSkBoundaryPatch.cpp21 static SkPoint SkMakePoint(SkScalar x, SkScalar y) {
22 SkPoint pt;
27 static SkPoint SkPointInterp(const SkPoint& a, const SkPoint& b, SkScalar t) {
32 SkPoint SkBoundaryPatch::eval(SkScalar unitU, SkScalar unitV) {
34 SkPoint u = SkPointInterp(b->eval(SkBoundary::kLeft, SK_Scalar1 - unitV),
37 SkPoint v = SkPointInterp(b->eval(SkBoundary::kTop, unitU),
44 bool SkBoundaryPatch::evalPatch(SkPoint verts[], int rows, int cols) {
65 SkPoint SkLineBoundar
[all...]
/external/chromium_org/third_party/skia/include/utils/
H A DSkMeshUtils.h11 #include "SkPoint.h"
27 bool init(SkPoint tex[], uint16_t indices[],
34 const SkPoint* tex() const { return fTex; }
38 SkPoint* fTex;
46 const SkPoint verts[], const SkColor colors[],
/external/skia/include/utils/
H A DSkMeshUtils.h11 #include "SkPoint.h"
27 bool init(SkPoint tex[], uint16_t indices[],
34 const SkPoint* tex() const { return fTex; }
38 SkPoint* fTex;
46 const SkPoint verts[], const SkColor colors[],
/external/chromium_org/third_party/skia/tests/
H A DGeometryTest.cpp11 static bool nearly_equal(const SkPoint& a, const SkPoint& b) {
21 const SkPoint src[] = {
27 SkPoint dst[13];
37 SkPoint pts[3], dst[5];
50 const SkPoint cubic[] = {
/external/skia/tests/
H A DGeometryTest.cpp11 static bool nearly_equal(const SkPoint& a, const SkPoint& b) {
21 const SkPoint src[] = {
27 SkPoint dst[13];
37 SkPoint pts[3], dst[5];
50 const SkPoint cubic[] = {
/external/chromium_org/third_party/skia/experimental/
H A DSkSetPoly3To3.cpp11 bool SkSetPoly3To3(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]);
14 const SkPoint pts0[3], const SkPoint& ave0,
15 const SkPoint pts1[3], const SkPoint& ave1) {
33 bool SkSetPoly3To3(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]) {
34 const SkPoint& srcAve = src[0];
35 const SkPoint
[all...]
H A DSkSetPoly3To3_D.cpp11 bool SkSetPoly3To3_D(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]);
27 const SkPoint pts0[3], const SkPoint& ave0,
28 const SkPoint pts1[3], const SkPoint& ave1) {
54 bool SkSetPoly3To3_D(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]) {
55 const SkPoint& srcAve = src[0];
56 const SkPoint
[all...]
/external/skia/experimental/
H A DSkSetPoly3To3.cpp11 bool SkSetPoly3To3(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]);
14 const SkPoint pts0[3], const SkPoint& ave0,
15 const SkPoint pts1[3], const SkPoint& ave1) {
33 bool SkSetPoly3To3(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]) {
34 const SkPoint& srcAve = src[0];
35 const SkPoint
[all...]
H A DSkSetPoly3To3_D.cpp11 bool SkSetPoly3To3_D(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]);
27 const SkPoint pts0[3], const SkPoint& ave0,
28 const SkPoint pts1[3], const SkPoint& ave1) {
54 bool SkSetPoly3To3_D(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]) {
55 const SkPoint& srcAve = src[0];
56 const SkPoint
[all...]

Completed in 439 milliseconds

1234567891011>>