Lines Matching defs:scale

3997     float scale;
9724 float scale = 1.0f/dmr2;
9725 scale = NK_MIN(100.0f, scale);
9726 dm = nk_vec2_muls(dm, scale);
9782 float scale = 1.0f/dmr2;
9783 scale = NK_MIN(100.0f, scale);
9784 dm = nk_vec2_muls(dm, scale);
9947 float scale = 1.0f / dmr2;
9948 scale = NK_MIN(scale, 100.0f);
9949 dm = nk_vec2_muls(dm, scale);
12217 float scale = scale_x > scale_y ? scale_y : scale_x;
12220 flatness_in_pixels / scale, &winding_lengths, &winding_count, alloc);
12453 float scale = (fh > 0) ? nk_tt_ScaleForPixelHeight(info, fh):
12464 nk_tt_GetGlyphBitmapBoxSubpixel(info,glyph, scale * (float)spc->h_oversample,
12465 scale * (float)spc->v_oversample, 0,0, &x0,&y0,&x1,&y1);
12489 float scale = fh > 0 ? nk_tt_ScaleForPixelHeight(info, fh):
12521 nk_tt_GetGlyphBitmapBox(info, glyph, scale * (float)spc->h_oversample,
12522 (scale * (float)spc->v_oversample), &x0,&y0,&x1,&y1);
12525 spc->stride_in_bytes, scale * (float)spc->h_oversample,
12526 scale * (float)spc->v_oversample, 0,0, glyph, alloc);
12540 bc->xadvance = scale * (float)advance;
13013 float scale = 0;
13021 scale = height/font->info.height;
13030 text_width += g->xadvance * scale;
13043 float scale;
13056 scale = height/font->info.height;
13058 glyph->width = (g->x1 - g->x0) * scale;
13059 glyph->height = (g->y1 - g->y0) * scale;
13060 glyph->offset = nk_vec2(g->x0 * scale, g->y0 * scale);
13061 glyph->xadvance = (g->xadvance * scale);
13109 font->scale = (float)pixel_height / (float)font->info.height;
13115 font->handle.height = font->info.height * font->scale;
25723 /// move/scale a window and another window is behind it.