Oolite 1.91.0.7658-250404-b1488af
All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Modules Pages
OOColor.m File Reference
import "OOColor.h"
import "OOCollectionExtractors.h"
import "OOMaths.h"
+ Include dependency graph for OOColor.m:

Go to the source code of this file.

Functions

NSString * OORGBAComponentsDescription (OORGBAComponents components)
 
NSString * OOHSBAComponentsDescription (OOHSBAComponents components)
 

Function Documentation

◆ OOHSBAComponentsDescription()

NSString * OOHSBAComponentsDescription ( OOHSBAComponents components)

Definition at line 544 of file OOColor.m.

545{
546 return [NSString stringWithFormat:@"{%i, %.3g, %.3g, %.3g}", (int)components.h, components.s, components.b, components.a];
547}
typedef int(ZCALLBACK *close_file_func) OF((voidpf opaque

Referenced by OOColor::hsbaDescription.

+ Here is the caller graph for this function:

◆ OORGBAComponentsDescription()

NSString * OORGBAComponentsDescription ( OORGBAComponents components)

Definition at line 538 of file OOColor.m.

539{
540 return [NSString stringWithFormat:@"{%.3g, %.3g, %.3g, %.3g}", components.r, components.g, components.b, components.a];
541}

Referenced by OOColor::rgbaDescription.

+ Here is the caller graph for this function: