/third_party/skia/gm/ |
D | xfermodeimagefilter.cpp | 29 #define MARGIN 12 macro 96 x += fBitmap.width() + MARGIN; in onDraw() 99 y += fBitmap.height() + MARGIN; in onDraw() 105 x += fBitmap.width() + MARGIN; in onDraw() 108 y += fBitmap.height() + MARGIN; in onDraw() 113 x += fBitmap.width() + MARGIN; in onDraw() 116 y += fBitmap.height() + MARGIN; in onDraw() 128 x += fBitmap.width() + MARGIN; in onDraw() 131 y += fBitmap.height() + MARGIN; in onDraw() 137 x += fBitmap.width() + MARGIN; in onDraw() [all …]
|
D | hittestpath.cpp | 25 const SkScalar MARGIN = SkIntToScalar(4); in test_hittest() local 28 for (SkScalar y = r.fTop + SK_ScalarHalf - MARGIN; y < r.fBottom + MARGIN; y += SK_Scalar1) { in test_hittest() 29 … for (SkScalar x = r.fLeft + SK_ScalarHalf - MARGIN; x < r.fRight + MARGIN; x += SK_Scalar1) { in test_hittest()
|
D | colorfilterimagefilter.cpp | 34 #define MARGIN SkIntToScalar(10) macro 139 canvas->translate(FILTER_WIDTH + MARGIN, 0); 142 canvas->translate(0, FILTER_HEIGHT + MARGIN); 148 canvas->translate(FILTER_WIDTH + MARGIN, 0); 155 canvas->translate(FILTER_WIDTH + MARGIN, 0); 162 canvas->translate(FILTER_WIDTH + MARGIN, 0); 169 canvas->translate(FILTER_WIDTH + MARGIN, 0); 176 canvas->translate(FILTER_WIDTH + MARGIN, 0); 182 canvas->translate(FILTER_WIDTH + MARGIN, 0);
|
D | dropshadowimagefilter.cpp | 104 SkScalar MARGIN = SkIntToScalar(16); variable 105 SkScalar DX = r.width() + MARGIN; 106 SkScalar DY = r.height() + MARGIN; 108 canvas->translate(MARGIN, MARGIN);
|
D | imagefilterscropped.cpp | 152 SkScalar MARGIN = SkIntToScalar(16); in onDraw() local 153 SkScalar DX = r.width() + MARGIN; in onDraw() 154 SkScalar DY = r.height() + MARGIN; in onDraw() 156 canvas->translate(MARGIN, MARGIN); in onDraw()
|
D | imagemakewithfilter.cpp | 299 SkScalar MARGIN = SkIntToScalar(40); in onDraw() local 300 SkScalar DX = mainImage->width() + MARGIN; in onDraw() 301 SkScalar DY = auxImage->height() + MARGIN; in onDraw() 308 canvas->drawString(filterNames[i], DX * i + MARGIN, 15, font, textPaint); in onDraw() 311 canvas->translate(MARGIN, MARGIN); in onDraw()
|
D | tileimagefilter.cpp | 30 #define MARGIN 12 macro 88 x += image->width() + MARGIN; in onDraw() 91 y += image->height() + MARGIN; in onDraw()
|
D | imagefiltersbase.cpp | 243 SkScalar MARGIN = SkIntToScalar(16); in onDraw() local 244 SkScalar DX = r.width() + MARGIN; in onDraw() 245 SkScalar DY = r.height() + MARGIN; in onDraw() 247 canvas->translate(MARGIN, MARGIN); in onDraw()
|
D | imagefilterscropexpand.cpp | 57 SkScalar MARGIN = SkIntToScalar(12); variable 66 canvas->translate(MARGIN, MARGIN);
|
/third_party/flutter/skia/gm/ |
D | xfermodeimagefilter.cpp | 29 #define MARGIN 12 macro 97 x += fBitmap.width() + MARGIN; in onDraw() 100 y += fBitmap.height() + MARGIN; in onDraw() 106 x += fBitmap.width() + MARGIN; in onDraw() 109 y += fBitmap.height() + MARGIN; in onDraw() 114 x += fBitmap.width() + MARGIN; in onDraw() 117 y += fBitmap.height() + MARGIN; in onDraw() 129 x += fBitmap.width() + MARGIN; in onDraw() 132 y += fBitmap.height() + MARGIN; in onDraw() 138 x += fBitmap.width() + MARGIN; in onDraw() [all …]
|
D | hittestpath.cpp | 25 const SkScalar MARGIN = SkIntToScalar(4); in test_hittest() local 28 for (SkScalar y = r.fTop + SK_ScalarHalf - MARGIN; y < r.fBottom + MARGIN; y += SK_Scalar1) { in test_hittest() 29 … for (SkScalar x = r.fLeft + SK_ScalarHalf - MARGIN; x < r.fRight + MARGIN; x += SK_Scalar1) { in test_hittest()
|
D | colorfilterimagefilter.cpp | 34 #define MARGIN SkIntToScalar(10) macro 139 canvas->translate(FILTER_WIDTH + MARGIN, 0); 142 canvas->translate(0, FILTER_HEIGHT + MARGIN); 148 canvas->translate(FILTER_WIDTH + MARGIN, 0); 155 canvas->translate(FILTER_WIDTH + MARGIN, 0); 162 canvas->translate(FILTER_WIDTH + MARGIN, 0); 169 canvas->translate(FILTER_WIDTH + MARGIN, 0); 176 canvas->translate(FILTER_WIDTH + MARGIN, 0); 182 canvas->translate(FILTER_WIDTH + MARGIN, 0);
|
D | dropshadowimagefilter.cpp | 107 SkScalar MARGIN = SkIntToScalar(16); variable 108 SkScalar DX = r.width() + MARGIN; 109 SkScalar DY = r.height() + MARGIN; 111 canvas->translate(MARGIN, MARGIN);
|
D | imagefilterscropped.cpp | 155 SkScalar MARGIN = SkIntToScalar(16); in onDraw() local 156 SkScalar DX = r.width() + MARGIN; in onDraw() 157 SkScalar DY = r.height() + MARGIN; in onDraw() 159 canvas->translate(MARGIN, MARGIN); in onDraw()
|
D | imagefiltersbase.cpp | 198 SkScalar MARGIN = SkIntToScalar(16); in onDraw() local 199 SkScalar DX = r.width() + MARGIN; in onDraw() 200 SkScalar DY = r.height() + MARGIN; in onDraw() 202 canvas->translate(MARGIN, MARGIN); in onDraw()
|
D | imagemakewithfilter.cpp | 286 SkScalar MARGIN = SkIntToScalar(40); in onDraw() local 287 SkScalar DX = mainImage->width() + MARGIN; in onDraw() 288 SkScalar DY = auxImage->height() + MARGIN; in onDraw() 295 canvas->drawString(filterNames[i], DX * i + MARGIN, 15, font, textPaint); in onDraw() 298 canvas->translate(MARGIN, MARGIN); in onDraw()
|
D | tileimagefilter.cpp | 30 #define MARGIN 12 macro 90 x += image->width() + MARGIN; in onDraw() 93 y += image->height() + MARGIN; in onDraw()
|
/third_party/flutter/skia/samplecode/ |
D | SampleHairline.cpp | 70 #define MARGIN 10 macro 80 if (!check_bitmap_margin(bm, MARGIN)) { in line_proc() 193 bm.allocN32Pixels(WIDTH + MARGIN*2, HEIGHT + MARGIN*2); in onDrawContent() 198 bm.getAddr32(MARGIN, MARGIN), bm.rowBytes()); in onDrawContent()
|
/third_party/skia/third_party/externals/libpng/contrib/visupng/ |
D | VisualPng.c | 22 #define MARGIN 8 macro 127 512 + 2 * MARGIN + ixBorders, 384 + 2 * MARGIN + iyBorders, in WinMain() 832 cxNewSize = cxWinSize - 2 * MARGIN; 833 cyNewSize = cyWinSize - 2 * MARGIN; 844 cxImgPos = MARGIN; 850 cyImgPos = MARGIN; 935 if (cxImgPos < MARGIN) 936 cxImgPos = MARGIN; 937 if (cyImgPos < MARGIN) 938 cyImgPos = MARGIN; [all …]
|
/third_party/libpng/contrib/visupng/ |
D | VisualPng.c | 22 #define MARGIN 8 macro 127 512 + 2 * MARGIN + ixBorders, 384 + 2 * MARGIN + iyBorders, in WinMain() 832 cxNewSize = cxWinSize - 2 * MARGIN; 833 cyNewSize = cyWinSize - 2 * MARGIN; 844 cxImgPos = MARGIN; 850 cyImgPos = MARGIN; 935 if (cxImgPos < MARGIN) 936 cxImgPos = MARGIN; 937 if (cyImgPos < MARGIN) 938 cyImgPos = MARGIN; [all …]
|
/third_party/flutter/skia/third_party/externals/libpng/contrib/visupng/ |
D | VisualPng.c | 22 #define MARGIN 8 macro 127 512 + 2 * MARGIN + ixBorders, 384 + 2 * MARGIN + iyBorders, in WinMain() 832 cxNewSize = cxWinSize - 2 * MARGIN; 833 cyNewSize = cyWinSize - 2 * MARGIN; 844 cxImgPos = MARGIN; 850 cyImgPos = MARGIN; 935 if (cxImgPos < MARGIN) 936 cxImgPos = MARGIN; 937 if (cyImgPos < MARGIN) 938 cyImgPos = MARGIN; [all …]
|
/third_party/skia/third_party/externals/icu/source/samples/layout/ |
D | paragraph.cpp | 32 #define MARGIN 10 macro 203 float lineWidth = (float) (width - 2 * MARGIN); in breakLines() 231 x = MARGIN; in draw() 244 x = (fWidth - lastX - MARGIN); in draw()
|
/third_party/flutter/skia/third_party/externals/icu/source/samples/layout/ |
D | paragraph.cpp | 32 #define MARGIN 10 macro 203 float lineWidth = (float) (width - 2 * MARGIN); in breakLines() 231 x = MARGIN; in draw() 244 x = (fWidth - lastX - MARGIN); in draw()
|
/third_party/icu/icu4c/source/samples/layout/ |
D | paragraph.cpp | 32 #define MARGIN 10 macro 203 float lineWidth = (float) (width - 2 * MARGIN); in breakLines() 231 x = MARGIN; in draw() 244 x = (fWidth - lastX - MARGIN); in draw()
|
/third_party/weex-loader/deps/weex-styler/lib/ |
D | util.js | 75 MARGIN: 'margin', property 92 MARGIN: 'margin', property
|