Lines Matching refs:referencePoint
232 vec2 referencePoint(center.position[0], center.position[1]);
234 referencePoint += vec2(-strokeOffset.y, strokeOffset.x) * (begin ? -1 : 1);
237 Vertex::set(&buffer[currentIndex++], referencePoint + strokeOffset);
238 Vertex::set(&buffer[currentIndex++], referencePoint - strokeOffset);
417 // determine referencePoint, the center point for the 4 primary cap vertices
419 vec2 referencePoint(point->position[0], point->position[1]);
423 referencePoint += vec2(-strokeOffset.y, strokeOffset.x);
427 referencePoint.x + outerOffset.x + capAAOffset.x,
428 referencePoint.y + outerOffset.y + capAAOffset.y,
431 referencePoint.x + innerOffset.x - capAAOffset.x,
432 referencePoint.y + innerOffset.y - capAAOffset.y,
439 referencePoint.x - outerOffset.x + capAAOffset.x,
440 referencePoint.y - outerOffset.y + capAAOffset.y,
443 referencePoint.x - innerOffset.x - capAAOffset.x,
444 referencePoint.y - innerOffset.y - capAAOffset.y,
464 referencePoint.x + radialOffset.x + AAOffset.x,
465 referencePoint.y + radialOffset.y + AAOffset.y,
468 referencePoint.x + radialOffset.x - AAOffset.x,
469 referencePoint.y + radialOffset.y - AAOffset.y,