Home
last modified time | relevance | path

Searched refs:imagePath (Results 1 – 6 of 6) sorted by relevance

/base/print/print_fwk/frameworks/innerkitsimpl/print_impl/src/
Dprint_manager_client.cpp492 static bool WritePng(std::string imagePath, void *buffer, int width, int height, int stride) in WritePng() argument
503 FILE *fp = fopen(imagePath.c_str(), "wb"); in WritePng()
505 PRINT_HILOGE("Failed to open %s for output\n", imagePath.c_str()); in WritePng()
510 PRINT_HILOGE("Failed to write to %s\n", imagePath.c_str()); in WritePng()
518 std::string imagePath = basePngName + "-" + std::to_string(pageIndex) + ".png"; in GetImagePathByIndex() local
519 return imagePath; in GetImagePathByIndex()
578 std::string imagePath = GetImagePathByIndex(basePngName, pageIndex); in PdfRenderDestroy() local
579 if (imagePath.empty()) { in PdfRenderDestroy()
583 if (access(imagePath.c_str(), F_OK) == 0) { in PdfRenderDestroy()
584 PRINT_HILOGD("PdfRenderDestroy Start delete floder %{public}s.", imagePath.c_str()); in PdfRenderDestroy()
[all …]
/base/print/print_fwk/interfaces/kits/napi/print_napi/include/
Dprint_pdf_render.h45 std::string imagePath = ""; member
/base/print/print_fwk/interfaces/kits/napi/print_napi/src/
Dprint_pdf_render.cpp160 *result = NapiPrintUtils::CreateStringUtf8(env, context->imagePath); in RenderPageToPng()
166 context->imagePath, context->doc_); in RenderPageToPng()
/base/print/print_fwk/frameworks/innerkitsimpl/print_impl/include/
Dprint_manager_client.h89 …32_t RenderPdfToPng(const std::string basePngName, const int32_t pageIndex, std::string &imagePath,
/base/msdp/device_status/services/interaction/drag/src/
Ddrag_drawing.cpp2034 std::string imagePath; in Draw() local
2043 imagePath = MOUSE_DRAG_CURSOR_CIRCLE_PATH; in Draw()
2045 imagePath = MOUSE_DRAG_DEFAULT_PATH; in Draw()
2050 auto imageSource = Media::ImageSource::CreateImageSource(imagePath, opts, errCode); in Draw()
/base/telephony/cellular_call/services/manager/src/
Dcellular_call_stub.cpp1091 std::string imagePath = data.ReadString(); in OnSetPausePictureInner() local
1092 reply.WriteInt32(SetPausePicture(slotId, callIndex, imagePath)); in OnSetPausePictureInner()