public void ProcessInitailizePoseCombination(PoseCombination poseCombination, PoseCombination editPoseCombination) { for (int i = 0; i < editPoseCombination.GetPoseLength(); i++) { poseCombination.AddPose(editPoseCombination.GetPose(i)); } for (int i = 0; i < editPoseCombination.GetKeyLength(); i++) { poseCombination.AddKey(editPoseCombination.GetKey(i)); } if (editPoseCombination.GetIsContinue()) poseCombination.SetIsContinue(); }
public void ProcessPosePictureBoxPaint(Graphics graphics, PoseCombination poseCombination) { if (poseCombination.GetPoseLength() != 0) graphics.DrawImage(poseCombination.GetPose(0).GetPoseImage(), 10, 260); for (int i = 1; i < poseCombination.GetPoseLength(); i++) { graphics.DrawString("+", new Font("Arial", 30), Brushes.SkyBlue, 110 * i - 25, 275); graphics.DrawImage(poseCombination.GetPose(i).GetPoseImage(), 10 + 110 * i, 260); } }