/external/chromium_org/chrome/browser/ui/gtk/ |
throbber_gtk.cc | 60 cairo_t* cairo_context = local 64 cairo_translate(cairo_context, allocation.x, allocation.y); 72 cairo_frames->SetSource(cairo_context, widget, -image_offset, 0); 73 cairo_rectangle(cairo_context, 0, 0, image_size, image_size); 74 cairo_fill(cairo_context); 75 cairo_destroy(cairo_context);
|
screen_capture_notification_ui_gtk.cc | 174 void AddRoundRectPath(cairo_t* cairo_context, int width, int height, 176 cairo_new_sub_path(cairo_context); 177 cairo_arc(cairo_context, width - radius, radius, radius, -M_PI_2, 0); 178 cairo_arc(cairo_context, width - radius, height - radius, radius, 0, M_PI_2); 179 cairo_arc(cairo_context, radius, height - radius, radius, M_PI_2, 2 * M_PI_2); 180 cairo_arc(cairo_context, radius, radius, radius, 2 * M_PI_2, 3 * M_PI_2); 181 cairo_close_path(cairo_context); 198 cairo_t* cairo_context = gdk_cairo_create(shape_mask); local 204 cairo_set_source_rgba(cairo_context, 0, 0, 0, 0); 205 cairo_set_operator(cairo_context, CAIRO_OPERATOR_SOURCE) [all...] |
/external/chromium_org/remoting/host/ |
disconnect_window_gtk.cc | 58 void AddRoundRectPath(cairo_t* cairo_context, int width, int height, 60 cairo_new_sub_path(cairo_context); 61 cairo_arc(cairo_context, width - radius, radius, radius, -M_PI_2, 0); 62 cairo_arc(cairo_context, width - radius, height - radius, radius, 0, M_PI_2); 63 cairo_arc(cairo_context, radius, height - radius, radius, M_PI_2, 2 * M_PI_2); 64 cairo_arc(cairo_context, radius, radius, radius, 2 * M_PI_2, 3 * M_PI_2); 65 cairo_close_path(cairo_context); 201 cairo_t* cairo_context = gdk_cairo_create(shape_mask); local 207 cairo_set_source_rgba(cairo_context, 0, 0, 0, 0); 208 cairo_set_operator(cairo_context, CAIRO_OPERATOR_SOURCE) [all...] |
/external/chromium/chrome/browser/ui/gtk/tabs/ |
dragged_tab_gtk.cc | 221 cairo_t* cairo_context = gdk_cairo_create(container_->window); local 222 if (!cairo_context) 228 cairo_scale(cairo_context, static_cast<double>(size.width()), 230 cairo_set_source_rgba(cairo_context, 1.0f, 1.0f, 1.0f, 0.0f); 231 cairo_set_operator(cairo_context, CAIRO_OPERATOR_SOURCE); 232 cairo_paint(cairo_context); 233 cairo_destroy(cairo_context); 240 cairo_t* cairo_context = gdk_cairo_create(GDK_DRAWABLE(pixmap)); local 243 cairo_set_source_rgba(cairo_context, 1.0f, 1.0f, 1.0f, 0.0f); 247 cairo_set_operator(cairo_context, CAIRO_OPERATOR_SOURCE) [all...] |
tab_strip_gtk.cc | 1719 cairo_t* cairo_context = gdk_cairo_create(container->window); local 1742 cairo_t* cairo_context = gdk_cairo_create(GDK_DRAWABLE(pixmap)); local [all...] |
/external/chromium_org/chrome/browser/ui/gtk/tabs/ |
dragged_view_gtk.cc | 318 cairo_t* cairo_context = gdk_cairo_create(gtk_widget_get_window(container_)); local 319 if (!cairo_context) 325 cairo_scale(cairo_context, static_cast<double>(size.width()), 327 cairo_set_source_rgba(cairo_context, 1.0f, 1.0f, 1.0f, 0.0f); 328 cairo_set_operator(cairo_context, CAIRO_OPERATOR_SOURCE); 329 cairo_paint(cairo_context); 330 cairo_destroy(cairo_context); 337 cairo_t* cairo_context = gdk_cairo_create(GDK_DRAWABLE(pixmap)); local 340 cairo_set_source_rgba(cairo_context, 1.0f, 1.0f, 1.0f, 0.0f); 345 cairo_scale(cairo_context, kScalingFactor, kScalingFactor) [all...] |
tab_strip_gtk.cc | 1863 cairo_t* cairo_context = gdk_cairo_create(gtk_widget_get_window(container)); local 1886 cairo_t* cairo_context = gdk_cairo_create(GDK_DRAWABLE(pixmap)); local [all...] |