Home
last modified time | relevance | path

Searched refs:lineWidth (Results 1 – 25 of 129) sorted by relevance

123456

/external/skia/gm/
Dpoly2poly.cpp22 double lineWidth; member in SkJSCanvas
71 fStrokePaint.setStrokeWidth(SkDoubleToScalar(lineWidth)); in stroke()
113 ctx.lineWidth = 2; in test_stroke()
139 ctx.lineWidth = 2; in test_stroke()
164 ctx.lineWidth = 1; in test_stroke()
Dblurcircles2.cpp88 SkScalar lineWidth = 0; in onDraw() local
92 lineWidth += 2 * (radius + kMaxBlurRadius) + kPad; in onDraw()
128 canvas->drawLine(0, lineY, lineWidth, lineY, blackPaint); in onDraw()
/external/skqp/gm/
Dpoly2poly.cpp22 double lineWidth; member in SkJSCanvas
71 fStrokePaint.setStrokeWidth(SkDoubleToScalar(lineWidth)); in stroke()
113 ctx.lineWidth = 2; in test_stroke()
139 ctx.lineWidth = 2; in test_stroke()
164 ctx.lineWidth = 1; in test_stroke()
Dblurcircles2.cpp88 SkScalar lineWidth = 0; in onDraw() local
92 lineWidth += 2 * (radius + kMaxBlurRadius) + kPad; in onDraw()
128 canvas->drawLine(0, lineY, lineWidth, lineY, blackPaint); in onDraw()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DTouchCatcherView.java56 float lineWidth = 10f * density; in initialisePaint() local
58 linePaint.setStrokeWidth(lineWidth); in initialisePaint()
/external/clang/test/CodeGenObjC/
Darc-linetable-autorelease.m25 …WithWidth:(CGFloat)width height:(CGFloat)height radius:(CGFloat)radius lineWidth:(CGFloat)lineWidth
/external/deqp/framework/referencerenderer/
DrrRasterizer.hpp184 void init (const tcu::Vec4& v0, const tcu::Vec4& v1, float lineWidth);
225 void init (const tcu::Vec4& v0, const tcu::Vec4& v1, float lineWidth);
DrrRenderState.hpp318 float lineWidth; member
321 : lineWidth(1.0f) in LineState()
DrrRasterizer.cpp877 void SingleSampleLineRasterizer::init (const tcu::Vec4& v0, const tcu::Vec4& v1, float lineWidth) in init() argument
882 const deInt32 lineWidthPixels = (lineWidth > 1.0f) ? (deInt32)floor(lineWidth + 0.5f) : 1; in init()
920 m_lineWidth = lineWidth; in init()
934 …const deInt32 lineWidth = (m_lineWidth > 1.0f) ? deFloorFloatToInt32(m_lineWidth + 0.5f) … in rasterize() local
939 …Int64,2> widthOffset = -minorDirection.cast<deInt64>() * (toSubpixelCoord(lineWidth - 1) / 2); in rasterize()
959 const int rowFragEnd = de::min(maxViewportLimit - fragmentLocation, lineWidth); in rasterize()
1034 void MultiSampleLineRasterizer::init (const tcu::Vec4& v0, const tcu::Vec4& v1, float lineWidth) in init() argument
1042 const float offset = lineWidth / 2.0f; in init()
/external/icu/icu4c/source/samples/layout/
Dpflow.c283 float lineWidth; in pf_breakLines() local
295 lineWidth = (float) (width - 2 * MARGIN); in pf_breakLines()
309 while ((line = pl_nextLine(paragraphLayout, lineWidth)) != NULL) { in pf_breakLines()
Dparagraph.cpp203 float lineWidth = (float) (width - 2 * MARGIN); in breakLines() local
218 while ((line = paragraphLayout->nextLine(lineWidth)) != NULL) { in breakLines()
/external/deqp/framework/common/
DtcuRasterizationVerifier.cpp915 const float halfLineWidth = scene.lineWidth * 0.5f; in verifyMultisampleLineGroupRasterization()
974 const float halfLineWidth = scene.lineWidth * 0.5f; in verifyMultisampleLineGroupInterpolation()
1095 …DE_ASSERT(deFloatFrac(scene.lineWidth) != 0.5f); // rounding direction is not defined, disallow un… in verifySinglesampleLineGroupRasterization()
1102 int lineWidth = deFloorFloatToInt32(scene.lineWidth + 0.5f); in verifySinglesampleLineGroupRasterization() local
1124 scene.lineWidth); in verifySinglesampleLineGroupRasterization()
1233 …int allowedDeviation = (int)scene.lines.size() * lineWidth; // one pixel per primitive in the majo… in verifySinglesampleLineGroupRasterization()
1347 if (currentWidth != lineWidth) in verifySinglesampleLineGroupRasterization()
1349 …, " << y << "). Detected width of " << currentWidth << ", expected " << lineWidth << tcu::TestLog:… in verifySinglesampleLineGroupRasterization()
1432 if (currentWidth != lineWidth) in verifySinglesampleLineGroupRasterization()
1434 …<< y - 1 << "). Detected width of " << currentWidth << ", expected " << lineWidth << tcu::TestLog:… in verifySinglesampleLineGroupRasterization()
[all …]
DtcuRasterizationVerifier.hpp81 float lineWidth; member
/external/pdfium/core/fpdfapi/edit/
Dcpdf_pagecontentgenerator.cpp278 float lineWidth = pPageObj->m_GraphState.GetLineWidth(); in ProcessGraphics() local
279 if (lineWidth != 1.0f) in ProcessGraphics()
280 *buf << lineWidth << " w "; in ProcessGraphics()
/external/deqp/modules/gles31/functional/
Des31fPrimitiveBoundingBoxTests.cpp1816 gl.lineWidth((float)m_wideLineLineWidth); in renderTestPattern()
1835 const float lineWidth = (m_isWideLineCase) ? ((float)m_wideLineLineWidth) : (1.0f); in verifyRenderResult() local
1836 …c4 viewportBBoxArea = getViewportBoundingBoxArea(projectedBBox, config.viewportSize, lineWidth); in verifyRenderResult()
2045 const float lineWidth = (m_isWideLineCase) ? ((float)m_wideLineLineWidth) : (1.0f); in getNumberOfLinesRange() local
2054 else if (linePos * (float)viewportArea > (float)queryAreaBegin - lineWidth*0.5f - 1.0f && in getNumberOfLinesRange()
2055 linePos * (float)viewportArea < (float)queryAreaEnd + lineWidth*0.5f + 1.0f) in getNumberOfLinesRange()
2254 int lineWidth = 0; in checkLineWidths() local
2273 ++lineWidth; in checkLineWidths()
2285 ++lineWidth; in checkLineWidths()
2286 else if (lineWidth) in checkLineWidths()
[all …]
Des31fShaderHelperInvocationTests.cpp191 const float lineWidth = de::min(rnd->getFloat(minLineWidth, maxLineWidth), range.y()); in drawRandomPrimitives() local
193 gl.lineWidth(lineWidth); in drawRandomPrimitives()
/external/deqp/modules/gles3/functional/
Des3fClippingTests.cpp312 void checkLineWidth (const glw::Functions& gl, float lineWidth) in checkLineWidth() argument
316 if (lineWidthRange[1] < lineWidth) in checkLineWidth()
608 …ColoredLineData* linesBegin, const ColoredLineData* linesEnd, float lineWidth, const rr::Windo…
609 …ColorlessLineData* linesBegin, const ColorlessLineData* linesEnd, float lineWidth, const rr::Windo…
625 …nst ColoredLineData* linesBegin, const ColoredLineData* linesEnd, float lineWidth, const rr::Windo… in LineRenderTestCase() argument
627 , m_lineWidth (lineWidth) in LineRenderTestCase()
633 …ColorlessLineData* linesBegin, const ColorlessLineData* linesEnd, float lineWidth, const rr::Windo… in LineRenderTestCase() argument
635 , m_lineWidth (lineWidth) in LineRenderTestCase()
696 ctx.lineWidth (m_lineWidth); in testRender()
733 …inesBegin, const LineRenderTestCase::ColorlessLineData* linesEnd, float lineWidth, const rr::Windo…
[all …]
Des3fRasterizationTests.cpp375 gl.lineWidth (getLineWidth()); in drawPrimitives()
576 const float lineWidth = getLineWidth(); in iterate() local
582 if (lineWidth <= m_maxLineWidth) in iterate()
603 scene.lineWidth = lineWidth; in iterate()
608 if (scene.lineWidth != 1.0f && m_numSamples > 1 && !compareOk) in iterate()
619 …m_testCtx.getLog() << tcu::TestLog::Message << "Line width " << lineWidth << " not supported, skip… in iterate()
1983 const float lineWidth = getLineWidth(); in iterate() local
1990 if (lineWidth <= m_maxLineWidth) in iterate()
2019 scene.lineWidth = getLineWidth(); in iterate()
2039 if (scene.lineWidth != 1.0f && m_numSamples > 1) in iterate()
[all …]
/external/deqp/modules/gles2/functional/
Des2fClippingTests.cpp309 void checkLineWidth (const glw::Functions& gl, float lineWidth) in checkLineWidth() argument
313 if (lineWidthRange[1] < lineWidth) in checkLineWidth()
605 …ColoredLineData* linesBegin, const ColoredLineData* linesEnd, float lineWidth, const rr::Windo…
606 …ColorlessLineData* linesBegin, const ColorlessLineData* linesEnd, float lineWidth, const rr::Windo…
622 …nst ColoredLineData* linesBegin, const ColoredLineData* linesEnd, float lineWidth, const rr::Windo… in LineRenderTestCase() argument
624 , m_lineWidth (lineWidth) in LineRenderTestCase()
630 …ColorlessLineData* linesBegin, const ColorlessLineData* linesEnd, float lineWidth, const rr::Windo… in LineRenderTestCase() argument
632 , m_lineWidth (lineWidth) in LineRenderTestCase()
693 ctx.lineWidth (m_lineWidth); in testRender()
730 …inesBegin, const LineRenderTestCase::ColorlessLineData* linesEnd, float lineWidth, const rr::Windo…
[all …]
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateBaseClass.cpp248 void DynamicStateBaseClass::setDynamicRasterizationState (const float lineWidth, in setDynamicRasterizationState() argument
253 m_vk.cmdSetLineWidth(*m_cmdBuffer, lineWidth); in setDynamicRasterizationState()
DvktDynamicStateBaseClass.hpp63 void setDynamicRasterizationState (const float lineWidth = 1.0f,
/external/pdfium/xfa/fxgraphics/
Dcxfa_graphics.h50 void SetLineWidth(float lineWidth);
/external/swiftshader/src/Renderer/
DRenderer.cpp493 data->lineWidth = context->lineWidth; in draw()
1720 float lineWidth = data.lineWidth; in setupLine() local
1756 float scale = lineWidth * 0.5f / sqrt(dx*dx + dy*dy); in setupLine()
1814 float dx0 = lineWidth * 0.5f * P0.w / W; in setupLine()
1815 float dy0 = lineWidth * 0.5f * P0.w / H; in setupLine()
1817 float dx1 = lineWidth * 0.5f * P1.w / W; in setupLine()
1818 float dy1 = lineWidth * 0.5f * P1.w / H; in setupLine()
2474 context->lineWidth = width; in setLineWidth()
/external/deqp/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationTests.cpp957 rasterizationStateCreateInfo.lineWidth = getLineWidth(); in getRasterizationStateCreateInfo()
1136 const float lineWidth = getLineWidth(); in iterate() local
1142 if (lineWidth <= m_maxLineWidth) in iterate()
1165 scene.lineWidth = lineWidth; in iterate()
1172 …m_context.getTestContext().getLog() << tcu::TestLog::Message << "Line width " << lineWidth << " no… in iterate()
2097 scene.lineWidth = 0; in iterate()
2283 rasterizationStateCreateInfo.lineWidth = getLineWidth(); in getRasterizationStateCreateInfo()
2624 const float lineWidth = getLineWidth(); in iterate() local
2631 if (lineWidth <= m_maxLineWidth) in iterate()
2661 scene.lineWidth = getLineWidth(); in iterate()
[all …]
/external/harfbuzz_ng/src/
Dhb-directwrite.cc549 float lineWidth) in _hb_directwrite_shape_full() argument
733 if (analyzer1 && lineWidth) in _hb_directwrite_shape_full()
753 hr = analyzer1->JustifyGlyphAdvances (lineWidth, glyphCount, justificationOpportunities, in _hb_directwrite_shape_full()

123456