Bitmap/C++: Difference between revisions

m
Fixed syntax highlighting.
(Applied DRY priciple. Switched from pass-by-reference to pass-by-value where applicable. Added Copy constructor, assignment op. Fixed indexing bugs. Changed SetPixel to not be equal to GetPixel.)
m (Fixed syntax highlighting.)
 
Line 1:
{{collection|Basic bitmap storage}}
 
<langsyntaxhighlight lang="cpp">#include <cstddef>
#include <stdexcept>
 
Line 157:
}
 
};</langsyntaxhighlight>
9,476

edits