/external/chromium_org/printing/ |
H A D | image_android.cc | 9 bool Image::LoadMetafile(const Metafile& metafile) { argument
|
H A D | image_linux.cc | 9 bool Image::LoadMetafile(const Metafile& metafile) { argument
|
H A D | metafile_skia_wrapper.h | 18 // on an SkCanvas. The ownership of the metafile is not affected and it 19 // is the caller's responsibility to ensure that the metafile remains valid 24 PdfMetafileSkia* metafile); 28 // Methods to set and retrieve custom scale factor for metafile from canvas. 33 explicit MetafileSkiaWrapper(PdfMetafileSkia* metafile);
|
H A D | metafile_skia_wrapper.cc | 23 PdfMetafileSkia* metafile) { 25 if (metafile) 26 wrapper = skia::AdoptRef(new MetafileSkiaWrapper(metafile)); 62 MetafileSkiaWrapper::MetafileSkiaWrapper(PdfMetafileSkia* metafile) argument 63 : metafile_(metafile) { 22 SetMetafileOnCanvas(const SkCanvas& canvas, PdfMetafileSkia* metafile) argument
|
H A D | image_mac.cc | 10 #include "printing/metafile.h" 15 bool Image::LoadMetafile(const Metafile& metafile) { argument 18 gfx::Rect rect(metafile.GetPageBounds(page_number)); 42 metafile.RenderPage(page_number, bitmap_context,
|
H A D | printed_document_mac.cc | 32 const MetafilePlayer* metafile = page.metafile(); local 37 metafile->RenderPage(page_number, context, content_area.ToCGRect(), params);
|
H A D | printed_page.cc | 10 scoped_ptr<MetafilePlayer> metafile, 14 metafile_(metafile.Pass()), 25 const MetafilePlayer* PrintedPage::metafile() const { function in class:printing::PrintedPage 9 PrintedPage(int page_number, scoped_ptr<MetafilePlayer> metafile, const gfx::Size& page_size, const gfx::Rect& page_content_rect) argument
|
H A D | printed_page.h | 10 #include "printing/metafile.h" 26 scoped_ptr<MetafilePlayer> metafile, 32 const MetafilePlayer* metafile() const;
|
H A D | print_dialog_gtk_interface.h | 36 // Prints the document named |document_name| contained in |metafile|. 39 virtual void PrintDocument(const MetafilePlayer& metafile,
|
H A D | printed_document_linux.cc | 31 ->PrintDocument(*page.metafile());
|
H A D | image_win.cc | 10 #include "printing/metafile.h" 52 bool Image::LoadMetafile(const Metafile& metafile) { argument 53 gfx::Rect rect(metafile.GetPageBounds(1)); 78 bool success = metafile.Playback(hdc.Get(), NULL);
|
H A D | image.h | 33 // Creates the image from the metafile. Deduces bounds based on bounds in 34 // metafile. If loading fails size().IsEmpty() will be true. 35 explicit Image(const Metafile& metafile); 72 // Construct from metafile. This is kept internal since it's ambiguous what 73 // kind of data is used (png, bmp, metafile etc). 80 bool LoadMetafile(const Metafile& metafile);
|
H A D | image.cc | 13 #include "printing/metafile.h" 40 Image::Image(const Metafile& metafile) argument 43 LoadMetafile(metafile); 153 PdfMetafileSkia metafile; local 154 if (!metafile.InitFromData(data.data(), 157 return LoadMetafile(metafile);
|
H A D | pdf_metafile_skia.cc | 209 scoped_ptr<PdfMetafileSkia> metafile; local 212 return metafile.Pass(); 216 return metafile.Pass(); 222 metafile.reset(new PdfMetafileSkia); 223 if (!metafile->InitFromData(data_copy->bytes(), 225 metafile.reset(); 227 return metafile.Pass();
|
H A D | printing_context_linux.cc | 9 #include "printing/metafile.h" 62 void PrintingContextLinux::PrintDocument(const MetafilePlayer& metafile) { argument 64 print_dialog_->PrintDocument(metafile, document_name_);
|
H A D | printed_document.cc | 59 page->metafile()->SaveTo(&file); 114 scoped_ptr<MetafilePlayer> metafile, 123 new PrintedPage(page_number + 1, metafile.Pass(), paper_size, page_rect)); 171 if (metafile_must_be_valid && !itr->second->metafile()) 113 SetPage(int page_number, scoped_ptr<MetafilePlayer> metafile, double shrink, const gfx::Size& paper_size, const gfx::Rect& page_rect) argument
|
H A D | printing_context_linux.h | 36 // Prints the document contained in |metafile|. 37 void PrintDocument(const MetafilePlayer& metafile);
|
/external/pdfium/core/src/fxge/Microsoft SDK/include/ |
H A D | GdiPlusMetaFile.h | 23 // Read a metafile
30 // Playback a metafile from a HMETAFILE
31 // If deleteWmf is TRUE, then when the metafile is deleted,
37 GpMetafile * metafile = NULL;
local 39 lastResult = DllExports::GdipCreateMetafileFromWmf(hWmf, deleteWmf, apmFileHeader, &metafile);
41 SetNativeImage(metafile);
44 // Playback a metafile from a HENHMETAFILE
45 // If deleteEmf is TRUE, then when the metafile is deleted,
50 GpMetafile * metafile = NULL;
local 52 lastResult = DllExports::GdipCreateMetafileFromEmf(hEmf, deleteEmf, &metafile);
60 GpMetafile * metafile = NULL; local 72 GpMetafile * metafile = NULL; local 82 GpMetafile * metafile = NULL; local 96 GpMetafile * metafile = NULL; local 114 GpMetafile * metafile = NULL; local 132 GpMetafile * metafile = NULL; local 149 GpMetafile * metafile = NULL; local 168 GpMetafile * metafile = NULL; local 187 GpMetafile * metafile = NULL; local 204 GpMetafile * metafile = NULL; local 223 GpMetafile * metafile = NULL; local 242 GpMetafile * metafile = NULL; local [all...] |
H A D | GdiPlusGraphics.h | 1925 IN const Metafile * metafile,
1934 (const GpMetafile *)(metafile ? metafile->nativeImage:NULL),
1943 IN const Metafile * metafile,
1952 (const GpMetafile *)(metafile ? metafile->nativeImage:NULL),
1961 IN const Metafile * metafile,
1970 (const GpMetafile *)(metafile ? metafile->nativeImage:NULL),
1979 IN const Metafile * metafile,
1924 EnumerateMetafile( IN const Metafile * metafile, IN const PointF & destPoint, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) argument 1942 EnumerateMetafile( IN const Metafile * metafile, IN const Point & destPoint, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) argument 1960 EnumerateMetafile( IN const Metafile * metafile, IN const RectF & destRect, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) argument 1978 EnumerateMetafile( IN const Metafile * metafile, IN const Rect & destRect, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) argument 1996 EnumerateMetafile( IN const Metafile * metafile, IN const PointF * destPoints, IN INT count, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) argument 2016 EnumerateMetafile( IN const Metafile * metafile, IN const Point * destPoints, IN INT count, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) argument 2036 EnumerateMetafile( IN const Metafile * metafile, IN const PointF & destPoint, IN const RectF & srcRect, IN Unit srcUnit, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) argument 2058 EnumerateMetafile( IN const Metafile * metafile, IN const Point & destPoint, IN const Rect & srcRect, IN Unit srcUnit, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) argument 2080 EnumerateMetafile( IN const Metafile * metafile, IN const RectF & destRect, IN const RectF & srcRect, IN Unit srcUnit, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) argument 2102 EnumerateMetafile( IN const Metafile * metafile, IN const Rect & destRect, IN const Rect & srcRect, IN Unit srcUnit, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) argument 2124 EnumerateMetafile( IN const Metafile * metafile, IN const PointF * destPoints, IN INT count, IN const RectF & srcRect, IN Unit srcUnit, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) argument 2148 EnumerateMetafile( IN const Metafile * metafile, IN const Point * destPoints, IN INT count, IN const Rect & srcRect, IN Unit srcUnit, IN EnumerateMetafileProc callback, IN VOID * callbackData = NULL, IN const ImageAttributes * imageAttributes = NULL ) argument [all...] |
/external/chromium_org/android_webview/renderer/ |
H A D | print_web_view_helper_linux.cc | 37 PdfMetafileSkia* initial_render_metafile = print_preview_context_.metafile(); 56 print_preview_context_.metafile()->GetMetafileForCurrentPage(); 64 PdfMetafileSkia metafile; local 65 if (!metafile.Init()) 91 PrintPageInternal(page_params, canvas_size, frame, &metafile); 94 // blink::printEnd() for PDF should be called before metafile is closed. 97 metafile.FinishDocument(); 99 // Get the size of the resulting metafile. 100 uint32 buf_size = metafile.GetDataSize(); 111 if (!metafile 152 PrintPageInternal( const PrintMsg_PrintPage_Params& params, const gfx::Size& canvas_size, WebFrame* frame, PdfMetafileSkia* metafile) argument [all...] |
H A D | print_web_view_helper.h | 229 PdfMetafileSkia* metafile); 240 // Platform specific helper function for rendering page(s) to |metafile|. 246 PdfMetafileSkia* metafile, 255 PdfMetafileSkia* metafile, 273 bool CopyMetafileDataToSharedMem(PdfMetafileSkia* metafile, 329 // |metafile| is the rendered page. Otherwise |metafile| is NULL. 331 bool PreviewPageRendered(int page_number, PdfMetafileSkia* metafile); 423 PdfMetafileSkia* metafile(); 457 // Specifies the total number of pages in the print ready metafile [all...] |
/external/chromium_org/chrome/renderer/printing/ |
H A D | print_web_view_helper_linux.cc | 35 PdfMetafileSkia* initial_render_metafile = print_preview_context_.metafile(); 53 print_preview_context_.metafile()->GetMetafileForCurrentPage(); 60 PdfMetafileSkia metafile; local 61 if (!metafile.Init()) 87 PrintPageInternal(page_params, frame, &metafile); 90 // blink::printEnd() for PDF should be called before metafile is closed. 93 metafile.FinishDocument(); 95 // Get the size of the resulting metafile. 96 uint32 buf_size = metafile.GetDataSize(); 107 if (!metafile 148 PrintPageInternal( const PrintMsg_PrintPage_Params& params, WebFrame* frame, PdfMetafileSkia* metafile) argument [all...] |
H A D | print_web_view_helper_pdf_win.cc | 32 PdfMetafileSkia* initial_render_metafile = print_preview_context_.metafile(); 52 print_preview_context_.metafile()->GetMetafileForCurrentPage(); 59 PdfMetafileSkia metafile; local 60 if (!metafile.Init()) 89 &metafile, 94 // blink::printEnd() for PDF should be called before metafile is closed. 97 metafile.FinishDocument(); 99 // Get the size of the resulting metafile. 100 uint32 buf_size = metafile.GetDataSize(); 111 // Allocate a shared memory buffer to hold the generated metafile dat 144 PrintPageInternal( const PrintMsg_PrintPage_Params& params, WebFrame* frame, PdfMetafileSkia* metafile, gfx::Size* page_size_in_dpi, gfx::Rect* content_area_in_dpi) argument 218 CopyMetafileDataToSharedMem( PdfMetafileSkia* metafile, base::SharedMemoryHandle* shared_mem_handle) argument [all...] |
H A D | print_web_view_helper.h | 217 PdfMetafileSkia* metafile); 221 PdfMetafileSkia* metafile, 233 // Platform specific helper function for rendering page(s) to |metafile|. 239 PdfMetafileSkia* metafile, 257 bool CopyMetafileDataToSharedMem(PdfMetafileSkia* metafile, 301 // |metafile| is the rendered page. Otherwise |metafile| is NULL. 303 bool PreviewPageRendered(int page_number, PdfMetafileSkia* metafile); 389 PdfMetafileSkia* metafile(); 422 // Specifies the total number of pages in the print ready metafile [all...] |
/external/chromium_org/chrome/utility/ |
H A D | printing_handler.cc | 353 printing::Emf metafile; local 354 metafile.Init(); 357 // Current metafile is based on screen DC and have current screen size. 364 gfx::CalculatePageScale(metafile.context(), 367 gfx::ScaleDC(metafile.context(), *scale_factor); 369 // The underlying metafile is of type Emf and ignores the arguments passed 371 metafile.StartPage(gfx::Size(), gfx::Rect(), 1); 376 metafile.context(), 390 metafile.FinishPage(); 391 metafile [all...] |