CALayer coordinates question

  • Hi there,

    briefly speaking, I have a sublayer that I draw using various Bezier paths and other goodies (code generated by PaintCode™). No matter where I set the frame of my sublayer, or what I do with bounds, the drawing always appear in the lower left corner of the parent NSView. Is that normal?

    Thanks a lot!
    Vincent
  • On Jun 25, 2012, at 5:12 AM, Vincent Habchi wrote:

    > Hi there,
    >
    > briefly speaking, I have a sublayer that I draw using various Bezier paths and other goodies (code generated by PaintCode™). No matter where I set the frame of my sublayer, or what I do with bounds, the drawing always appear in the lower left corner of the parent NSView. Is that normal?

    No, it isn't. Can you share a brief example that triggers the issue?
    --
    David Duncan
previous month june 2012 next month
MTWTFSS
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30  
Go to today