Oolite 1.91.0.7644-241112-7f5034b
|
import "OOPixMap.h"
Go to the source code of this file.
Functions | |
BOOL | OOExtractPixMapChannel (OOPixMap *ioPixMap, uint8_t channelIndex, BOOL compactWhenDone) |
BOOL | OOPixMapToRGBA (OOPixMap *ioPixMap) |
BOOL | OOPixMapModulateUniform (OOPixMap *ioPixMap, float f0, float f1, float f2, float f3) |
BOOL | OOPixMapModulatePixMap (OOPixMap *ioDstPixMap, OOPixMap otherPixMap) |
BOOL | OOPixMapAddPixMap (OOPixMap *ioDstPixMap, OOPixMap otherPixMap) |
BOOL OOExtractPixMapChannel | ( | OOPixMap * | ioPixMap, |
uint8_t | channelIndex, | ||
BOOL | compactWhenDone ) |
Definition at line 40 of file OOPixMapChannelOperations.m.
References EXPECT_NOT, ExtractChannel_4(), OOPixMap::format, kOOPixMapGrayscale, kOOPixMapRGBA, OOCompactPixMap(), OOIsValidPixMap(), OOPixMap::rowBytes, and OOPixMap::width.
Definition at line 301 of file OOPixMapChannelOperations.m.
References AddPixMap_4(), EXPECT_NOT, OOPixMap::format, OOPixMap::height, kOOPixMapRGBA, OOIsValidPixMap(), OOPixMapToRGBA(), and OOPixMap::width.
Definition at line 242 of file OOPixMapChannelOperations.m.
References EXPECT_NOT, OOPixMap::format, OOPixMap::height, kOOPixMapRGBA, ModulatePixMap_4(), OOIsValidPixMap(), OOPixMapToRGBA(), and OOPixMap::width.
BOOL OOPixMapModulateUniform | ( | OOPixMap * | ioPixMap, |
float | f0, | ||
float | f1, | ||
float | f2, | ||
float | f3 ) |
Definition at line 185 of file OOPixMapChannelOperations.m.
References EXPECT_NOT, ModulateUniform_4(), OOIsValidPixMap(), and OOPixMapToRGBA().
BOOL OOPixMapToRGBA | ( | OOPixMap * | ioPixMap | ) |
Definition at line 87 of file OOPixMapChannelOperations.m.
References EXPECT_NOT, OOPixMap::format, OOPixMap::height, kOOPixMapGrayscale, kOOPixMapGrayscaleAlpha, kOOPixMapInvalidFormat, kOOPixMapRGBA, OOAllocatePixMap(), OOIsNullPixMap(), OOIsValidPixMap(), OOPixMap::pixels, ToRGBA_1(), ToRGBA_2(), and OOPixMap::width.
Referenced by OOPixMapAddPixMap(), OOPixMapModulatePixMap(), and OOPixMapModulateUniform().