void sRect::ScalePosRes(void)
{
	float x = CCGetWorkspaceWidth()/(float)640;
	float y = CCGetWorkspaceHeight()/(float)480;
	ScalePos(x, y);
}
Beispiel #2
0
void MRECT::ScalePosRes(void)
{
	float x = MGetWorkspaceWidth()/(float)640;
	float y = MGetWorkspaceHeight()/(float)480;
	ScalePos(x, y);
}
Beispiel #3
0
void MRECT::ScalePosRes()
{
	float x = MGetWorkspaceWidth() / 640.f;
	float y = MGetWorkspaceHeight() / 480.f;
	ScalePos(x, y);
}