comparison Orthanc/Core/Images/ImageBuffer.h @ 145:d850500b8ca6

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 08 Nov 2016 10:15:05 +0100
parents 3809121c3290
children 5dc54316d68b
comparison
equal deleted inserted replaced
144:daf99382bc18 145:d850500b8ca6
59 void Deallocate(); 59 void Deallocate();
60 60
61 public: 61 public:
62 ImageBuffer(PixelFormat format, 62 ImageBuffer(PixelFormat format,
63 unsigned int width, 63 unsigned int width,
64 unsigned int height); 64 unsigned int height,
65 bool forceMinimalPitch);
65 66
66 ImageBuffer() 67 ImageBuffer()
67 { 68 {
68 Initialize(); 69 Initialize();
69 } 70 }
106 bool IsMinimalPitchForced() const 107 bool IsMinimalPitchForced() const
107 { 108 {
108 return forceMinimalPitch_; 109 return forceMinimalPitch_;
109 } 110 }
110 111
111 void SetMinimalPitchForced(bool force);
112
113 void AcquireOwnership(ImageBuffer& other); 112 void AcquireOwnership(ImageBuffer& other);
114 }; 113 };
115 } 114 }