Lines Matching defs:amount
572 /// and only the required amount of memory will actually be committed.
4131 /* total amount of memory allocated */
5802 NK_LIB struct nk_rect nk_shrink_rect(struct nk_rect r, float amount);
6221 nk_shrink_rect(struct nk_rect r, float amount)
6224 r.w = NK_MAX(r.w, 2 * amount);
6225 r.h = NK_MAX(r.h, 2 * amount);
6226 res.x = r.x + amount;
6227 res.y = r.y + amount;
6228 res.w = r.w - 2 * amount;
6229 res.h = r.h - 2 * amount;