Lines Matching refs:context
53 CGContextRef context;
366 canvas->context = CGBitmapContextCreate(canvas->image->data,
371 CGContextSetRGBFillColor(canvas->context, 0.0f, 0.0f, 0.0f, 1.0f);
372 CGContextSetFontSize(canvas->context, 1);
373 CGContextSaveGState(canvas->context);
384 if (canvas->context != NULL) {
385 CGContextRelease(canvas->context);
422 JRSFontSetRenderingStyleOnContext(canvas->context, style);
525 CGContextShowGlyphsAtPoint(canvas->context,
543 CGContextSaveGState(canvas->context);
572 // fix the context size, just in case the substituted character is unexpectedly large
576 CGContextSetTextMatrix(canvas->context, strike->fAltTx);
579 CGContextSetFont(canvas->context, cgFallback);
586 CGContextRestoreGState(canvas->context);
621 CGContextSetTextMatrix(canvas->context, strike->fAltTx);
623 CGContextSetFont(canvas->context, strike->fAWTFont->fNativeCGFont);
624 JRSFontSetRenderingStyleOnContext(canvas->context, strike->fStyle);
645 PRINT_CGSTATES_INFO(canvas->context);