You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RotationTests.zip
Do we have an entirely distinct (from Objective-C) of accomplishing arbitrary rotation of a view or am I correct assuming it isn't currently possible without directly manipulating the underlying DOM?
The problem is deeper, as demonstrated by the attached reductions in each of Objective-C and Objective-J — which highlight a discrepancy in behaviour.
In Objective-C, setting a views' wantsLayer: automatically creates a layer, which one can directly apply an affine transformation to.
In Objective-J, it appears necessary to manually create the layer, then implement (void)drawInContext:(CGContextRef)ctx.
This suggests incomplete implementation of layer functionality compared to the reference implementation.
The text was updated successfully, but these errors were encountered:
I do not see a universal and clean way to implement a tranformation matrix that works transparently with every view. This is because CPView can use different means of drawing, either canvas or DOM directly.
IMHO our abstraction is not deep enough to make rotateByAngle: work within CPView.
RotationTests.zip
Do we have an entirely distinct (from Objective-C) of accomplishing arbitrary rotation of a view or am I correct assuming it isn't currently possible without directly manipulating the underlying DOM?
The problem is deeper, as demonstrated by the attached reductions in each of Objective-C and Objective-J — which highlight a discrepancy in behaviour.
In Objective-C, setting a views' wantsLayer: automatically creates a layer, which one can directly apply an affine transformation to.
In Objective-J, it appears necessary to manually create the layer, then implement
(void)drawInContext:(CGContextRef)ctx
.This suggests incomplete implementation of layer functionality compared to the reference implementation.
The text was updated successfully, but these errors were encountered: