Home
last modified time | relevance | path

Searched refs:yPos (Results 1 – 25 of 27) sorted by relevance

12

/third_party/skia/gm/
Dstlouisarch.cpp37 SkScalar yPos = kHeight / 2 + 10; in onOnceBeforeDraw() local
38 degenBigQuad->moveTo(0, yPos); in onOnceBeforeDraw()
39 degenBigQuad->quadTo(0, yPos, kWidth, yPos); in onOnceBeforeDraw()
53 SkScalar yPos = kHeight / 2; in onOnceBeforeDraw() local
54 degenBigCubic->moveTo(0, yPos); in onOnceBeforeDraw()
55 degenBigCubic->cubicTo(0, yPos, in onOnceBeforeDraw()
56 0, yPos, in onOnceBeforeDraw()
57 kWidth, yPos); in onOnceBeforeDraw()
68 SkScalar yPos = kHeight / 2 - 10; in onOnceBeforeDraw() local
69 degenBigConic->moveTo(0, yPos); in onOnceBeforeDraw()
[all …]
Dpathopsinverse.cpp70 int yPos = 0; in onDraw() local
84 canvas->translate(0, SkIntToScalar(yPos)); in onDraw()
96 canvas->translate(SkIntToScalar(xPos), SkIntToScalar(yPos)); in onDraw()
103 yPos += 150; in onDraw()
/third_party/flutter/skia/gm/
Dstlouisarch.cpp37 SkScalar yPos = kHeight / 2 + 10; in onOnceBeforeDraw() local
38 degenBigQuad->moveTo(0, yPos); in onOnceBeforeDraw()
39 degenBigQuad->quadTo(0, yPos, kWidth, yPos); in onOnceBeforeDraw()
53 SkScalar yPos = kHeight / 2; in onOnceBeforeDraw() local
54 degenBigCubic->moveTo(0, yPos); in onOnceBeforeDraw()
55 degenBigCubic->cubicTo(0, yPos, in onOnceBeforeDraw()
56 0, yPos, in onOnceBeforeDraw()
57 kWidth, yPos); in onOnceBeforeDraw()
68 SkScalar yPos = kHeight / 2 - 10; in onOnceBeforeDraw() local
69 degenBigConic->moveTo(0, yPos); in onOnceBeforeDraw()
[all …]
Dlightingshader2.cpp169 SkScalar yPos = (gridNum / kGridColumnNum) * kGridCellWidth; in onDraw() local
173 canvas->translate(xPos, yPos); in onDraw()
215 SkScalar yPos = (gridNum / kGridColumnNum) * kGridCellWidth; in onDraw() local
218 canvas->translate(xPos, yPos); in onDraw()
228 SkScalar yPos = (gridNum / kGridColumnNum) * kGridCellWidth; in onDraw() local
231 canvas->translate(xPos, yPos); in onDraw()
241 SkScalar yPos = (gridNum / kGridColumnNum) * kGridCellWidth; in onDraw() local
244 canvas->translate(xPos, yPos); in onDraw()
254 SkScalar yPos = (gridNum / kGridColumnNum) * kGridCellWidth; in onDraw() local
257 canvas->translate(xPos, yPos); in onDraw()
Dpathopsinverse.cpp70 int yPos = 0; in onDraw() local
84 canvas->translate(0, SkIntToScalar(yPos)); in onDraw()
96 canvas->translate(SkIntToScalar(xPos), SkIntToScalar(yPos)); in onDraw()
103 yPos += 150; in onDraw()
Dmultipicturedraw.cpp81 SkScalar xPos, yPos = 0; in make_hex_plane_picture() local
88 canvas->translate(xPos, yPos + ((x % 2) ? kRoot3Over2 * kHexSide : 0)); in make_hex_plane_picture()
96 yPos += 2 * kHexSide * kRoot3Over2; in make_hex_plane_picture()
131 SkScalar xPos = 0.0f, yPos = 0.0f; in make_single_layer_hex_plane_picture() local
133 for (int y = 0; yPos < kBig; ++y) { in make_single_layer_hex_plane_picture()
138 canvas->translate(xPos, yPos + ((x % 2) ? kRoot3Over2 * kHexSide : 0)); in make_single_layer_hex_plane_picture()
149 yPos += 2 * kHexSide * kRoot3Over2; in make_single_layer_hex_plane_picture()
/third_party/skia/samplecode/
DSampleShadowReference.cpp124 SkScalar yPos = 254.25f; in onDrawContent() local
131 canvas->translate(xPos, yPos); in onDrawContent()
142 canvas->translate(xPos, yPos); in onDrawContent()
153 canvas->translate(xPos, yPos); in onDrawContent()
164 canvas->translate(xPos, yPos); in onDrawContent()
175 canvas->translate(xPos, yPos); in onDrawContent()
186 canvas->translate(xPos, yPos); in onDrawContent()
DSampleShadowColor.cpp200 SkScalar yPos = 75; in onDrawContent() local
209 canvas->translate(xPos, yPos); in onDrawContent()
219 yPos += 200; in onDrawContent()
DSampleShip.cpp69 float yPos = (y / (kGrid - 1.0f)) * kWidth; in DrawShipView() local
75 xPos, yPos, anchorX, anchorY); in DrawShipView()
DSampleQuadStroker.cpp514 SkScalar yPos = bounds.fTop + (value - min) * bounds.height() / scale; in draw_control() local
516 canvas->drawLine(bounds.fLeft - 5, yPos, bounds.fRight + 5, yPos, paint); in draw_control()
522 canvas->drawString(label, bounds.fLeft + 5, yPos - 5, font, paint); in draw_control()
/third_party/flutter/skia/samplecode/
DSampleShadowReference.cpp124 SkScalar yPos = 254.25f; in onDrawContent() local
131 canvas->translate(xPos, yPos); in onDrawContent()
142 canvas->translate(xPos, yPos); in onDrawContent()
153 canvas->translate(xPos, yPos); in onDrawContent()
164 canvas->translate(xPos, yPos); in onDrawContent()
175 canvas->translate(xPos, yPos); in onDrawContent()
186 canvas->translate(xPos, yPos); in onDrawContent()
DSampleShadowColor.cpp200 SkScalar yPos = 75; in onDrawContent() local
209 canvas->translate(xPos, yPos); in onDrawContent()
219 yPos += 200; in onDrawContent()
DSampleShip.cpp67 float yPos = (y / (kGrid - 1.0f)) * kWidth; in DrawShipView() local
73 xPos, yPos, anchorX, anchorY); in DrawShipView()
DSampleQuadStroker.cpp521 SkScalar yPos = bounds.fTop + (value - min) * bounds.height() / scale; in draw_control() local
523 canvas->drawLine(bounds.fLeft - 5, yPos, bounds.fRight + 5, yPos, paint); in draw_control()
529 canvas->drawString(label, bounds.fLeft + 5, yPos - 5, font, paint); in draw_control()
DSampleAAGeometry.cpp633 SkScalar yPos = fBounds.fTop + (fValHi - fMin) * fBounds.height() / (fMax - fMin); in draw() local
634 canvas->drawLine(fBounds.fLeft - 5, yPos, fBounds.fRight + 5, yPos, paints.fIndicator); in draw()
637 if (yPos < fYLo + 10) { in draw()
638 yPos = fYLo + 10; in draw()
640 canvas->drawString(label, fBounds.fLeft + 5, yPos - 5, paints.fValueFont, paints.fValue); in draw()
641 SkRect fill = { fBounds.fLeft, fYLo, fBounds.fRight, yPos }; in draw()
/third_party/flutter/engine/flutter/shell/platform/windows/
Dwin32_window.cc110 int xPos = 0, yPos = 0; in MessageHandler() local
137 yPos = GET_Y_LPARAM(lparam); in MessageHandler()
140 static_cast<double>(yPos)); in MessageHandler()
144 yPos = GET_Y_LPARAM(lparam); in MessageHandler()
146 static_cast<double>(yPos)); in MessageHandler()
150 yPos = GET_Y_LPARAM(lparam); in MessageHandler()
152 static_cast<double>(yPos)); in MessageHandler()
/third_party/flutter/skia/docs/examples/
DCanvas_drawText.cpp16 float yPos = 20; in draw() local
22 canvas->drawString("Aa", 10 / scale, yPos / scale, font, paint); in draw()
23 yPos += size * 2; in draw()
/third_party/skia/docs/examples/
DCanvas_drawText.cpp16 float yPos = 20; in draw() local
22 canvas->drawString("Aa", 10 / scale, yPos / scale, font, paint); in draw()
23 yPos += size * 2; in draw()
Dpathops.cpp41 int yPos = 0; in draw() local
60 canvas->translate(0, SkIntToScalar(yPos)); in draw()
72 canvas->translate(SkIntToScalar(xPos), SkIntToScalar(yPos)); in draw()
79 yPos += 150; in draw()
/third_party/flutter/skia/tools/sk_app/win/
DWindow_win.cpp267 int yPos = GET_Y_LPARAM(lParam); in WndProc() local
280 eventHandled = window->onMouse(xPos, yPos, istate, in WndProc()
286 int yPos = GET_Y_LPARAM(lParam); in WndProc() local
296 eventHandled = window->onMouse(xPos, yPos, InputState::kMove, in WndProc()
/third_party/skia/tools/sk_app/win/
DWindow_win.cpp266 int yPos = GET_Y_LPARAM(lParam); in WndProc() local
279 eventHandled = window->onMouse(xPos, yPos, istate, in WndProc()
285 int yPos = GET_Y_LPARAM(lParam); in WndProc() local
295 eventHandled = window->onMouse(xPos, yPos, skui::InputState::kMove, in WndProc()
/third_party/flutter/skia/third_party/externals/sdl/src/main/haiku/
DSDL_BApp.h330 int32 xPos, yPos; in _HandleWindowMoved() local
335 msg->FindInt32("window-y", &yPos) != B_OK in _HandleWindowMoved()
340 SDL_SendWindowEvent(win, SDL_WINDOWEVENT_MOVED, xPos, yPos); in _HandleWindowMoved()
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_resample.cpp397 real64 yPos = yInt - yFract; in Initialize() local
409 real64 dy2 = yPos * yPos; in Initialize()
421 (real32) kernel.Evaluate (yPos); in Initialize()
/third_party/flutter/skia/src/gpu/text/
DGrTextContext.cpp259 int yPos = (random->nextU() % 2) * 2 - 1; in GR_DRAW_OP_TEST_DEFINE() local
261 int yInt = (random->nextU() % kMaxTrans) * yPos; in GR_DRAW_OP_TEST_DEFINE()
/third_party/skia/src/gpu/ops/
DAtlasTextOp.cpp549 int yPos = (random->nextU() % 2) * 2 - 1; in GR_DRAW_OP_TEST_DEFINE() local
551 int yInt = (random->nextU() % kMaxTrans) * yPos; in GR_DRAW_OP_TEST_DEFINE()

12