GlyphsCallback Protocol Reference
Conforms to | NSObject |
Declared in | GlyphsFilterProtocol.h |
Tasks
– processLayer:extraHandles:error:
required method– processLayer:originalGlyph:withInstance:
required method
Instance Methods
processLayer:extraHandles:error:
Is called to process a layer before output
- (BOOL)processLayer:(GSLayer *)layer
extraHandles:(NSMutableArray *)extraHandles error:(out
NSError *__autoreleasing *)error
Parameters
- layer
-
The layer to process
Return Value
if there where any changes, return a copy of layer that is than used for further processing
processLayer:originalGlyph:withInstance:
Is called to process a layer before output
- (GSLayer *)processLayer:(GSLayer *)layer
originalGlyph:(GSGlyph *)originalGlyph
withInstance:(GSInstance *)instance
Parameters
- layer
-
The layer to process
- originalGlyph
-
the original Glyph with all layers
- instance
-
The instance that is used to interpolate
Return Value
if there where any changes, return a copy of layer that is than used for further processing