iOS Question Bezier Path

Discussion in 'iOS Questions' started by narek adonts, Jun 10, 2015.

  1. narek adonts

    narek adonts Well-Known Member Licensed User

    Hi,

    I am drawing on Canvas using Path (Bezier Path)

    I am trying to create a bitmap of the drawen path , JUST THE PART THAT WAS DRAWEN.
    How can achieve this?

    I was trying to create a new panel with canvas with the sizes of the path but when drawing on the new canvas the path coordinates are from the old panel.

    Any help?
     
  2. Erel

    Erel Administrator Staff Member Licensed User

  3. narek adonts

    narek adonts Well-Known Member Licensed User

    But how can I retreive the rect of the path to be able to know which part of the old canvas must be draw on the second canvas?
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    You will need to calculate it based on the path points.
     
Loading...