Esempio n. 1
0
//----------------------------------------------------------
void ofPath::rectRounded(const ofPoint & p, float w, float h, float topLeftRadius,
														float topRightRadius,
														float bottomRightRadius,
														float bottomLeftRadius){

	rectRounded(p.x,p.y,p.z,w,h,topLeftRadius,topRightRadius,bottomRightRadius,bottomLeftRadius);
}
Esempio n. 2
0
//----------------------------------------------------------
void ofPath::rectRounded(const glm::vec2 & p, float w, float h, float topLeftRadius,
														float topRightRadius,
														float bottomRightRadius,
														float bottomLeftRadius){

	rectRounded(p.x,p.y,0.0,w,h,topLeftRadius,topRightRadius,bottomRightRadius,bottomLeftRadius);
}
Esempio n. 3
0
//----------------------------------------------------------
void ofPath::rectRounded(const ofRectangle & b, float topLeftRadius,
										  float topRightRadius,
										  float bottomRightRadius,
										  float bottomLeftRadius){
	rectRounded(b.x,b.y,0,b.width,b.height,topLeftRadius,topRightRadius,bottomRightRadius,bottomLeftRadius);
}
Esempio n. 4
0
//----------------------------------------------------------
void ofPath::rectRounded(float x, float y, float w, float h, float r){
	rectRounded(x,y,0.0f,w,h,r,r,r,r);
}
Esempio n. 5
0
//----------------------------------------------------------
void ofPath::rectRounded(const ofPoint & p, float w, float h, float r){
	rectRounded(p.x,p.y,p.z,w,h,r,r,r,r);
}
Esempio n. 6
0
//----------------------------------------------------------
void ofPath::rectRounded(const ofRectangle & b, float r){
	rectRounded(b.x,b.y,0,b.width,b.height,r,r,r,r);
}
Esempio n. 7
0
//----------------------------------------------------------
void ofPath::rectRounded(const glm::vec2 & p, float w, float h, float r){
	rectRounded(p.x,p.y,0.0,w,h,r,r,r,r);
}