mp_sketching
Supreme sketching
BWPixel.cpp File Reference

Implementation of the BWPixel class for use in with the PNG library. More...

Functions

std::ostream & cs225::operator<< (std::ostream &out, BWPixel const &pixel)
 Stream operator that allows pixels to be written to standard streams (like cout). More...
 

Detailed Description

Implementation of the BWPixel class for use in with the PNG library.

Author
CS 225: Data Structures

Function Documentation

◆ operator<<()

std::ostream & cs225::operator<< ( std::ostream &  out,
BWPixel const &  pixel 
)

Stream operator that allows pixels to be written to standard streams (like cout).

Parameters
outStream to write to.
pixelPixel to write to the stream.