Home | History | Annotate | Download | only in printing

Lines Matching refs:RECT

19 #include "ui/gfx/rect.h"
104 gfx::Rect bitmap_rect(raster_size);
113 RECT rect = bitmap_rect.ToRECT();
114 ::FillRect(context_.Get(), &rect,
203 bool Emf::Playback(HDC hdc, const RECT* rect) const {
205 RECT bounds;
206 if (!rect) {
209 rect = &bounds;
211 return PlayEnhMetaFile(hdc, emf_, rect) != 0;
223 gfx::Rect bound = GetPageBounds(1);
224 RECT rect = bound.ToRECT();
230 &rect) != 0;
233 gfx::Rect Emf::GetPageBounds(unsigned int page_number) const {
239 return gfx::Rect();
243 return gfx::Rect(header.rclBounds.left,
453 const gfx::Size& page_size, const gfx::Rect& content_area,
464 const gfx::Rect& /*content_area*/,
473 Emf::Enumerator::Enumerator(const Emf& emf, HDC context, const RECT* rect) {
479 rect)) {
526 gfx::Rect page_bounds = GetPageBounds(1);
530 page_bounds = gfx::Rect(1, 1);
540 gfx::Rect bitmap_rect(page_size);
541 RECT rect = bitmap_rect.ToRECT();
542 Playback(bitmap.context(), &rect);
571 gfx::Rect page_bounds = GetPageBounds(1);
574 page_bounds = gfx::Rect(1, 1);
590 RECT rect = page_bounds.ToRECT();
591 ::EnumEnhMetaFile(hdc, emf(), &RasterizeAlphaBlendProc, &bitmap_dc, &rect);