Function tess2_sys::tessAddContour [] [src]

pub unsafe extern "C" fn tessAddContour(
    tess: *mut TESStesselator,
    size: c_int,
    pointer: *const c_void,
    stride: c_int,
    count: c_int
)

Adds new contour to tesselator, this function copies vertices into internal buffer

Arguments

  • size - specifies number of floats per vertex
  • pointer - pointer to data
  • stride - stride between vertices ( in bytes )
  • count - number of vertices to add