コード例 #1
0
ファイル: ofPath.cpp プロジェクト: 6uclz1/openFrameworks
//----------------------------------------------------------
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);
}
コード例 #2
0
ファイル: ofPath.cpp プロジェクト: IglooVision/openFrameworks
//----------------------------------------------------------
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);
}
コード例 #3
0
ファイル: ofPath.cpp プロジェクト: 6uclz1/openFrameworks
//----------------------------------------------------------
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);
}
コード例 #4
0
ファイル: ofPath.cpp プロジェクト: 6uclz1/openFrameworks
//----------------------------------------------------------
void ofPath::rectRounded(float x, float y, float w, float h, float r){
	rectRounded(x,y,0.0f,w,h,r,r,r,r);
}
コード例 #5
0
ファイル: ofPath.cpp プロジェクト: 6uclz1/openFrameworks
//----------------------------------------------------------
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);
}
コード例 #6
0
ファイル: ofPath.cpp プロジェクト: 6uclz1/openFrameworks
//----------------------------------------------------------
void ofPath::rectRounded(const ofRectangle & b, float r){
	rectRounded(b.x,b.y,0,b.width,b.height,r,r,r,r);
}
コード例 #7
0
ファイル: ofPath.cpp プロジェクト: IglooVision/openFrameworks
//----------------------------------------------------------
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);
}