(void) CGRectDivide(CGRect rect, CGRect *slice, CGRect *remainder, CGFloat amount, CGRectEdge edge) rectã®edgeãåºæºã«ãCGRectMinXEdgeçã®Xé¢ä¿ãªãWidthã CGRectMinYEdgeçã®Yé¢ä¿ãªãHeightãamountã«ããCGRectãsliceã¨ãã¦åå¾ã ã¾ããrectããsliceãåãåã£ãæ®ããremainderã¨ãã¦åå¾ã ãä¾ã CGRect slice, remainder; CGRectDivide(CGRectMake(50, 50, 100, 100), &slice, &remainder, 30, CGRectMinXEdge);
{{#tags}}- {{label}}
{{/tags}}