NSConvertGlyphsToPackedGlyphs(_:_:_:_:)
Prepares a set of glyphs for processing by character-based routines.
Declaration
func NSConvertGlyphsToPackedGlyphs(_ glBuf: UnsafeMutablePointer<NSGlyph>, _ count: Int, _ packing: NSMultibyteGlyphPacking, _ packedGlyphs: UnsafeMutablePointer<CChar>) -> IntDiscussion
This function takes a buffer of glyphs, specified in the glBuf parameter, and packs them into a condensed character array. The character array is returned in the packedGlyphs parameter, which should have enough space for at least ((4 * count) + 1) bytes to guarantee that the packed glyphs fit. count specifies the number of glyphs in glBuf. packing specifies how the glyphs are currently packed.
See Also
Functions
raiseBadArgumentException(_:_:_:)NSReleaseAlertPanel(_:)NSDisableScreenUpdates()NSEnableScreenUpdates()NSDrawColorTiledRects(_:_:_:_:_:)NSSetShowsServicesMenuItem(_:_:)NSCopyBits(_:_:_:)NSShowsServicesMenuItem(_:)NSDottedFrameRect(_:)NSReadPixel(_:)NSGetWindowServerMemory(_:_:_:_:)fileContentsType(forPathExtension:)fileNameType(forPathExtension:)representedPathExtensionrepresentedPathExtensions(from:)