/external/chromium_org/printing/ |
emf_win.h | 34 // Simple wrapper class that manage an EMF data stream and its virtual HDC. 35 class PRINTING_EXPORT Emf : public Metafile { 42 // it in a EMF data stream. 43 Emf(); 44 virtual ~Emf(); 53 // Initializes the Emf with the data in |metafile_path|. 89 HENHMETAFILE emf() const { return emf_; } function in class:printing::Emf 96 scoped_ptr<Emf> RasterizeMetafile(int raster_area_in_pixels) const; 100 scoped_ptr<Emf> RasterizeAlphaBlend() const; 107 // Playbacks safely one EMF record [all...] |
emf_win_unittest.cc | 57 Emf emf; local 58 EXPECT_TRUE(emf.Init()); 59 EXPECT_TRUE(emf.context() != NULL); 60 // An empty EMF is invalid, so we put at least a rectangle in it. 61 ::Rectangle(emf.context(), 10, 10, 190, 190); 62 EXPECT_TRUE(emf.FinishDocument()); 63 size = emf.GetDataSize(); 65 EXPECT_TRUE(emf.GetDataAsVector(&data)); 70 Emf emf local 100 Emf emf; local 139 Emf emf; local 161 Emf emf; local 184 Emf emf; local 202 Emf emf; local 210 Emf emf; local [all...] |
emf_win.cc | 153 Emf::Emf() : emf_(NULL), hdc_(NULL) { 156 Emf::~Emf() { 160 void Emf::Close() { 167 bool Emf::InitToFile(const base::FilePath& metafile_path) { 174 bool Emf::InitFromFile(const base::FilePath& metafile_path) { 181 bool Emf::Init() { 188 bool Emf::InitFromData(const void* src_buffer, uint32 src_buffer_size) { 195 bool Emf::FinishDocument() 499 Enumerator& emf = *reinterpret_cast<Enumerator*>(param); local [all...] |
/external/chromium_org/chrome/browser/printing/ |
pdf_to_emf_converter.cc | 54 // Wrapper for Emf to keep only file handle in memory, and load actual data only 55 // on playback. Emf::InitFromFile() can play metafile directly from disk, but it 69 bool LoadEmf(Emf* emf) const; 77 // Converts PDF into EMF. 134 ScopedTempFile emf() { return emf_.Pass(); } function in class:printing::__anon9104::PdfToEmfUtilityProcessHostClient::GetPageCallbackData 135 void set_emf(ScopedTempFile emf) { emf_ = emf.Pass(); } 154 void OnTempEmfReady(GetPageCallbackData* callback_data, ScopedTempFile emf); 237 Emf emf local 248 Emf emf; local [all...] |
/external/chromium_org/chrome/service/ |
service_utility_process_host.cc | 424 printing::Emf emf; local 425 if (!emf.InitFromData(data.data(), data.size())) { 429 OnRenderPDFPagesToMetafilePageDone(scale_factor, emf);
|