Home
last modified time | relevance | path

Searched refs:G_SQRT2 (Results 1 – 25 of 66) sorted by relevance

123

/dports/x11-toolkits/pango/pango-1.48.11/tests/
H A Dtestmatrix.c162 g_assert_cmpfloat_with_epsilon (rect.y, - G_SQRT2 / 2 * PANGO_SCALE, 0.5); in test_matrix_transform_rect()
163 g_assert_cmpfloat_with_epsilon (rect.width, G_SQRT2 * PANGO_SCALE, 0.5); in test_matrix_transform_rect()
164 g_assert_cmpfloat_with_epsilon (rect.height, G_SQRT2 * PANGO_SCALE, 0.5); in test_matrix_transform_rect()
/dports/x11/mate-screensaver/mate-screensaver-1.26.1/savers/
H A Dfloaters.c695 floater->bounds.width = G_SQRT2 * source->width + 2; in screen_saver_floater_do_draw()
696 floater->bounds.height = G_SQRT2 * source->height + 2; in screen_saver_floater_do_draw()
697 floater->bounds.x = (int) (floater->position.x - .5 * G_SQRT2 * source->width) - 1; in screen_saver_floater_do_draw()
698 floater->bounds.y = (int) (floater->position.y - .5 * G_SQRT2 * source->height) - 1; in screen_saver_floater_do_draw()
1031 .5 * G_SQRT2 * size), in screen_saver_update_state()
1033 .5 * G_SQRT2 * size), in screen_saver_update_state()
1034 G_SQRT2 * size + 2, in screen_saver_update_state()
1035 G_SQRT2 * size + 2); in screen_saver_update_state()
/dports/x11/xfce4-screensaver/xfce4-screensaver-4.16.0/savers/
H A Dfloaters.c698 floater->bounds.width = G_SQRT2 * source->width + 2; in screen_saver_floater_do_draw()
699 floater->bounds.height = G_SQRT2 * source->height + 2; in screen_saver_floater_do_draw()
700 floater->bounds.x = (int) (floater->position.x - .5 * G_SQRT2 * source->width) - 1; in screen_saver_floater_do_draw()
701 floater->bounds.y = (int) (floater->position.y - .5 * G_SQRT2 * source->height) - 1; in screen_saver_floater_do_draw()
1021 .5 * G_SQRT2 * size), in screen_saver_update_state()
1023 .5 * G_SQRT2 * size), in screen_saver_update_state()
1024 G_SQRT2 * size + 2, in screen_saver_update_state()
1025 G_SQRT2 * size + 2); in screen_saver_update_state()
/dports/graphics/clutter/clutter-1.26.4/doc/cookbook/examples/
H A Danimations-path-circle.c23 static gfloat kappa = 4 * (G_SQRT2 - 1) / 3; in build_circular_path()
/dports/graphics/clutter/clutter-1.26.4/doc/cookbook/html/examples/
H A Danimations-path-circle.c23 static gfloat kappa = 4 * (G_SQRT2 - 1) / 3; in build_circular_path()
/dports/graphics/dia/dia-0.97.3/lib/
H A Dgeometry.h61 #define M_SQRT2 G_SQRT2
64 #define M_SQRT1_2 (1.0/G_SQRT2)
/dports/lang/fpc-source/fpc-3.2.2/packages/gtk2/src/glib/
H A Dgtypes.inc110 G_SQRT2 = 1.4142135623730950488E0;
/dports/x11-toolkits/fpc-gtk2/fpc-3.2.2/packages/gtk2/src/glib/
H A Dgtypes.inc110 G_SQRT2 = 1.4142135623730950488E0;
/dports/graphics/librsvg2/librsvg-2.40.21/
H A Dtest-display.c262 zoom_image (info, sqrt (G_SQRT2)); in zoom_in()
268 zoom_image (info, 1. / sqrt (G_SQRT2)); in zoom_out()
/dports/graphics/gimp-app/gimp-2.10.30/app/tools/
H A Dgimpperspectivetool.c179 r = MAX (MIN (x, y) / G_SQRT2 - in gimp_perspective_tool_readjust()
H A Dgimpunifiedtransformtool.c225 r = MAX (MIN (x, y) / G_SQRT2 - in gimp_unified_transform_tool_readjust()
H A Dgimpscaletool.c271 r = MAX (MIN (x, y) / G_SQRT2 - in gimp_scale_tool_readjust()
/dports/graphics/gthumb/gthumb-3.10.1/extensions/file_tools/
H A Dgth-preview-tool.c120 max_size = MAX (allocation.width, allocation.height) / G_SQRT2 + 2;
H A Dgth-image-line-tool.c149 max_size = MAX (allocation.width, allocation.height) / G_SQRT2 + 2; in update_image_surface()
/dports/cad/lepton-eda/lepton-eda-1.9.17/liblepton/src/
H A Dbus_object.c261 expand = ceil (0.5 * G_SQRT2 * BUS_WIDTH); in lepton_bus_object_calculate_bounds()
H A Dline_object.c622 expand = ceil (0.5 * G_SQRT2 * lepton_object_get_stroke_width (object)); in lepton_line_object_calculate_bounds()
H A Dpath_object.c594 expand = ceil (0.5 * G_SQRT2 * lepton_object_get_stroke_width (object)); in lepton_path_object_calculate_bounds()
H A Dpin_object.c83 expand = ceil (0.5 * G_SQRT2 * width); in lepton_pin_object_calculate_bounds()
/dports/graphics/cogl/cogl-1.22.8/deps/glib/
H A Dgtypes.h138 #define G_SQRT2 1.4142135623730950488016887242096980785696718753769 macro
/dports/devel/gettext-tools/gettext-0.21/libtextstyle/gnulib-local/lib/glib/
H A Dgtypes.in.h116 #define G_SQRT2 1.4142135623730950488016887242096980785696718753769 macro
/dports/devel/gettext-tools/gettext-0.21/libtextstyle/lib/glib/
H A Dgtypes.in.h116 #define G_SQRT2 1.4142135623730950488016887242096980785696718753769 macro
/dports/devel/gettext-runtime/gettext-0.21/libtextstyle/gnulib-local/lib/glib/
H A Dgtypes.in.h116 #define G_SQRT2 1.4142135623730950488016887242096980785696718753769 macro
/dports/devel/gettext-runtime/gettext-0.21/libtextstyle/lib/glib/
H A Dgtypes.in.h116 #define G_SQRT2 1.4142135623730950488016887242096980785696718753769 macro
/dports/devel/gettext-po-mode/gettext-0.21/libtextstyle/gnulib-local/lib/glib/
H A Dgtypes.in.h116 #define G_SQRT2 1.4142135623730950488016887242096980785696718753769 macro
/dports/devel/gettext-po-mode/gettext-0.21/libtextstyle/lib/glib/
H A Dgtypes.in.h116 #define G_SQRT2 1.4142135623730950488016887242096980785696718753769 macro

123