Home
last modified time | relevance | path

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

/third_party/skia/docs/examples/
DColor_Wheel.cpp38 SkRect bnds; in draw_color_wheel() local
39 font.measureText(v.str, strlen(v.str), SkTextEncoding::kUTF8, &bnds); in draw_color_wheel()
41 float x = (float)(0.3 * scale * v.radius * cos(pi_over_180 * v.angle) - bnds.centerX()); in draw_color_wheel()
42 float y = (float)(0.3 * scale * v.radius * sin(pi_over_180 * v.angle) - bnds.centerY()); in draw_color_wheel()
/third_party/selinux/libsepol/cil/src/
Dcil_write_ast.c1035 struct cil_bounds *bnds = node->data; in cil_write_ast_node() local
1036 fprintf(out, "(rolebounds %s %s)\n", bnds->parent_str, bnds->child_str); in cil_write_ast_node()