Lines Matching refs:and

2  * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
5 * This code is free software; you can redistribute it and/or modify it
45 * For each character, the glyph is struck, copied into a GlyphInfo struct, and
48 * If the necessary canvas is too large, the shared one will not be used and a
66 * They will print out a full UInt8 canvas and any pixels struck (assuming
297 #pragma mark --- Pixel Size, Modes, and Canvas Shaping Helper Functions ---
343 * Creates a new canvas of a fixed size, and initializes the CGContext as
379 * Releases the BitmapContext and the associated memory backing it.
404 * Quick and easy inline to check if this canvas is big enough.
453 * Creates a GlyphInfo with exactly the correct size image and measurements.
475 // and zero pixels is ok
513 * Clears the canvas, strikes the glyph with CoreGraphics, and then
582 // clean the canvas - align, strike, and copy the glyph from the canvas into the info
604 #pragma mark --- GlyphInfo Filling and Canvas Managment ---
607 * Sets all the per-run properties for the canvas, and then iterates through
608 * the character run, and creates images in the GlyphInfo structs.
653 * This is the maximum length and height times the above slack squared
661 * the glyphs, and destroy it.
698 * Finds the advances and bounding boxes of the characters in the run,
699 * cycles through all the bounds and calculates the maximum canvas space
748 #pragma mark --- Temporary Buffer Allocations and Initialization ---
788 * and advances. Unfortunately to use CG or CT in bulk runs (which is
789 * faster than calling them per character), we have to copy into and out
812 // just do one malloc, and carve it up for all the buffers
817 reason:@"Failed to allocate memory for the temporary glyph strike and measurement buffers." userInfo:nil] raise];