Home
last modified time | relevance | path

Searched refs:thickness (Results 1 - 22 of 22) sorted by relevance

/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/
H A DHolidayBorderPanel.java57 /** Default thickness (10). */
59 /** Default thickness for solid borders (4). */
61 /** Default thickness for raised borders (2). */
63 /** Default thickness for lowered borders (2). */
65 /** Default thickness for etched-in borders (10). */
67 /** Default thickness for etched-out borders (10). */
81 private int thickness; field in HolidayBorderPanel
96 thickness = DEFAULT_THICKNESS; in HolidayBorderPanel()
119 * Constructor. Makes SOLID border with color and thickness given.
122 * @param thickness Th
124 HolidayBorderPanel(Color color, int thickness) HolidayBorderPanel() argument
161 HolidayBorderPanel(int style, int thickness) HolidayBorderPanel() argument
224 setThickness(int thickness) setThickness() argument
[all...]
/third_party/skia/include/core/
H A DSkFontMetrics.h63 SkScalar fUnderlineThickness; //!< underline thickness
65 SkScalar fStrikeoutThickness; //!< strikeout thickness
68 /** Returns true if SkFontMetrics has a valid underline thickness, and sets
69 thickness to that value. If the underline thickness is not valid,
70 return false, and ignore thickness.
72 @param thickness storage for underline width
75 bool hasUnderlineThickness(SkScalar* thickness) const { in hasUnderlineThickness()
77 *thickness = fUnderlineThickness; in hasUnderlineThickness()
98 /** Returns true if SkFontMetrics has a valid strikeout thickness, an
[all...]
/third_party/skia/modules/skparagraph/src/
H A DDecorations.h17 void setThickness(SkScalar thickness) in setThickness() argument
19 fThickness = thickness; in setThickness()
24 setThickness(fDecorationContext.thickness); in setDecorationContext()
H A DTextLine.h33 SkScalar thickness = 0.0f; member
H A DTextLine.cpp285 fDecorationContext.thickness = fDecorationContext.thickness > tmpThick ?
286 fDecorationContext.thickness : tmpThick;
/third_party/mesa3d/src/amd/addrlib/src/r800/
H A Dciaddrlib.cpp645 UINT_32 thickness = Thickness(pCfgTable->mode); in HwlSetupTileCfg() local
646 UINT_32 tileBytes1x = BITS_TO_BYTES(bpp * MicroTilePixels * thickness); in HwlSetupTileCfg()
945 UINT_32 thickness = Thickness(tileMode); in HwlOptimizeTileMode() local
947 if (thickness == 1) in HwlOptimizeTileMode()
965 thickness * HwlGetPipes(&tileInfo) * in HwlOptimizeTileMode()
1032 UINT_32 thickness = Thickness(tileMode); in HwlOverrideTileMode() local
1035 if (thickness > 1) in HwlOverrideTileMode()
1260 UINT_32 thickness = Thickness(tileMode); in HwlSetupTileInfo() local
1270 if (thickness > 1) in HwlSetupTileInfo()
1314 // tileSize = thickness * bp in HwlSetupTileInfo()
1824 UINT_32 thickness = Thickness(tileMode); HwlComputeMacroModeIndex() local
2329 UINT_32 thickness = Thickness(tileMode); CheckTcCompatibility() local
[all...]
H A Dsiaddrlib.cpp1836 UINT_32 thickness, ///< [in] thickness in HwlGetSizeAdjustmentMicroTiled()
1855 // Physical slice: multiplied by thickness in HwlGetSizeAdjustmentMicroTiled()
1856 physicalSliceSize = logicalSliceSize * thickness; in HwlGetSizeAdjustmentMicroTiled()
1866 physicalSliceSize = logicalSliceSize * thickness; in HwlGetSizeAdjustmentMicroTiled()
1959 UINT_32 thickness = Thickness(tileMode); in HwlSetupTileInfo() local
1969 if (bpp == 128 || thickness > 1 || flags.fmask || flags.prt) in HwlSetupTileInfo()
2027 if (thickness > 1) in HwlSetupTileInfo()
2136 if (thickness == 1) in HwlSetupTileInfo()
2186 switch (thickness) in HwlSetupTileInfo()
1835 HwlGetSizeAdjustmentMicroTiled( UINT_32 thickness, UINT_32 bpp, ADDR_SURFACE_FLAGS flags, UINT_32 numSamples, UINT_32 baseAlign, UINT_32 pitchAlign, UINT_32* pPitch, UINT_32* pHeight ) const HwlGetSizeAdjustmentMicroTiled() argument
[all...]
H A Degbaddrlib.cpp369 // Compute the micro tile thickness. in ComputeSurfaceInfoMicroTiled()
380 // micro tile thickness. in ComputeSurfaceInfoMicroTiled()
497 // Compute the micro tile thickness. in ComputeSurfaceInfoMacroTiled()
526 // Re-compute if thickness changed since bank-height may be changed! in ComputeSurfaceInfoMacroTiled()
891 UINT_32 thickness = Thickness(tileMode); in ComputeSurfaceAlignmentsMacroTiled() local
900 BITS_TO_BYTES(64 * thickness * bpp * numSamples)); in ComputeSurfaceAlignmentsMacroTiled()
1106 // micro tile thickness. in ComputeSurfaceMipLevelTileMode()
1997 UINT_32 thickness = Thickness(tileMode);
2022 sampleTileBits = MicroTilePixels * bpp * thickness;
2101 if (thickness >
[all...]
H A Dsiaddrlib.h193 UINT_32 thickness, UINT_32 bpp, ADDR_SURFACE_FLAGS flags, UINT_32 numSamples,
H A Degbaddrlib.h179 UINT_32 thickness, UINT_32 bpp, ADDR_SURFACE_FLAGS flags, UINT_32 numSamples,
/third_party/ffmpeg/libavfilter/
H A Dvf_drawbox.c83 int thickness; member
92 char *t_expr; ///< expression for thickness
341 s->thickness = var_values[VAR_T] = res; in config_input()
369 return (y - s->y < s->thickness) || (s->y + s->h - 1 - y < s->thickness) || in pixel_belongs_to_box()
370 (x - s->x < s->thickness) || (s->x + s->w - 1 - x < s->thickness); in pixel_belongs_to_box()
416 int old_t = s->thickness; in process_command()
434 s->thickness = old_t; in process_command()
455 { "thickness", "se
[all...]
/third_party/mesa3d/src/amd/addrlib/src/core/
H A Daddrlib1.cpp1220 * Get tile mode thickness
1223 * Tile mode thickness
1229 return ModeFlags[tileMode].thickness; in Thickness()
2829 UINT_32 thickness = Thickness(tileMode); in ComputeMicroTileEquation() local
2894 ADDR_ASSERT(thickness == 1); in ComputeMicroTileEquation()
2936 if (thickness > 1) in ComputeMicroTileEquation()
2949 ADDR_ASSERT(thickness > 1); in ComputeMicroTileEquation()
2989 if (thickness == 8) in ComputeMicroTileEquation()
3044 UINT_32 thickness = Thickness(tileMode); in ComputePixelIndexWithinMicroTile() local
3110 ADDR_ASSERT(thickness in ComputePixelIndexWithinMicroTile()
3276 UINT_32 thickness = Thickness(tileMode); PadDimensions() local
3624 UINT_32 thickness = Thickness(tileMode); OptimizeTileMode() local
3772 UINT_32 thickness = Thickness(tileMode); DegradeLargeThickTile() local
[all...]
H A Daddrlib1.h64 UINT_32 thickness : 4; member
/third_party/skia/third_party/externals/imgui/
H A Dimgui_draw.cpp716 void ImDrawList::AddPolyline(const ImVec2* points, const int points_count, ImU32 col, ImDrawFlags flags, float thickness) in AddPolyline() argument
724 const bool thick_line = (thickness > _FringeScale); in AddPolyline()
732 // Thicknesses <1.0 should behave like thickness 1.0 in AddPolyline()
733 thickness = ImMax(thickness, 1.0f); in AddPolyline()
734 const int integer_thickness = (int)thickness; in AddPolyline()
735 const float fractional_thickness = thickness - integer_thickness; in AddPolyline()
773 // The width of the geometry we need to draw - this is essentially <thickness> pixels for the line itself, plus "one pixel" for AA. in AddPolyline()
778 const float half_draw_size = use_texture ? ((thickness * 0.5f) + 1) : AA_SIZE; in AddPolyline()
869 const float half_inner_thickness = (thickness in AddPolyline()
1377 AddLine(const ImVec2& p1, const ImVec2& p2, ImU32 col, float thickness) AddLine() argument
1388 AddRect(const ImVec2& p_min, const ImVec2& p_max, ImU32 col, float rounding, ImDrawFlags flags, float thickness) AddRect() argument
1431 AddQuad(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, ImU32 col, float thickness) AddQuad() argument
1455 AddTriangle(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, ImU32 col, float thickness) AddTriangle() argument
1477 AddCircle(const ImVec2& center, float radius, ImU32 col, int num_segments, float thickness) AddCircle() argument
1526 AddNgon(const ImVec2& center, float radius, ImU32 col, int num_segments, float thickness) AddNgon() argument
1550 AddBezierCubic(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, ImU32 col, float thickness, int num_segments) AddBezierCubic() argument
1561 AddBezierQuadratic(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, ImU32 col, float thickness, int num_segments) AddBezierQuadratic() argument
3780 float thickness = ImMax(sz / 5.0f, 1.0f); RenderCheckMark() local
[all...]
H A Dimgui.h2431 IMGUI_API void AddLine(const ImVec2& p1, const ImVec2& p2, ImU32 col, float thickness = 1.0f);
2432 IMGUI_API void AddRect(const ImVec2& p_min, const ImVec2& p_max, ImU32 col, float rounding = 0.0f, ImDrawFlags flags = 0, float thickness = 1.0f); // a: upper-left, b: lower-right (== upper-left + size)
2435 IMGUI_API void AddQuad(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, ImU32 col, float thickness = 1.0f);
2437 IMGUI_API void AddTriangle(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, ImU32 col, float thickness = 1.0f);
2439 IMGUI_API void AddCircle(const ImVec2& center, float radius, ImU32 col, int num_segments = 0, float thickness = 1.0f);
2441 IMGUI_API void AddNgon(const ImVec2& center, float radius, ImU32 col, int num_segments, float thickness = 1.0f);
2445 IMGUI_API void AddPolyline(const ImVec2* points, int num_points, ImU32 col, ImDrawFlags flags, float thickness);
2447 IMGUI_API void AddBezierCubic(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, ImU32 col, float thickness, int num_segments = 0); // Cubic Bezier (4 control points)
2448 IMGUI_API void AddBezierQuadratic(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, ImU32 col, float thickness, int num_segments = 0); // Quadratic Bezier (3 control points)
2463 inline void PathStroke(ImU32 col, ImDrawFlags flags = 0, float thickness in PathFillConvex()
[all...]
H A Dimgui.cpp491 - 2019/04/29 (1.70) - improved ImDrawList thick strokes (>1.0f) preserving correct thickness up to 90 degrees angles (e.g. rectangles). If you have custom rendering using thick lines, they will appear thicker now.
5372 static ImRect GetResizeBorderRect(ImGuiWindow* window, int border_n, float perp_padding, float thickness) in GetResizeBorderRect() argument
5375 if (thickness == 0.0f) in GetResizeBorderRect()
5377 if (border_n == ImGuiDir_Left) { return ImRect(rect.Min.x - thickness, rect.Min.y + perp_padding, rect.Min.x + thickness, rect.Max.y - perp_padding); } in GetResizeBorderRect()
5378 if (border_n == ImGuiDir_Right) { return ImRect(rect.Max.x - thickness, rect.Min.y + perp_padding, rect.Max.x + thickness, rect.Max.y - perp_padding); } in GetResizeBorderRect()
5379 if (border_n == ImGuiDir_Up) { return ImRect(rect.Min.x + perp_padding, rect.Min.y - thickness, rect.Max.x - perp_padding, rect.Min.y + thickness); } in GetResizeBorderRect()
5380 if (border_n == ImGuiDir_Down) { return ImRect(rect.Min.x + perp_padding, rect.Max.y - thickness, rec in GetResizeBorderRect()
11617 float thickness = (table->HoveredColumnBody == column_n) ? 3.0f : 1.0f; ShowMetricsWindow() local
[all...]
H A Dimgui_demo.cpp7189 static float thickness = 3.0f; local
7197 ImGui::DragFloat("Thickness", &thickness, 0.05f, 1.0f, 8.0f, "%.02f");
7218 // First line uses a thickness of 1.0f, second line uses the configurable thickness
7219 float th = (n == 0) ? 1.0f : thickness;
7249 draw_list->AddRectFilled(ImVec2(x, y), ImVec2(x + sz, y + thickness), col); x += sz + spacing; // Horizontal line (faster than AddLine, but only handle integer thickness)
7250 draw_list->AddRectFilled(ImVec2(x, y), ImVec2(x + thickness, y + sz), col); x += spacing * 2.0f;// Vertical line (faster than AddLine, but only handle integer thickness)
/third_party/mesa3d/src/imgui/
H A Dimgui.h1830 IMGUI_API void AddLine(const ImVec2& a, const ImVec2& b, ImU32 col, float thickness = 1.0f);
1831 IMGUI_API void AddRect(const ImVec2& a, const ImVec2& b, ImU32 col, float rounding = 0.0f, int rounding_corners_flags = ImDrawCornerFlags_All, float thickness = 1.0f); // a: upper-left, b: lower-right, rounding_corners_flags: 4-bits corresponding to which corner to round
1834 IMGUI_API void AddQuad(const ImVec2& a, const ImVec2& b, const ImVec2& c, const ImVec2& d, ImU32 col, float thickness = 1.0f);
1836 IMGUI_API void AddTriangle(const ImVec2& a, const ImVec2& b, const ImVec2& c, ImU32 col, float thickness = 1.0f);
1838 IMGUI_API void AddCircle(const ImVec2& centre, float radius, ImU32 col, int num_segments = 12, float thickness = 1.0f);
1845 IMGUI_API void AddPolyline(const ImVec2* points, const int num_points, ImU32 col, bool closed, float thickness);
1847 IMGUI_API void AddBezierCurve(const ImVec2& pos0, const ImVec2& cp0, const ImVec2& cp1, const ImVec2& pos1, ImU32 col, float thickness, int num_segments = 0);
1854 inline void PathStroke(ImU32 col, bool closed, float thickness = 1.0f) { AddPolyline(_Path.Data, _Path.Size, col, closed, thickness); _Path.Size = 0; } in PathStroke()
H A Dimgui_draw.cpp669 void ImDrawList::AddPolyline(const ImVec2* points, const int points_count, ImU32 col, bool closed, float thickness) in AddPolyline() argument
680 const bool thick_line = thickness > 1.0f; in AddPolyline()
759 const float half_inner_thickness = (thickness - AA_SIZE) * 0.5f; in AddPolyline()
839 dx *= (thickness * 0.5f); in AddPolyline()
840 dy *= (thickness * 0.5f); in AddPolyline()
1046 void ImDrawList::AddLine(const ImVec2& a, const ImVec2& b, ImU32 col, float thickness) in AddLine() argument
1052 PathStroke(col, false, thickness); in AddLine()
1056 void ImDrawList::AddRect(const ImVec2& a, const ImVec2& b, ImU32 col, float rounding, int rounding_corners_flags, float thickness) in AddRect() argument
1064 PathStroke(col, true, thickness); in AddRect()
1098 void ImDrawList::AddQuad(const ImVec2& a, const ImVec2& b, const ImVec2& c, const ImVec2& d, ImU32 col, float thickness) in AddQuad() argument
1122 AddTriangle(const ImVec2& a, const ImVec2& b, const ImVec2& c, ImU32 col, float thickness) AddTriangle() argument
1144 AddCircle(const ImVec2& centre, float radius, ImU32 col, int num_segments, float thickness) AddCircle() argument
1166 AddBezierCurve(const ImVec2& pos0, const ImVec2& cp0, const ImVec2& cp1, const ImVec2& pos1, ImU32 col, float thickness, int num_segments) AddBezierCurve() argument
[all...]
H A Dimgui.cpp2445 float thickness = ImMax(sz / 5.0f, 1.0f); in RenderCheckMark() local
2446 sz -= thickness*0.5f; in RenderCheckMark()
2447 pos += ImVec2(thickness*0.25f, thickness*0.25f); in RenderCheckMark()
2455 window->DrawList->PathStroke(col, false, thickness); in RenderCheckMark()
4684 static ImRect GetResizeBorderRect(ImGuiWindow* window, int border_n, float perp_padding, float thickness) in GetResizeBorderRect() argument
4687 if (thickness == 0.0f) rect.Max -= ImVec2(1,1); in GetResizeBorderRect()
4688 if (border_n == 0) return ImRect(rect.Min.x + perp_padding, rect.Min.y - thickness, rect.Max.x - perp_padding, rect.Min.y + thickness); // Top in GetResizeBorderRect()
4689 if (border_n == 1) return ImRect(rect.Max.x - thickness, rec in GetResizeBorderRect()
[all...]
/third_party/glfw/deps/
H A Dnuklear.h4775 NK_API void nk_draw_list_path_stroke(struct nk_draw_list*, struct nk_color, enum nk_draw_list_stroke closed, float thickness);
4778 NK_API void nk_draw_list_stroke_line(struct nk_draw_list*, struct nk_vec2 a, struct nk_vec2 b, struct nk_color, float thickness);
4779 NK_API void nk_draw_list_stroke_rect(struct nk_draw_list*, struct nk_rect rect, struct nk_color, float rounding, float thickness);
4780 NK_API void nk_draw_list_stroke_triangle(struct nk_draw_list*, struct nk_vec2 a, struct nk_vec2 b, struct nk_vec2 c, struct nk_color, float thickness);
4781 NK_API void nk_draw_list_stroke_circle(struct nk_draw_list*, struct nk_vec2 center, float radius, struct nk_color, unsigned int segs, float thickness);
4782 NK_API void nk_draw_list_stroke_curve(struct nk_draw_list*, struct nk_vec2 p0, struct nk_vec2 cp0, struct nk_vec2 cp1, struct nk_vec2 p1, struct nk_color, unsigned int segments, float thickness);
4783 NK_API void nk_draw_list_stroke_poly_line(struct nk_draw_list*, const struct nk_vec2 *pnts, const unsigned int cnt, struct nk_color, enum nk_draw_list_stroke, float thickness, enum nk_anti_aliasing);
9626 float thickness, enum nk_anti_aliasing aliasing) in nk_draw_list_stroke_poly_line()
9638 thick_line = thickness > 1.0f; in nk_draw_list_stroke_poly_line()
9752 const float half_inner_thickness = (thickness in nk_draw_list_stroke_poly_line()
9624 nk_draw_list_stroke_poly_line(struct nk_draw_list *list, const struct nk_vec2 *points, const unsigned int points_count, struct nk_color color, enum nk_draw_list_stroke closed, float thickness, enum nk_anti_aliasing aliasing) nk_draw_list_stroke_poly_line() argument
10136 nk_draw_list_path_stroke(struct nk_draw_list *list, struct nk_color color, enum nk_draw_list_stroke closed, float thickness) nk_draw_list_path_stroke() argument
10148 nk_draw_list_stroke_line(struct nk_draw_list *list, struct nk_vec2 a, struct nk_vec2 b, struct nk_color col, float thickness) nk_draw_list_stroke_line() argument
10178 nk_draw_list_stroke_rect(struct nk_draw_list *list, struct nk_rect rect, struct nk_color col, float rounding, float thickness) nk_draw_list_stroke_rect() argument
10237 nk_draw_list_stroke_triangle(struct nk_draw_list *list, struct nk_vec2 a, struct nk_vec2 b, struct nk_vec2 c, struct nk_color col, float thickness) nk_draw_list_stroke_triangle() argument
10259 nk_draw_list_stroke_circle(struct nk_draw_list *list, struct nk_vec2 center, float radius, struct nk_color col, unsigned int segs, float thickness) nk_draw_list_stroke_circle() argument
10270 nk_draw_list_stroke_curve(struct nk_draw_list *list, struct nk_vec2 p0, struct nk_vec2 cp0, struct nk_vec2 cp1, struct nk_vec2 p1, struct nk_color col, unsigned int segments, float thickness) nk_draw_list_stroke_curve() argument
[all...]
/third_party/skia/third_party/externals/microhttpd/doc/
H A Dtexinfo.tex6362 % each corner char, and rule thickness

Completed in 115 milliseconds