Bug #5
CoreGraphics hacks no longer function properly under 64-bit
Status:
Resolved
Priority:
High
Assignee:
-
Start date:
12/28/2009
Due date:
% Done:
100%
Estimated time:
Description
It seems that the CoreGraphics hacks (source:ITCoreGraphicsHacks.h) used to enable shadows for ITTextFieldCell no longer function properly under 64-bit. Due to this, ITTextFieldCell instances with shadows enabled do not draw text with shadows, if at all.
Related issues
Associated revisions
History
Updated by Joseph Spiros over 14 years ago
A switch from CGShadowStyle + CGContextSetStyle to CGContextSetShadow would probably be the ideal fix. However, converting the elevation, azimuth, ambient, height, radius, and saturation components of CGShadowStyle (which have been exposed in the ITTextFieldCell API) to the offset, blur, and color components accepted by CGContextSetShadow will require some work.
Updated by Joseph Spiros over 13 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Resolved by 99f5b6f0f00956827c1168857d67f5a27958db98.
Removing the use of private CoreGraphics APIs to draw shadows, and replacing with NSShadow. This should resolve ITKit bug #5.