Home
last modified time | relevance | path

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

12345

/external/skia/gm/
Dpoly2poly.cpp22 double lineWidth; member in SkJSCanvas
71 fStrokePaint.setStrokeWidth(SkDoubleToScalar(lineWidth)); in stroke()
114 ctx.lineWidth = 2; in test_stroke()
140 ctx.lineWidth = 2; in test_stroke()
165 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/clang/test/CodeGenObjC/
Darc-linetable-autorelease.m25 …WithWidth:(CGFloat)width height:(CGFloat)height radius:(CGFloat)radius lineWidth:(CGFloat)lineWidth
/external/chromium-trace/catapult/telemetry/third_party/flot/
Djquery.flot.min.js28lineWidth/2))}n.x=n.y=Math.ceil(t),e.each(k(),function(e,t){var r=t.direction;t.reserveSpace&&(n[r… property
/external/deqp/framework/referencerenderer/
DrrRenderState.hpp307 float lineWidth; member
310 : lineWidth(1.0f) in LineState()
DrrRasterizer.hpp183 void init (const tcu::Vec4& v0, const tcu::Vec4& v1, float lineWidth);
224 void init (const tcu::Vec4& v0, const tcu::Vec4& v1, float lineWidth);
DrrRasterizer.cpp872 void SingleSampleLineRasterizer::init (const tcu::Vec4& v0, const tcu::Vec4& v1, float lineWidth) in init() argument
877 const deInt32 lineWidthPixels = (lineWidth > 1.0f) ? (deInt32)floor(lineWidth + 0.5f) : 1; in init()
915 m_lineWidth = lineWidth; in init()
929 …const deInt32 lineWidth = (m_lineWidth > 1.0f) ? deFloorFloatToInt32(m_lineWidth + 0.5f) … in rasterize() local
934 …Int64,2> widthOffset = -minorDirection.cast<deInt64>() * (toSubpixelCoord(lineWidth - 1) / 2); in rasterize()
954 const int rowFragEnd = de::min(maxViewportLimit - fragmentLocation, lineWidth); in rasterize()
1029 void MultiSampleLineRasterizer::init (const tcu::Vec4& v0, const tcu::Vec4& v1, float lineWidth) in init() argument
1037 const float offset = lineWidth / 2.0f; in init()
/external/pdfium/core/fpdfapi/edit/
Dcpdf_pagecontentgenerator.cpp214 FX_FLOAT lineWidth = pPageObj->m_GraphState.GetLineWidth(); in ProcessGraphics() local
215 if (lineWidth != 1.0f) in ProcessGraphics()
216 *buf << lineWidth << " w "; in ProcessGraphics()
/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()
1343 if (currentWidth != lineWidth) in verifySinglesampleLineGroupRasterization()
1345 …, " << y << "). Detected width of " << currentWidth << ", expected " << lineWidth << tcu::TestLog:… in verifySinglesampleLineGroupRasterization()
1424 if (currentWidth != lineWidth) in verifySinglesampleLineGroupRasterization()
1426 …<< y - 1 << "). Detected width of " << currentWidth << ", expected " << lineWidth << tcu::TestLog:… in verifySinglesampleLineGroupRasterization()
[all …]
DtcuRasterizationVerifier.hpp80 float lineWidth; member
/external/deqp/modules/gles31/functional/
Des31fPrimitiveBoundingBoxTests.cpp1780 gl.lineWidth((float)m_wideLineLineWidth); in renderTestPattern()
1799 const float lineWidth = (m_isWideLineCase) ? ((float)m_wideLineLineWidth) : (1.0f); in verifyRenderResult() local
1800 …c4 viewportBBoxArea = getViewportBoundingBoxArea(projectedBBox, config.viewportSize, lineWidth); in verifyRenderResult()
2009 const float lineWidth = (m_isWideLineCase) ? ((float)m_wideLineLineWidth) : (1.0f); in getNumberOfLinesRange() local
2018 else if (linePos * (float)viewportArea > (float)queryAreaBegin - lineWidth*0.5f - 1.0f && in getNumberOfLinesRange()
2019 linePos * (float)viewportArea < (float)queryAreaEnd + lineWidth*0.5f + 1.0f) in getNumberOfLinesRange()
2218 int lineWidth = 0; in checkLineWidths() local
2237 ++lineWidth; in checkLineWidths()
2249 ++lineWidth; in checkLineWidths()
2250 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/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateBaseClass.hpp63 void setDynamicRasterizationState (const float lineWidth = 1.0f,
DvktDynamicStateBaseClass.cpp248 void DynamicStateBaseClass::setDynamicRasterizationState (const float lineWidth, in setDynamicRasterizationState() argument
253 m_vk.cmdSetLineWidth(*m_cmdBuffer, lineWidth); in setDynamicRasterizationState()
/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 …]
Des2fRasterizationTests.cpp210 gl.lineWidth (m_lineWidth); in drawPrimitives()
373 scene.lineWidth = m_lineWidth; in iterate()
378 if (scene.lineWidth != 1.0f && m_numSamples > 1 && !compareOk) in iterate()
1602 …ntext& ctx, const char* name, const char* desc, glw::GLenum primitive, int flags, float lineWidth);
1618 …ontext& ctx, const char* name, const char* desc, glw::GLenum primitive, int flags, float lineWidth) in LineInterpolationTest() argument
1625 m_lineWidth = lineWidth; in LineInterpolationTest()
1669 scene.lineWidth = m_lineWidth; in iterate()
1689 if (scene.lineWidth != 1.0f && m_numSamples > 1) in iterate()
/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/pdfium/xfa/fxgraphics/
Dcfx_graphics.h59 void SetLineWidth(FX_FLOAT lineWidth, bool isActOnDash = false);
/external/swiftshader/src/Renderer/
DRenderer.cpp493 data->lineWidth = context->lineWidth; in draw()
1676 float lineWidth = data.lineWidth; in setupLine() local
1712 float scale = lineWidth * 0.5f / sqrt(dx*dx + dy*dy); in setupLine()
1774 float dx0 = lineWidth * 0.5f * P0.w / W; in setupLine()
1775 float dy0 = lineWidth * 0.5f * P0.w / H; in setupLine()
1777 float dx1 = lineWidth * 0.5f * P1.w / W; in setupLine()
1778 float dy1 = lineWidth * 0.5f * P1.w / H; in setupLine()
2362 context->lineWidth = width; in setLineWidth()
/external/deqp/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationTests.cpp987 rasterizationStateCreateInfo.lineWidth = getLineWidth(); in getRasterizationStateCreateInfo()
1166 const float lineWidth = getLineWidth(); in iterate() local
1172 if (lineWidth <= m_maxLineWidth) in iterate()
1195 scene.lineWidth = lineWidth; in iterate()
1202 …m_context.getTestContext().getLog() << tcu::TestLog::Message << "Line width " << lineWidth << " no… in iterate()
2127 scene.lineWidth = 0; in iterate()
2313 rasterizationStateCreateInfo.lineWidth = getLineWidth(); in getRasterizationStateCreateInfo()
2654 const float lineWidth = getLineWidth(); in iterate() local
2661 if (lineWidth <= m_maxLineWidth) in iterate()
2691 scene.lineWidth = getLineWidth(); in iterate()
[all …]
/external/harfbuzz_ng/src/
Dhb-directwrite.cc551 float lineWidth) in _hb_directwrite_shape_full() argument
735 if (analyzer1 && lineWidth) in _hb_directwrite_shape_full()
755 hr = analyzer1->JustifyGlyphAdvances (lineWidth, glyphCount, justificationOpportunities, in _hb_directwrite_shape_full()
/external/deqp/external/vulkancts/modules/vulkan/clipping/
DvktClippingTests.cpp85 const float lineWidth = 1.0f);
125 const float lineWidth) in DrawContext() argument
135 , m_lineWidth (lineWidth) in DrawContext()
1066 const float lineWidth = std::min(static_cast<float>(RENDER_SIZE), limits.lineWidthRange[1]); in testWideLines() local
1070 << tcu::TestLog::Message << "Line width is " << lineWidth << "." << tcu::TestLog::EndMessage; in testWideLines()
1072 …ces, VK_PRIMITIVE_TOPOLOGY_LINE_LIST, static_cast<deUint32>(RENDER_SIZE), false, false, lineWidth); in testWideLines()

12345