Home
last modified time | relevance | path

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

/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/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/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/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/lzma/CPP/7zip/UI/FileManager/
DProgressDialog2.cpp466 int yPos = ySize - my - _buttonSizeY; in OnSize() local
492 int ySize2 = yPos - my - y; in OnSize()
508 MoveItem(IDCANCEL, xPos, yPos, bSizeX, _buttonSizeY); in OnSize()
510 MoveItem(IDB_PAUSE, xPos, yPos, bSizeX, _buttonSizeY); in OnSize()
512 MoveItem(IDB_PROGRESS_BACKGROUND, xPos, yPos, bSizeX, _buttonSizeY); in OnSize()
542 yPos = my; in OnSize()
550 yPos = my; in OnSize()
554 MoveItem(kIDs[i], x, yPos, labelSize, sY); in OnSize()
555 MoveItem(kIDs[i + 1], x + labelSize, yPos, valueSize, sY); in OnSize()
556 yPos += sStep; in OnSize()
/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/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()
/third_party/skia/tests/
DImageFilterTest.cpp776 const SkScalar yPos = SkIntToScalar(height); in DEF_TEST() local
787 untiledCanvas.drawString(text, 0, yPos, font, combinedPaint); in DEF_TEST()
800 tiledCanvas.drawString(text, 0, yPos, font, textPaint); in DEF_TEST()
804 tiledCanvas.drawString(text, 0, yPos, font, combinedPaint); in DEF_TEST()