Searched refs:src_rect (Results 1 - 25 of 71) sorted by relevance

123

/external/chromium_org/skia/ext/
H A Dvector_platform_device_skia.h37 const RECT* src_rect) OVERRIDE;
42 const CGRect* src_rect) OVERRIDE;
48 const PlatformRect* src_rect) OVERRIDE;
H A Dvector_platform_device_skia.cc67 const RECT* src_rect) {
72 int y, const CGRect* src_rect) {
82 PlatformSurface surface, int x, int y, const PlatformRect* src_rect) {
64 DrawToNativeContext(HDC dc, int x, int y, const RECT* src_rect) argument
71 DrawToNativeContext(CGContext* context, int x, int y, const CGRect* src_rect) argument
81 DrawToNativeContext( PlatformSurface surface, int x, int y, const PlatformRect* src_rect) argument
H A Dbitmap_platform_device_win.cc211 const RECT* src_rect) {
216 if (!src_rect) {
221 src_rect = &temp_rect;
224 int copy_width = src_rect->right - src_rect->left;
225 int copy_height = src_rect->bottom - src_rect->top;
240 src_rect->left,
241 src_rect->top,
252 src_rect
210 DrawToNativeContext(HDC dc, int x, int y, const RECT* src_rect) argument
[all...]
H A Dplatform_canvas.cc36 int y, const PlatformRect* src_rect) {
39 platform_device->DrawToNativeContext(context, x, y, src_rect);
35 DrawToNativeContext(SkCanvas* canvas, PlatformSurface context, int x, int y, const PlatformRect* src_rect) argument
H A Dbitmap_platform_device_skia.h47 const PlatformRect* src_rect) OVERRIDE;
H A Dbitmap_platform_device_mac.cc210 int y, const CGRect* src_rect) {
223 if (src_rect) {
224 bounds.size.width = src_rect->size.width;
225 bounds.size.height = src_rect->size.height;
226 CGImageRef sub_image = CGImageCreateWithImageInRect(image, *src_rect);
209 DrawToNativeContext(CGContextRef context, int x, int y, const CGRect* src_rect) argument
/external/chromium_org/ash/wm/overview/
H A Dwindow_selector_window.cc68 gfx::Rect src_rect = transform_window_.GetBoundsInScreen(); local
70 ShrinkRectToFitPreservingAspectRatio(src_rect, target_bounds));
72 ScopedTransformOverviewWindow::GetTransformForRect(src_rect, bounds()),
H A Dscoped_transform_overview_window.cc185 const gfx::Rect& src_rect,
187 DCHECK(!src_rect.IsEmpty());
190 transform.Translate(dst_rect.x() - src_rect.x(),
191 dst_rect.y() - src_rect.y());
192 transform.Scale(static_cast<float>(dst_rect.width()) / src_rect.width(),
193 static_cast<float>(dst_rect.height()) / src_rect.height());
184 GetTransformForRect( const gfx::Rect& src_rect, const gfx::Rect& dst_rect) argument
/external/chromium_org/ui/gfx/
H A Dblit.cc75 Rect src_rect(src_origin, dst_rect.size());
81 src_rect.Offset(transform.tx, delta_y);
86 CGImageCreateWithImageInRect(src_image, src_rect.ToCGRect()));
174 gfx::Rect src_rect = dest_rect - offset;
181 bitmap.getAddr32(src_rect.x(), src_rect.y() + y),
188 bitmap.getAddr32(src_rect.x(), src_rect.y() + y),
197 bitmap.getAddr32(src_rect.x(), src_rect
[all...]
/external/chromium_org/native_client_sdk/src/examples/demo/flock/
H A Dsprite.h37 // Composite the section of the Sprite contained in |src_rect| into the given
40 void CompositeFromRectToPoint(const pp::Rect& src_rect,
H A Dsprite.cc44 void Sprite::CompositeFromRectToPoint(const pp::Rect& src_rect, argument
51 pp::Rect src_rect_clipped(src_rect.Intersect(src_bounds));
/external/chromium_org/ppapi/proxy/
H A Dgraphics_2d_resource.cc59 const PP_Rect* src_rect) {
72 !!src_rect, src_rect ? *src_rect : dummy));
57 PaintImageData(PP_Resource image_data, const PP_Point* top_left, const PP_Rect* src_rect) argument
/external/chromium_org/ppapi/c/
H A Dppb_graphics_2d.h100 * in <code>src_rect</code> will be copied into the backing store. This
101 * means that the rectangle being painted will be at <code>src_rect</code>
104 * The <code>src_rect</code> is specified in the coordinate system of the
106 * entire image, you may specify an empty <code>src_rect</code>.
111 * as the <code>src_rect</code> subset of it falls entirely within the
117 * <code>top_left</code> and set <code>src_rect</code> to <code>NULL</code>.
120 * location of your image to (0,0) and then set <code>src_rect</code> to the
128 * @param[in] src_rect The rectangular area where the <code>ImageData</code>
134 const struct PP_Rect* src_rect);
294 const struct PP_Rect* src_rect);
[all...]
/external/chromium_org/ui/ozone/platform/dri/
H A Dhardware_display_plane.cc72 const gfx::Rect& src_rect) {
87 property_set_, plane_id_, src_x_prop_.id_, src_rect.x()) ||
89 property_set_, plane_id_, src_y_prop_.id_, src_rect.x()) ||
91 property_set_, plane_id_, src_w_prop_.id_, src_rect.width()) ||
93 property_set_, plane_id_, src_h_prop_.id_, src_rect.height());
69 SetPlaneData(uint32_t crtc_id, uint32_t framebuffer, const gfx::Rect& crtc_rect, const gfx::Rect& src_rect) argument
/external/pdfium/core/src/fxge/ge/
H A Dfx_ge_device.cpp260 FX_RECT src_rect(0, 0, FXSYS_round(rect.Width() * fScaleX), FXSYS_round(rect.Height() * fScaleY));
261 return m_pDeviceDriver->SetDIBits(&bitmap, 0, &src_rect, rect.left, rect.top, FXDIB_BLEND_NORMAL);
291 FX_RECT src_rect(0, 0, pRect->Width(), pRect->Height());
292 m_pDeviceDriver->SetDIBits(&bitmap, 0, &src_rect, pRect->left, pRect->top, FXDIB_BLEND_NORMAL);
334 FX_RECT src_rect(dest_rect.left - left, dest_rect.top - top,
336 src_rect.left = FXSYS_round(src_rect.left * fScaleX);
337 src_rect.top = FXSYS_round(src_rect.top * fScaleY);
338 src_rect
[all...]
/external/chromium_org/ppapi/cpp/
H A Dgraphics_2d.cc88 const Rect& src_rect) {
93 &src_rect.pp_rect());
98 &src_rect.pp_rect());
86 PaintImageData(const ImageData& image, const Point& top_left, const Rect& src_rect) argument
H A Dgraphics_2d.h97 /// <code>top_left</code> and set <code>src_rect</code> to <code>NULL</code>.
115 /// in <code>src_rect</code> will be copied into the backing store. This
116 /// means that the rectangle being painted will be at <code>src_rect</code>
119 /// The <code>src_rect</code> is specified in the coordinate system of the
121 /// entire image, you may specify an empty <code>src_rect</code>.
126 /// as the <code>src_rect</code> subset of it falls entirely within the
132 /// <code>top_left</code> and set <code>src_rect</code> to <code>NULL</code>.
135 /// location of your image to (0,0) and then set <code>src_rect</code> to the
142 /// @param[in] src_rect The rectangular area where the <code>ImageData</code>
146 const Rect& src_rect);
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
H A Dvl_compositor.h189 struct u_rect *src_rect,
202 struct u_rect *src_rect,
214 struct u_rect *src_rect,
/external/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_compositor.h189 struct u_rect *src_rect,
202 struct u_rect *src_rect,
214 struct u_rect *src_rect,
/external/chromium_org/ppapi/thunk/
H A Dppb_graphics_2d_api.h30 const PP_Rect* src_rect) = 0;
/external/qemu/android/skin/
H A Dsurface.h92 SkinRect* src_rect,
/external/chromium_org/cc/base/
H A Dmath_util.cc122 const gfx::Rect& src_rect) {
126 return src_rect + offset;
128 return gfx::ToEnclosingRect(MapClippedRect(transform, gfx::RectF(src_rect)));
132 const gfx::RectF& src_rect) {
136 return src_rect + offset;
142 quad[0] = src_rect.x();
143 quad[1] = src_rect.y();
144 quad[2] = src_rect.right();
145 quad[3] = src_rect.y();
146 quad[4] = src_rect
121 MapEnclosingClippedRect(const gfx::Transform& transform, const gfx::Rect& src_rect) argument
131 MapClippedRect(const gfx::Transform& transform, const gfx::RectF& src_rect) argument
161 ProjectEnclosingClippedRect(const gfx::Transform& transform, const gfx::Rect& src_rect) argument
172 ProjectClippedRect(const gfx::Transform& transform, const gfx::RectF& src_rect) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/
H A Dpresentation.c211 struct u_rect src_rect, dst_clip, *dirty_area; local
260 src_rect.x0 = 0;
261 src_rect.y0 = 0;
262 src_rect.x1 = surf_draw->width;
263 src_rect.y1 = surf_draw->height;
266 vl_compositor_set_rgba_layer(cstate, compositor, 0, surf->sampler_view, &src_rect, NULL, NULL);
/external/mesa3d/src/gallium/state_trackers/vdpau/
H A Dpresentation.c211 struct u_rect src_rect, dst_clip, *dirty_area; local
260 src_rect.x0 = 0;
261 src_rect.y0 = 0;
262 src_rect.x1 = surf_draw->width;
263 src_rect.y1 = surf_draw->height;
266 vl_compositor_set_rgba_layer(cstate, compositor, 0, surf->sampler_view, &src_rect, NULL, NULL);
/external/chromium_org/content/renderer/pepper/
H A Dpepper_graphics_2d_host.cc105 const SkIRect& src_rect,
116 if (src_rect.width() == src_image->width() &&
120 src_bitmap->getAddr32(static_cast<int>(src_rect.fLeft),
121 static_cast<int>(src_rect.fTop)),
122 src_rect.width() * src_rect.height(),
127 for (int y = 0; y < src_rect.height(); y++) {
129 src_bitmap->getAddr32(static_cast<int>(src_rect.fLeft),
130 static_cast<int>(src_rect.fTop + y)),
131 src_rect
104 ConvertImageData(PPB_ImageData_Impl* src_image, const SkIRect& src_rect, PPB_ImageData_Impl* dest_image, const SkRect& dest_rect) argument
416 OnHostMsgPaintImageData( ppapi::host::HostMessageContext* context, const ppapi::HostResource& image_data, const PP_Point& top_left, bool src_rect_specified, const PP_Rect& src_rect) argument
696 ExecutePaintImageData(PPB_ImageData_Impl* image, int x, int y, const gfx::Rect& src_rect, gfx::Rect* invalidated_rect) argument
[all...]

Completed in 1029 milliseconds

123