Home
last modified time | relevance | path

Searched refs:SkIPoint (Results 1 – 25 of 444) sorted by relevance

12345678910>>...18

/external/skqp/docs/
DSkIPoint_Reference.bmh5 #Struct SkIPoint
11 SkIPoint holds two 32-bit integer coordinates.
25 #Method static constexpr SkIPoint Make(int32_t x, int32_t y)
32 SkIPoint pt1 = {45, 66};
33 SkIPoint pt2 = SkIPoint::Make(45, 66);
57 SkIPoint pt1 = {45, 66};
76 SkIPoint pt1 = {45, 66};
95 SkIPoint pt = { 0, -0};
118 SkIPoint pt1, pt2 = { SK_MinS32, SK_MaxS32 };
132 #Method SkIPoint operator-() const
[all …]
/external/skia/docs/
DSkIPoint_Reference.bmh5 #Struct SkIPoint
11 SkIPoint holds two 32-bit integer coordinates.
25 #Method static constexpr SkIPoint Make(int32_t x, int32_t y)
32 SkIPoint pt1 = {45, 66};
33 SkIPoint pt2 = SkIPoint::Make(45, 66);
57 SkIPoint pt1 = {45, 66};
76 SkIPoint pt1 = {45, 66};
95 SkIPoint pt = { 0, -0};
118 SkIPoint pt1, pt2 = { SK_MinS32, SK_MaxS32 };
132 #Method SkIPoint operator-() const
[all …]
/external/skqp/site/user/api/
DSkIPoint_Reference.md1 SkIPoint Reference
5 <a name='SkIPoint'></a>
10 struct <a href='SkIPoint_Reference#SkIPoint'>SkIPoint</a> {
15 …static constexpr <a href='SkIPoint_Reference#SkIPoint'>SkIPoint</a> <a href='#SkIPoint_Make'>Make<…
20 <a href='SkIPoint_Reference#SkIPoint'>SkIPoint</a> operator-() const;
24 …a>(const <a href='SkIPoint_Reference#SkIPoint'>SkIPoint</a>& a, const <a href='SkIPoint_Reference#
25 …a>(const <a href='SkIPoint_Reference#SkIPoint'>SkIPoint</a>& a, const <a href='SkIPoint_Reference#
26 …a>(const <a href='SkIPoint_Reference#SkIPoint'>SkIPoint</a>& a, const <a href='SkIPoint_Reference#
27 …oint_Reference#SkIPoint'>SkIPoint</a> <a href='#SkIPoint_add_operator'>operator+</a>(const <a href…
32 <a href='SkIPoint_Reference#SkIPoint'>SkIPoint</a> holds two 32-bit integer coordinates.<table styl…
[all …]
/external/skia/site/user/api/
DSkIPoint_Reference.md1 SkIPoint Reference
5 <a name='SkIPoint'></a>
10 struct <a href='SkIPoint_Reference#SkIPoint'>SkIPoint</a> {
15 …static constexpr <a href='SkIPoint_Reference#SkIPoint'>SkIPoint</a> <a href='#SkIPoint_Make'>Make<…
20 <a href='SkIPoint_Reference#SkIPoint'>SkIPoint</a> operator-() const;
24 …a>(const <a href='SkIPoint_Reference#SkIPoint'>SkIPoint</a>& a, const <a href='SkIPoint_Reference#
25 …a>(const <a href='SkIPoint_Reference#SkIPoint'>SkIPoint</a>& a, const <a href='SkIPoint_Reference#
26 …a>(const <a href='SkIPoint_Reference#SkIPoint'>SkIPoint</a>& a, const <a href='SkIPoint_Reference#
27 …oint_Reference#SkIPoint'>SkIPoint</a> <a href='#SkIPoint_add_operator'>operator+</a>(const <a href…
32 <a href='SkIPoint_Reference#SkIPoint'>SkIPoint</a> holds two 32-bit integer coordinates.<table styl…
[all …]
/external/skqp/include/core/
DSkPoint.h25 struct SkIPoint;
30 typedef SkIPoint SkIVector;
35 struct SkIPoint { struct
45 static constexpr SkIPoint Make(int32_t x, int32_t y) { in Make() argument
81 SkIPoint operator-() const {
119 friend bool operator==(const SkIPoint& a, const SkIPoint& b) {
129 friend bool operator!=(const SkIPoint& a, const SkIPoint& b) {
141 friend SkIVector operator-(const SkIPoint& a, const SkIPoint& b) {
155 friend SkIPoint operator+(const SkIPoint& a, const SkIVector& b) {
234 void iset(const SkIPoint& p) { in iset()
/external/skia/include/core/
DSkPoint.h25 struct SkIPoint;
30 typedef SkIPoint SkIVector;
35 struct SkIPoint { struct
45 static constexpr SkIPoint Make(int32_t x, int32_t y) { in Make() argument
81 SkIPoint operator-() const {
119 friend bool operator==(const SkIPoint& a, const SkIPoint& b) {
129 friend bool operator!=(const SkIPoint& a, const SkIPoint& b) {
141 friend SkIVector operator-(const SkIPoint& a, const SkIPoint& b) {
155 friend SkIPoint operator+(const SkIPoint& a, const SkIVector& b) {
234 void iset(const SkIPoint& p) { in iset()
/external/skqp/tests/
DBlendTest.cpp128 SkIPoint outPoint; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
129 SkIPoint inPoint; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
131 {SkRect::MakeXYWH(0, 0, 5, 5), SkIPoint::Make(7, 7), SkIPoint::Make(2, 2)}, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
132 {SkRect::MakeXYWH(2, 2, 5, 5), SkIPoint::Make(1, 1), SkIPoint::Make(4, 4)}, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
133 {SkRect::MakeXYWH(5, 5, 5, 5), SkIPoint::Make(2, 2), SkIPoint::Make(7, 7)}, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
158 SkIPoint outPoint = testCase.fRectAndPoints.outPoint; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
159 SkIPoint inPoint = testCase.fRectAndPoints.inPoint; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DImageFilterCacheTest.cpp47 SkIPoint offset = SkIPoint::Make(3, 4); in test_find_existing()
51 SkIPoint foundOffset; in test_find_existing()
77 SkIPoint offset = SkIPoint::Make(3, 4); in test_dont_find_if_diff_key()
81 SkIPoint foundOffset; in test_dont_find_if_diff_key()
98 SkIPoint offset = SkIPoint::Make(3, 4); in test_internal_purge()
102 SkIPoint foundOffset; in test_internal_purge()
125 SkIPoint offset = SkIPoint::Make(3, 4); in test_explicit_purging()
132 SkIPoint foundOffset; in test_explicit_purging()
/external/skia/tests/
DBlendTest.cpp128 SkIPoint outPoint; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
129 SkIPoint inPoint; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
131 {SkRect::MakeXYWH(0, 0, 5, 5), SkIPoint::Make(7, 7), SkIPoint::Make(2, 2)}, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
132 {SkRect::MakeXYWH(2, 2, 5, 5), SkIPoint::Make(1, 1), SkIPoint::Make(4, 4)}, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
133 {SkRect::MakeXYWH(5, 5, 5, 5), SkIPoint::Make(2, 2), SkIPoint::Make(7, 7)}, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
158 SkIPoint outPoint = testCase.fRectAndPoints.outPoint; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
159 SkIPoint inPoint = testCase.fRectAndPoints.inPoint; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DImageFilterCacheTest.cpp47 SkIPoint offset = SkIPoint::Make(3, 4); in test_find_existing()
51 SkIPoint foundOffset; in test_find_existing()
77 SkIPoint offset = SkIPoint::Make(3, 4); in test_dont_find_if_diff_key()
81 SkIPoint foundOffset; in test_dont_find_if_diff_key()
98 SkIPoint offset = SkIPoint::Make(3, 4); in test_internal_purge()
102 SkIPoint foundOffset; in test_internal_purge()
125 SkIPoint offset = SkIPoint::Make(3, 4); in test_explicit_purging()
132 SkIPoint foundOffset; in test_explicit_purging()
/external/skqp/src/effects/imagefilters/
DSkOffsetImageFilter.cpp20 static SkIPoint map_offset_vector(const SkMatrix& ctm, const SkVector& offset) { in map_offset_vector()
22 return SkIPoint::Make(SkScalarRoundToInt(vec.fX), SkScalarRoundToInt(vec.fY)); in map_offset_vector()
37 SkIPoint* offset) const { in onFilterImage()
38 SkIPoint srcOffset = SkIPoint::Make(0, 0); in onFilterImage()
44 SkIPoint vec = map_offset_vector(ctx.ctm(), fOffset); in onFilterImage()
101 SkIPoint vec = map_offset_vector(ctm, fOffset); in onFilterNodeBounds()
DSkXfermodeImageFilter.cpp39 SkIPoint* offset) const override;
48 const SkIPoint& backgroundOffset,
50 const SkIPoint& foregroundOffset,
113 SkIPoint* offset) const { in onFilterImage()
114 SkIPoint backgroundOffset = SkIPoint::Make(0, 0); in onFilterImage()
117 SkIPoint foregroundOffset = SkIPoint::Make(0, 0); in onFilterImage()
256 const SkIPoint& backgroundOffset, in filterImageGPU()
258 const SkIPoint& foregroundOffset, in filterImageGPU()
DSkComposeImageFilter.cpp36 SkIPoint* offset) const { in onFilterImage()
44 SkIPoint innerOffset = SkIPoint::Make(0, 0); in onFilterImage()
56 SkIPoint outerOffset = SkIPoint::Make(0, 0); in onFilterImage()
/external/skia/src/effects/imagefilters/
DSkOffsetImageFilter.cpp20 static SkIPoint map_offset_vector(const SkMatrix& ctm, const SkVector& offset) { in map_offset_vector()
22 return SkIPoint::Make(SkScalarRoundToInt(vec.fX), SkScalarRoundToInt(vec.fY)); in map_offset_vector()
37 SkIPoint* offset) const { in onFilterImage()
38 SkIPoint srcOffset = SkIPoint::Make(0, 0); in onFilterImage()
44 SkIPoint vec = map_offset_vector(ctx.ctm(), fOffset); in onFilterImage()
101 SkIPoint vec = map_offset_vector(ctm, fOffset); in onFilterNodeBounds()
DSkXfermodeImageFilter.cpp41 SkIPoint* offset) const override;
50 const SkIPoint& backgroundOffset,
52 const SkIPoint& foregroundOffset,
115 SkIPoint* offset) const { in onFilterImage()
116 SkIPoint backgroundOffset = SkIPoint::Make(0, 0); in onFilterImage()
119 SkIPoint foregroundOffset = SkIPoint::Make(0, 0); in onFilterImage()
258 const SkIPoint& backgroundOffset, in filterImageGPU()
260 const SkIPoint& foregroundOffset, in filterImageGPU()
DSkComposeImageFilter.cpp36 SkIPoint* offset) const { in onFilterImage()
44 SkIPoint innerOffset = SkIPoint::Make(0, 0); in onFilterImage()
56 SkIPoint outerOffset = SkIPoint::Make(0, 0); in onFilterImage()
/external/skqp/src/core/
DSkBlurMask.h19 SkBlurStyle, SkIPoint *margin = nullptr,
23 SkBlurStyle, SkIPoint *margin = nullptr,
40 SkIPoint* margin = nullptr);
46 SkBlurStyle, SkIPoint* margin = nullptr);
/external/skia/src/core/
DSkBlurMask.h19 SkBlurStyle, SkIPoint *margin = nullptr,
23 SkBlurStyle, SkIPoint *margin = nullptr,
40 SkIPoint* margin = nullptr);
46 SkBlurStyle, SkIPoint* margin = nullptr);
/external/skqp/tools/skqp/src/
Dskqp_model.cpp22 static inline uint32_t color(const SkPixmap& pm, SkIPoint p) { in color()
26 static inline bool inside(SkIPoint point, SkISize dimensions) { in inside()
40 static const SkIPoint kNeighborhood[9] = { in Check()
47 const SkIPoint xy{x, y}; in Check()
51 for (SkIPoint delta : kNeighborhood) { in Check()
52 SkIPoint point = xy + delta; in Check()
/external/skia/tools/skqp/src/
Dskqp_model.cpp22 static inline uint32_t color(const SkPixmap& pm, SkIPoint p) { in color()
26 static inline bool inside(SkIPoint point, SkISize dimensions) { in inside()
40 static const SkIPoint kNeighborhood[9] = { in Check()
47 const SkIPoint xy{x, y}; in Check()
51 for (SkIPoint delta : kNeighborhood) { in Check()
52 SkIPoint point = xy + delta; in Check()
/external/skqp/src/gpu/vk/
DGrVkGpuCommandBuffer.h32 const SkIPoint& dstPoint) override;
46 const SkIPoint& dstPoint) in CopyInfo()
52 SkIPoint fDstPoint;
76 const SkIPoint& dstPoint) override;
161 const SkIPoint& dstPoint, bool shouldDiscardDst) in CopyInfo()
171 SkIPoint fDstPoint;
/external/skqp/gm/
Dsimple_magnification.cpp85 void draw(SkCanvas* canvas, sk_sp<SkImage> image, const SkIPoint& offset, int inset) { in draw()
113 this->draw(canvas, bottomLImg, SkIPoint::Make(kPad, kPad), 1); in onDraw()
114 this->draw(canvas, topLImg, SkIPoint::Make(bigOffset, kPad), 1); in onDraw()
115 this->draw(canvas, bottomLImg, SkIPoint::Make(kPad, bigOffset), 7); in onDraw()
116 this->draw(canvas, topLImg, SkIPoint::Make(bigOffset, bigOffset), 7); in onDraw()
/external/skia/gm/
Dsimple_magnification.cpp85 void draw(SkCanvas* canvas, sk_sp<SkImage> image, const SkIPoint& offset, int inset) { in draw()
114 this->draw(canvas, bottomLImg, SkIPoint::Make(kPad, kPad), 1); in onDraw()
115 this->draw(canvas, topLImg, SkIPoint::Make(bigOffset, kPad), 1); in onDraw()
116 this->draw(canvas, bottomLImg, SkIPoint::Make(kPad, bigOffset), 7); in onDraw()
117 this->draw(canvas, topLImg, SkIPoint::Make(bigOffset, bigOffset), 7); in onDraw()
/external/skia/src/gpu/vk/
DGrVkGpuCommandBuffer.h32 const SkIPoint& dstPoint) override;
46 const SkIPoint& dstPoint) in CopyInfo()
52 SkIPoint fDstPoint;
76 const SkIPoint& dstPoint) override;
161 const SkIPoint& dstPoint, bool shouldDiscardDst) in CopyInfo()
171 SkIPoint fDstPoint;
/external/skia/bench/
DRecordingBench.cpp30 SkIPoint PictureCentricBench::onGetSize() { in onGetSize()
31 return SkIPoint::Make(SkScalarCeilToInt(fSrc->cullRect().width()), in onGetSize()
85 SkIPoint DeserializePictureBench::onGetSize() { in onGetSize()
86 return SkIPoint::Make(128, 128); in onGetSize()

12345678910>>...18