Skip to content

Instantly share code, notes, and snippets.

@Chovelice
Chovelice / RGBAPixel.cpp
Created September 3, 2012 02:01 — forked from chao2zhang/RGBAPixel.cpp
CS225
#include "rgbapixel.h"
/**
* This function constructs a default pixel which is opaque
* (non-transparent) and white.
**/
RGBAPixel::RGBAPixel()
{
alpha = 255;
red = 255;