Searched refs:imageData (Results 1 – 4 of 4) sorted by relevance
183 bool PasteDataRecordAdapterImpl::SetImgData(std::shared_ptr<ClipBoardImageData> imageData) in SetImgData() argument185 if (imageData == nullptr) { in SetImgData()190 opt.size.width = imageData->width; in SetImgData()191 opt.size.height = imageData->height; in SetImgData()192 opt.pixelFormat = ClipboardToImageColorType(imageData->colorType); in SetImgData()193 opt.alphaType = ClipboardToImageAlphaType(imageData->alphaType); in SetImgData()200 uint64_t stride = static_cast<uint64_t>(imageData->width) << 2; in SetImgData()201 uint64_t bufferSize = stride * static_cast<uint64_t>(imageData->height); in SetImgData()202 …uint32_t ret = pixelMap->WritePixels(reinterpret_cast<const uint8_t *>(imageData->data), bufferSiz… in SetImgData()233 bool PasteDataRecordAdapterImpl::GetImgData(ClipBoardImageData &imageData) in GetImgData() argument[all …]
104 virtual bool SetImgData(std::shared_ptr<ClipBoardImageData> imageData) = 0;112 virtual bool GetImgData(ClipBoardImageData &imageData) = 0;
45 bool SetImgData(std::shared_ptr<ClipBoardImageData> imageData) override;52 bool GetImgData(ClipBoardImageData &imageData) override;
762 std::shared_ptr<ClipBoardImageData> imageData(image);763 bool reset = g_datarecord->SetImgData(imageData);765 reset = g_datarecordnull->SetImgData(imageData);767 imageData->dataSize = 1;768 reset = g_datarecordnull->SetImgData(imageData);770 imageData = nullptr;771 reset = g_datarecordnull->SetImgData(imageData);