/external/chromium_org/printing/ |
image_android.cc | 9 bool Image::LoadMetafile(const Metafile& metafile) {
|
image_linux.cc | 9 bool Image::LoadMetafile(const Metafile& metafile) {
|
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);
|
metafile_skia_wrapper.cc | 23 PdfMetafileSkia* metafile) { 25 if (metafile) 26 wrapper = skia::AdoptRef(new MetafileSkiaWrapper(metafile)); 62 MetafileSkiaWrapper::MetafileSkiaWrapper(PdfMetafileSkia* metafile) 63 : metafile_(metafile) {
|
image_mac.cc | 10 #include "printing/metafile.h" 15 bool Image::LoadMetafile(const Metafile& metafile) { 18 gfx::Rect rect(metafile.GetPageBounds(page_number)); 40 struct Metafile::MacRenderPageParams params; 42 metafile.RenderPage(page_number, bitmap_context,
|
printed_document_mac.cc | 32 const MetafilePlayer* metafile = page.metafile(); local 33 // Each Metafile is a one-page PDF, and pages use 1-based indexing. 35 struct Metafile::MacRenderPageParams params; 37 metafile->RenderPage(page_number, context, content_area.ToCGRect(), params);
|
printed_page.cc | 10 scoped_ptr<MetafilePlayer> metafile, 14 metafile_(metafile.Pass()), 25 const MetafilePlayer* PrintedPage::metafile() const { function in class:printing::PrintedPage
|
print_dialog_gtk_interface.h | 36 // Prints the document named |document_name| contained in |metafile|. 39 virtual void PrintDocument(const MetafilePlayer& metafile,
|
printed_page.h | 10 #include "printing/metafile.h" 26 scoped_ptr<MetafilePlayer> metafile, 32 const MetafilePlayer* metafile() const;
|
printed_document_linux.cc | 31 ->PrintDocument(*page.metafile());
|
image_win.cc | 10 #include "printing/metafile.h" 52 bool Image::LoadMetafile(const Metafile& metafile) { 53 gfx::Rect rect(metafile.GetPageBounds(1)); 61 DCHECK_GE(rect.width(), 0); // Metafile could be empty. 78 bool success = metafile.Playback(hdc.Get(), NULL);
|
image.h | 22 class Metafile; 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);
|
image.cc | 13 #include "printing/metafile.h" 40 Image::Image(const Metafile& metafile) 43 LoadMetafile(metafile); 153 PdfMetafileSkia metafile; local 154 if (!metafile.InitFromData(data.data(), 157 return LoadMetafile(metafile);
|
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();
|
printing_context_linux.cc | 9 #include "printing/metafile.h" 62 void PrintingContextLinux::PrintDocument(const MetafilePlayer& metafile) { 64 print_dialog_->PrintDocument(metafile, document_name_);
|
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())
|
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/ |
GdiPlusMetaFile.h | 11 * Metafile related declarations
18 class Metafile : public Image
23 // Read a metafile
24 Metafile()
30 // Playback a metafile from a HMETAFILE
31 // If deleteWmf is TRUE, then when the metafile is deleted,
33 Metafile(IN HMETAFILE hWmf,
37 GpMetafile * metafile = NULL;
local 39 lastResult = DllExports::GdipCreateMetafileFromWmf(hWmf, deleteWmf, apmFileHeader, &metafile);
41 SetNativeImage(metafile);
50 GpMetafile * metafile = NULL; local 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...] |
/external/chromium_org/android_webview/renderer/ |
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.SaveToFD(fd) [all...] |
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/ |
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.SaveToFD(fd) [all...] |
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 data [all...] |
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/ |
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.FinishDocument() [all...] |
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
print_dialog_gtk2.h | 46 virtual void PrintDocument(const printing::MetafilePlayer& metafile,
|