Mercurial > hg > orthanc-stone
comparison Framework/Orthanc/Core/Images/ImageBuffer.h @ 11:4b7e0244881f
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 26 Oct 2016 12:14:03 +0200 |
parents | 2dbe613f6c93 |
children |
comparison
equal
deleted
inserted
replaced
10:55407926aac3 | 11:4b7e0244881f |
---|---|
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 } |