KiCad PCB EDA Suite
Loading...
Searching...
No Matches
color4d_test_utils.h File Reference

Test utilities for COLOUR4D objects. More...

#include <gal/color4d.h>
#include <qa_utils/numeric.h>

Go to the source code of this file.

Namespaces

namespace  KI_TEST
 

Functions

bool KI_TEST::IsColorNear (const KIGFX::COLOR4D &aCol, const KIGFX::COLOR4D aOther, double aTol)
 Checks if a COLOR4D is close enough to another.
 
bool KI_TEST::IsColorNearHex (const KIGFX::COLOR4D &aCol, unsigned char r, unsigned char g, unsigned char b, unsigned char a)
 Checks if a COLOR4D is close enough to a given RGB char value.
 

Detailed Description

Test utilities for COLOUR4D objects.

Definition in file color4d_test_utils.h.