Home | History | Annotate | Download | only in win

Lines Matching defs:cgContext

44 #include <CoreGraphics/CGContext.h>
643 CGContextRef cgContext = context.platformContext();
656 CGContextSaveGState(cgContext);
659 CGContextScaleCTM(cgContext, 1, -1);
660 CGContextTranslateCTM(cgContext, rect.width() - drawRect.size.width, m_qtVideoLayer ? -rect.height() : 0);
662 CGContextTranslateCTM(cgContext, rect.width() - drawRect.size.width, 0);
665 CGContextSetFillColor(cgContext, backgroundColor);
666 CGContextFillRect(cgContext, drawRect);
669 CGContextSetFillColor(cgContext, textColor);
670 CGContextSetTextMatrix(cgContext, CGAffineTransformMakeScale(1, -1));
671 CGContextSelectFont(cgContext, "Helvetica", fontSize, kCGEncodingMacRoman);
673 CGContextShowTextAtPoint(cgContext, drawRect.origin.x + boxBorderWidth, drawRect.origin.y + boxHeight - boxBorderWidth, text, strlen(text));
675 CGContextRestoreGState(cgContext);