title: How to create a bezier line with a texture in Cocos2D
body: <p>Im working in an app using cocos2D and want to know how to apply a texture to a line or a bezier line (ccDrawRect and ccDrawCubicBezier respectively). My draw code is so easy :</p>
  
  <pre><code>ccDrawColor4F(_r, _g, _b, _a);
  glLineWidth(_g_iLineWidth);
  ccDrawCubicBezier (...);
  </code></pre>
  
  <p>I want just to know how to apply a 2D texture to this line. Ive got my line texture in png format and want to apply it by repeating the texture along the curve.</p>
  
  <p>Thank you very much in advance! Regards</p>