Oolite 1.91.0.7644-241112-7f5034b
Loading...
Searching...
No Matches
NSString(OODisplayEncoding) Category Reference

#include <HeadUpDisplay.h>

Instance Methods

(const char *) - cStringUsingOoliteEncoding
 
(const char *) - cStringUsingOoliteEncodingAndRemapping
 

Detailed Description

Definition at line 360 of file HeadUpDisplay.h.

Method Documentation

◆ cStringUsingOoliteEncoding

- (const char *) cStringUsingOoliteEncoding

Definition at line 4384 of file HeadUpDisplay.m.

4422{
4423 if (sEncodingCoverter == nil) InitTextEngine();
4424
4425 // Note: the data will be autoreleased, so the bytes behave as though they're autoreleased too.
4426 return [[self dataUsingEncoding:[sEncodingCoverter encoding] allowLossyConversion:YES] bytes];
4427}
static OOEncodingConverter * sEncodingCoverter
return nil

References M_PI, OOGLBEGIN, OOGLEND, x, and y.

◆ cStringUsingOoliteEncodingAndRemapping

- (const char *) cStringUsingOoliteEncodingAndRemapping

Definition at line 4384 of file HeadUpDisplay.m.

4431{
4432 if (sEncodingCoverter == nil) InitTextEngine();
4433
4434 // Note: the data will be autoreleased, so the bytes behave as though they're autoreleased too.
4435 return [[sEncodingCoverter convertString:self] bytes];
4436}

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