Oolite
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 4381 of file HeadUpDisplay.m.

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

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

◆ cStringUsingOoliteEncodingAndRemapping

- (const char *) cStringUsingOoliteEncodingAndRemapping

Definition at line 4381 of file HeadUpDisplay.m.

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

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