Home
last modified time | relevance | path

Searched refs:border_radius (Results 1 – 2 of 2) sorted by relevance

/external/chromium/chrome/browser/chromeos/frame/
Dbubble_window.cc61 int border_radius) { in TrimMargins() argument
65 GdkRectangle rect0 = {0, border_radius, w, h - 2 * border_radius}; in TrimMargins()
66 GdkRectangle rect1 = {border_radius, 0, w - 2 * border_radius, h}; in TrimMargins()
71 for (int i = 0; i < border_radius; ++i) { in TrimMargins()
72 for (int j = 0; j < border_radius; ++j) { in TrimMargins()
73 if (IsInsideCircle(i + 0.5, j + 0.5, border_radius, border_radius, in TrimMargins()
74 border_radius)) { in TrimMargins()
80 for (int i = w - border_radius - 1; i < w; ++i) { in TrimMargins()
81 for (int j = 0; j < border_radius; ++j) { in TrimMargins()
82 if (IsInsideCircle(i + 0.5, j + 0.5, w - border_radius - 1, in TrimMargins()
[all …]
Dbubble_window.h48 int margin_bottom, int border_radius);