HomeSort by relevance Sort by last modified time
    Searched full:metafile (Results 1 - 25 of 90) sorted by null

1 2 3 4

  /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/
image_android.cc 9 bool Image::LoadMetafile(const Metafile& metafile) {
image_linux.cc 9 bool Image::LoadMetafile(const Metafile& metafile) {
metafile.cc 5 #include "printing/metafile.h"
20 Metafile::Metafile() {
23 Metafile::~Metafile() {
26 bool Metafile::GetDataAsVector(std::vector<char>* buffer) const {
33 bool Metafile::SaveTo(base::File* file) const {
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,
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) {
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);
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);
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.Get(), NULL);
pdf_metafile_skia.h 12 #include "printing/metafile.h"
29 class PRINTING_EXPORT PdfMetafileSkia : public Metafile {
34 // Metafile methods.
74 // Return a new metafile containing just the current page in draft mode.
printed_page.cc 10 scoped_ptr<MetafilePlayer> metafile,
14 metafile_(metafile.Pass()),
25 const MetafilePlayer* PrintedPage::metafile() const { function in class:printing::PrintedPage
emf_win.h 16 #include "printing/metafile.h"
35 class PRINTING_EXPORT Emf : public Metafile {
46 // Closes metafile.
49 // Generates a new metafile that will record every GDI command, and will
56 // Metafile methods.
65 // (since StartPage and EndPage do not work in a metafile DC). Only valid
91 // Returns true if metafile contains alpha blend.
94 // Returns new metafile with only bitmap created by playback of the current
95 // metafile. Returns NULL if fails.
98 // Returns new metafile where AlphaBlend replaced by bitmaps. Returns NUL
    [all...]
metafile.h 90 // called after the metafile is closed. Returns true if writing succeeded.
99 class PRINTING_EXPORT Metafile : public MetafilePlayer {
101 Metafile();
102 virtual ~Metafile();
104 // Initializes a fresh new metafile for rendering. Returns false on failure.
109 // Initializes the metafile with the data in |src_buffer|. Returns true
133 // Closes the metafile. No further rendering is allowed (the current page
169 DISALLOW_COPY_AND_ASSIGN(Metafile);
printing_context_linux.h 36 // Prints the document contained in |metafile|.
37 void PrintDocument(const MetafilePlayer& 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();
pdf_metafile_cg_mac.h 15 #include "printing/metafile.h"
29 class PRINTING_EXPORT PdfMetafileCg : public Metafile {
34 // Metafile methods.
  /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...]
gdiplusgraphics.h 39 friend class Metafile;
657 Status EnumerateMetafile(const Metafile *metafile,
665 metafile ? ((GpMetafile*) metafile->nativeImage) : NULL,
669 Status EnumerateMetafile(const Metafile *metafile,
677 metafile ? ((GpMetafile*) metafile->nativeImage) : NULL,
681 Status EnumerateMetafile(const Metafile *metafile
    [all...]
  /external/chromium_org/chrome/renderer/printing/
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_mac.mm 27 PdfMetafileSkia metafile;
28 if (!metafile.Init())
34 RenderPage(print_pages_params_->params, page_number, frame, false, &metafile,
36 metafile.FinishDocument();
39 page_params.data_size = metafile.GetDataSize();
46 if (!CopyMetafileDataToSharedMem(&metafile,
59 PdfMetafileSkia* initial_render_metafile = print_preview_context_.metafile();
89 print_preview_context_.metafile()->GetMetafileForCurrentPage();
99 PdfMetafileSkia* metafile,
121 SkBaseDevice* device = metafile->StartPageForVectorCanvas
    [all...]
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...]
  /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...]

Completed in 572 milliseconds

1 2 3 4