lab_inheritance
Insidious Inheritance
flower.cpp File Reference

Implementation of the Flower class. More...

#include "flower.h"
#include <cmath>
#include <cstdio>
#include "circle.h"
#include "color.h"
#include "rectangle.h"
#include "triangle.h"
Include dependency graph for flower.cpp:

Variables

const int STEM_HEIGHT = 32
 
const int STEM_WIDTH = 2
 
const HSLAPixel STEM_COLOR = color::GREEN
 
const int LEAF_WIDTH = 16
 
const int LEAF_HEIGHT = 16
 
const HSLAPixel LEAF_COLOR = color::GREEN
 
const int PISTIL_RADIUS = 12
 
const HSLAPixel PISTIL_COLOR = color::YELLOW
 
const int PETAL_RADIUS = 2
 
const HSLAPixel PETAL_COLOR = color::RED
 

Detailed Description

Implementation of the Flower class.

Variable Documentation

◆ LEAF_COLOR

const HSLAPixel LEAF_COLOR = color::GREEN

◆ LEAF_HEIGHT

const int LEAF_HEIGHT = 16

◆ LEAF_WIDTH

const int LEAF_WIDTH = 16

◆ PETAL_COLOR

const HSLAPixel PETAL_COLOR = color::RED

◆ PETAL_RADIUS

const int PETAL_RADIUS = 2

◆ PISTIL_COLOR

const HSLAPixel PISTIL_COLOR = color::YELLOW

◆ PISTIL_RADIUS

const int PISTIL_RADIUS = 12

◆ STEM_COLOR

const HSLAPixel STEM_COLOR = color::GREEN

◆ STEM_HEIGHT

const int STEM_HEIGHT = 32

◆ STEM_WIDTH

const int STEM_WIDTH = 2