mp_traversals
Terrible Traversals
MyColorPicker Class Reference

A color picker class using your own color picking algorithm. More...

#include <MyColorPicker.h>

Inheritance diagram for MyColorPicker:
[legend]
Collaboration diagram for MyColorPicker:
[legend]

Public Member Functions

HSLAPixel getColor (unsigned x, unsigned y)
 Picks the color for pixel (x, y). More...
 
- Public Member Functions inherited from ColorPicker
virtual ~ColorPicker ()
 Class destructor. More...
 
virtual HSLAPixel getColor (unsigned x, unsigned y)=0
 Select a color for the given point (x, y) All derived classes needs to implement this. More...
 

Detailed Description

A color picker class using your own color picking algorithm.

Member Function Documentation

◆ getColor()

HSLAPixel MyColorPicker::getColor ( unsigned  x,
unsigned  y 
)
virtual

Picks the color for pixel (x, y).

Using your own algorithm

Implements ColorPicker.


The documentation for this class was generated from the following files: