/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...] |
GdiPlusMetaHeader.h | 7 * Metafile headers
11 * Declarations for various metafile header structures.
24 RECTL rclFrame; // Inclusive-inclusive Picture Frame of metafile in .01 mm units
27 DWORD nBytes; // Size of the metafile in bytes
28 DWORD nRecords; // Number of records in the metafile
34 DWORD offDescription; // Offset to the metafile description record.
36 DWORD nPalEntries; // Number of entries in the metafile palette.
44 // way of specifying how a metafile is mapped and scaled on an output device.
46 // the Windows API. To playback a placeable metafile using the Windows API,
47 // you will first need to strip the placeable metafile header from the file. [all...] |
/external/chromium_org/printing/ |
metafile_skia_wrapper.h | 15 class Metafile; 17 // A wrapper class with static methods to set and retrieve a Metafile 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 23 static void SetMetafileOnCanvas(const SkCanvas& canvas, Metafile* metafile); 25 static Metafile* GetMetafileFromCanvas(const SkCanvas& canvas); 27 // Methods to set and retrieve custom scale factor for metafile from canvas. 32 explicit MetafileSkiaWrapper(Metafile* metafile); [all...] |
image_android.cc | 9 bool Image::LoadMetafile(const Metafile& metafile) {
|
image_linux.cc | 9 bool Image::LoadMetafile(const Metafile& metafile) {
|
metafile_skia_wrapper.cc | 23 Metafile* metafile) { 25 if (metafile) 26 wrapper = skia::AdoptRef(new MetafileSkiaWrapper(metafile)); 33 Metafile* MetafileSkiaWrapper::GetMetafileFromCanvas(const SkCanvas& canvas) { 61 MetafileSkiaWrapper::MetafileSkiaWrapper(Metafile* metafile) 62 : 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 Metafile* 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 Metafile* metafile, 14 metafile_(metafile), 25 const Metafile* PrintedPage::metafile() const { function in class:printing::PrintedPage
|
printing_context_linux.h | 18 class Metafile; 36 // Prints the document contained in |metafile|. 37 void PrintDocument(const Metafile* metafile);
|
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_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, NULL);
|
printed_page.h | 10 #include "printing/metafile.h" 26 Metafile* metafile, 32 const Metafile* metafile() const; 56 const scoped_ptr<Metafile> metafile_;
|
pdf_metafile_skia.h | 12 #include "printing/metafile.h" 23 class PRINTING_EXPORT PdfMetafileSkia : public Metafile { 28 // Metafile methods. 70 // Return a new metafile containing just the current page in draft mode.
|
print_dialog_gtk_interface.h | 14 class Metafile; 36 // Prints the document named |document_name| contained in |metafile|. 39 virtual void PrintDocument(const Metafile* metafile,
|
emf_win.h | 15 #include "printing/metafile.h" 34 class PRINTING_EXPORT Emf : public Metafile { 45 // Generates a new metafile that will record every GDI command, and will 52 // Metafile methods. 61 // (since StartPage and EndPage do not work in a metafile DC). Only valid 96 // Returns true if metafile contains alpha blend. 99 // Returns new metafile with only bitmap created by playback of the current 100 // metafile. Returns NULL if fails. 103 // Returns new metafile where AlphaBlend replaced by bitmaps. Returns NULL
|
printing_context_linux.cc | 9 #include "printing/metafile.h" 63 void PrintingContextLinux::PrintDocument(const Metafile* metafile) { 65 DCHECK(metafile); 66 print_dialog_->PrintDocument(metafile, document_name_);
|
image.cc | 13 #include "printing/metafile.h" 40 Image::Image(const Metafile& metafile) 43 LoadMetafile(metafile); 153 NativeMetafile metafile; local 154 if (!metafile.InitFromData(data.data(), 157 return LoadMetafile(metafile);
|
metafile.h | 42 class PRINTING_EXPORT Metafile { 75 virtual ~Metafile() {} 77 // Initializes a fresh new metafile for rendering. Returns false on failure. 82 // Initializes the metafile with the data in |src_buffer|. Returns true 107 // Closes the metafile. No further rendering is allowed (the current page 121 // called after the metafile is closed. Returns true if writing succeeded. 160 // should ONLY be called after the metafile is closed.
|
/external/chromium_org/chrome/renderer/printing/ |
print_web_view_helper_mac.mm | 13 #include "printing/metafile.h" 30 NativeMetafile metafile; 31 if (!metafile.Init()) 37 RenderPage(print_pages_params_->params, page_number, frame, false, &metafile, 39 metafile.FinishDocument(); 42 page_params.data_size = metafile.GetDataSize(); 49 if (!CopyMetafileDataToSharedMem(&metafile, 61 scoped_ptr<Metafile> draft_metafile; 62 Metafile* initial_render_metafile = print_preview_context_.metafile(); [all...] |
print_web_view_helper_pdf_win.cc | 12 #include "printing/metafile.h" 32 scoped_ptr<Metafile> draft_metafile; 33 Metafile* initial_render_metafile = print_preview_context_.metafile(); 54 print_preview_context_.metafile()->GetMetafileForCurrentPage()); 62 NativeMetafile metafile; local 63 if (!metafile.Init()) 93 &metafile, 98 // blink::printEnd() for PDF should be called before metafile is closed. 101 metafile.FinishDocument() [all...] |
print_web_view_helper_win.cc | 15 #include "printing/metafile.h" 37 // Generate a memory-based metafile. It will use the current screen's DPI. 38 // Each metafile contains a single page. 39 scoped_ptr<NativeMetafile> metafile(new NativeMetafile); 40 metafile->Init(); 41 DCHECK(metafile->context()); 42 skia::InitializeDC(metafile->context()); 56 RenderPage(params.params, page_number, frame, false, metafile.get(), 59 // Close the device context to retrieve the compiled metafile. 60 if (!metafile->FinishDocument() [all...] |
print_web_view_helper_linux.cc | 11 #include "printing/metafile.h" 35 scoped_ptr<Metafile> draft_metafile; 36 Metafile* initial_render_metafile = print_preview_context_.metafile(); 55 print_preview_context_.metafile()->GetMetafileForCurrentPage()); 63 NativeMetafile metafile; local 64 if (!metafile.Init()) 90 PrintPageInternal(page_params, canvas_size, frame, &metafile); 93 // blink::printEnd() for PDF should be called before metafile is closed. 96 metafile.FinishDocument() [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/ |
gdiplusmetafile.h | 4 * GDI+ Metafile class 33 class Metafile: public Image 55 ////TODO: Metafile::GetMetafileHeader 69 Metafile(HMETAFILE hWmf, 79 Metafile(HENHMETAFILE hEmf, BOOL deleteEmf = FALSE): Image(NULL, Ok) 86 Metafile(const WCHAR *filename): Image(NULL, Ok) 93 Metafile(const WCHAR *filename, 103 Metafile(IStream *stream): Image(NULL, Ok) 110 Metafile(HDC referenceHdc, EmfType type = EmfTypeEmfPlusDual, 119 Metafile(HDC referenceHdc, const RectF& frameRect [all...] |
/external/chromium_org/android_webview/renderer/ |
print_web_view_helper_linux.cc | 13 #include "printing/metafile.h" 37 scoped_ptr<Metafile> draft_metafile; 38 Metafile* initial_render_metafile = print_preview_context_.metafile(); 57 print_preview_context_.metafile()->GetMetafileForCurrentPage()); 65 NativeMetafile metafile; local 66 if (!metafile.Init()) 92 PrintPageInternal(page_params, canvas_size, frame, &metafile); 95 // blink::printEnd() for PDF should be called before metafile is closed. 98 metafile.FinishDocument() [all...] |