Searched refs:device_radius (Results 1 – 10 of 10) sorted by relevance
/dports/x11-toolkits/p5-Gtk2/Gtk2-1.24993/gtk-demo/ |
H A D | rotated_text.pl | 50 my $device_radius = min ($width, $height) / 2.; 51 $matrix->translate ($device_radius + ($width - 2 * $device_radius) / 2, 52 $device_radius + ($height - 2 * $device_radius) / 2); 53 $matrix->scale ($device_radius / RADIUS, $device_radius / RADIUS);
|
/dports/devel/lua-lgi/lgi-0.9.2/samples/gtk-demo/ |
H A D | demo-rotatedtext.lua | 83 local device_radius = math.min(self.width, self.height) / 2 84 cr:translate(device_radius + (self.width - 2 * device_radius) / 2, 85 device_radius + (self.height - 2 * device_radius) / 2) 86 cr:scale(device_radius / RADIUS, device_radius / RADIUS)
|
/dports/x11-toolkits/gtk40/gtk-4.4.1/demos/gtk-demo/ |
H A D | rotated_text.c | 107 double device_radius; in rotated_text_draw() local 114 device_radius = MIN (width, height) / 2.; in rotated_text_draw() 116 device_radius + (width - 2 * device_radius) / 2, in rotated_text_draw() 117 device_radius + (height - 2 * device_radius) / 2); in rotated_text_draw() 118 cairo_scale (cr, device_radius / RADIUS, device_radius / RADIUS); in rotated_text_draw()
|
/dports/x11-toolkits/gtk30/gtk+-3.24.31/demos/gtk-demo/ |
H A D | rotated_text.c | 108 double device_radius; in rotated_text_draw() local 118 device_radius = MIN (width, height) / 2.; in rotated_text_draw() 120 device_radius + (width - 2 * device_radius) / 2, in rotated_text_draw() 121 device_radius + (height - 2 * device_radius) / 2); in rotated_text_draw() 122 cairo_scale (cr, device_radius / RADIUS, device_radius / RADIUS); in rotated_text_draw()
|
/dports/x11-toolkits/gtk20/gtk+-2.24.33/demos/gtk-demo/ |
H A D | rotated_text.c | 112 double device_radius; in rotated_text_expose_event() local 125 device_radius = MIN (width, height) / 2.; in rotated_text_expose_event() 127 device_radius + (width - 2 * device_radius) / 2, in rotated_text_expose_event() 128 device_radius + (height - 2 * device_radius) / 2); in rotated_text_expose_event() 129 cairo_scale (cr, device_radius / RADIUS, device_radius / RADIUS); in rotated_text_expose_event()
|
/dports/devel/pygobject3-common/pygobject-3.38.0/examples/demo/demos/ |
H A D | rotatedtext.py | 142 device_radius = min(width, height) / 2.0 144 device_radius + (width - 2 * device_radius) / 2, 145 device_radius + (height - 2 * device_radius) / 2) 146 cairo_ctx.scale(device_radius / self.RADIUS, 147 device_radius / self.RADIUS)
|
/dports/devel/py-gobject3/pygobject-3.38.0/examples/demo/demos/ |
H A D | rotatedtext.py | 142 device_radius = min(width, height) / 2.0 144 device_radius + (width - 2 * device_radius) / 2, 145 device_radius + (height - 2 * device_radius) / 2) 146 cairo_ctx.scale(device_radius / self.RADIUS, 147 device_radius / self.RADIUS)
|
/dports/x11-toolkits/guile-gnome-platform/guile-gnome-platform-2.16.5/gtk/doc/gdk/ |
H A D | section-pango_interaction.xml.texi | 45 double device_radius; 60 device_radius = MIN (width, height) / 2.; 63 device_radius + (width - 2 * device_radius) / 2, 64 device_radius + (height - 2 * device_radius) / 2); 65 pango_matrix_scale (&matrix, device_radius / RADIUS, device_radius / RADIUS);
|
H A D | guile-gnome-gdk.info-1 | 7684 double device_radius; 7699 device_radius = MIN (width, height) / 2.; 7702 device_radius + (width - 2 * device_radius) / 2, 7703 device_radius + (height - 2 * device_radius) / 2); 7704 pango_matrix_scale (&matrix, device_radius / RADIUS, device_radius / RADIUS);
|
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/webrender/src/ |
H A D | picture.rs | 417 let device_radius = (blur_radius * frame_context.device_pixel_scale.0).round(); in prepare_for_render() localVariable 418 let blur_std_deviation = device_radius * 0.5; in prepare_for_render()
|