30 return aContext._textMatrix;
35 aContext._textMatrix = aTransform;
40 return aContext._textPosition || _CGPointMakeZero();
45 aContext._textPosition = CGPointMake(x, y);
50 return aContext._CPFont;
55 aContext.font = [aFont cssString];
56 aContext._CPFont = aFont;
61 aContext._textDrawingMode = aMode;
71 aContext.textBaseline =
@"middle";
72 aContext.textAlign =
@"left";
74 var mode = aContext._textDrawingMode;
75 if (!mode && mode !== 0)
78 var
width = aContext.measureText(aString).width;
81 aContext.fillText(aString, x, y);
83 aContext.strokeText(aString, x, y);
85 aContext._textPosition = CGPointMake(x +
width, y);
function CGContextSetTextDrawingMode(aContext, aMode)
function CGContextSetTextMatrix(aContext, aTransform)
function CGContextGetFont(aContext)
function CGContextSelectFont(aContext, aFont)
function CGContextSetTextPosition(aContext, x, y)
function CGContextGetTextMatrix(aContext)
function CGContextShowTextAtPoint(aContext, x, y, aString)
function CGContextGetTextPosition(aContext)
function CGContextShowText(aContext, aString)