Mercurial > hg > orthanc
comparison OrthancFramework/Sources/Images/PngWriter.h @ 4200:7112a8af0b63
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 16 Sep 2020 20:53:31 +0200 |
parents | bf7b9edf6b81 |
children | 2007ab69ac16 |
comparison
equal
deleted
inserted
replaced
4199:fbc49a65340a | 4200:7112a8af0b63 |
---|---|
43 virtual void WriteToFileInternal(const std::string& filename, | 43 virtual void WriteToFileInternal(const std::string& filename, |
44 unsigned int width, | 44 unsigned int width, |
45 unsigned int height, | 45 unsigned int height, |
46 unsigned int pitch, | 46 unsigned int pitch, |
47 PixelFormat format, | 47 PixelFormat format, |
48 const void* buffer); | 48 const void* buffer) ORTHANC_OVERRIDE; |
49 #endif | 49 #endif |
50 | 50 |
51 virtual void WriteToMemoryInternal(std::string& png, | 51 virtual void WriteToMemoryInternal(std::string& png, |
52 unsigned int width, | 52 unsigned int width, |
53 unsigned int height, | 53 unsigned int height, |
54 unsigned int pitch, | 54 unsigned int pitch, |
55 PixelFormat format, | 55 PixelFormat format, |
56 const void* buffer); | 56 const void* buffer) ORTHANC_OVERRIDE; |
57 | 57 |
58 private: | 58 private: |
59 struct PImpl; | 59 struct PImpl; |
60 boost::shared_ptr<PImpl> pimpl_; | 60 boost::shared_ptr<PImpl> pimpl_; |
61 | 61 |