Questions tagged [zooming]
Zooming is the act of enlarging something (a document, an image, a map) to view it in greater detail. (DO NOT USE for questions about the Zoom communications platform; instead, use [zoom-sdk].)
5,940
questions
1
vote
1
answer
35
views
How to zoom in and out of a figure in Qt 5.0.2 OpenGL(QOpenGLWidget)?
I'm trying to make the zoom in and out of, say, two lines at an angle (like a tick(/)). I have looked through a lot of options on the Internet, but did not find anything useful. If you have an example ...
-1
votes
0
answers
14
views
zooming the page will reset the carousel
Is there a way to avoid reset the carousel after the user zoom in/out the browser page?
I found pages with similar carousel and this behaviour doesn't happens.
Go to spartacus demo website https://...
0
votes
0
answers
15
views
How to display the scrollbar based on zoomed in state in react-konva
I am trying to display the scrollbar when user has zoomed in. It seems like a little bit of Math is involved and I can't figure out how to do the calculation. When user zooms in, the horizontal and ...
0
votes
0
answers
28
views
How to keep zoom effect WHILE transitioning between slides?
Bit of background: ArtStation's pro subscription gives 3D Artists their own website and allows manual customization of the default themes by injecting CSS rules.
I've (successfully) redesigned my ...
-1
votes
1
answer
46
views
how to zoom in and out of a surface inside another surface pygame [closed]
I am making a board game where the board is 100x100, which is very large, and I noticed that I can only show about 10x10 before it gets too small to see, so to solve this issue I want to implement a ...
0
votes
0
answers
41
views
Zoom 3D numpy array image
Imagine we have an (x, y, z) numpy array and we want to zoom it.
If we use cipy.ndimage.zoom the image will be reshaped... I need to zoom the image by maintaining the original shape. Is there any ...
0
votes
0
answers
61
views
Infinite grid zoom : symmetrical zoom in and out
I'm building an infinite grid zoom in vanilla javascript for learning purposes.
So far so good but I have an issue though:
When I zoom in, the values on the axis as well as the gridlines update ...
0
votes
0
answers
21
views
Why does d3.zoom not work correctly when using it with geo.json map data?
Here is my map svg:
useEffect(() => {
const svg = select(svgRef.current)
const { width, height } = wrapperRef.current.getBoundingClientRect();
// projects geo-coordinates on a 2D plane
const ...
0
votes
0
answers
10
views
WKWebView scrollView Resetting Zoom Scale
I am trying to set and maintain the zoomScale value on the scrollView associated with a WKWebView. I can set the value without issue. I have noticed, however, that when the size of the webpage changes ...
0
votes
2
answers
57
views
Zoom an area of a page to fullscreen on click with HTML / CSS / JavaScript
I am having trouble finding what I'm looking for with google searches. I want to create a full-page image (that is, takes up the entire viewport). It might be one big image, a series of smaller images ...
0
votes
0
answers
9
views
How to fix Native size of React Js app to 67% current sizing?
Screen size:
Reduce Native size of app to 67% current sizing. I can do it via Chrome but user first impressions they shouldn’t have to resize.
When Zoom is 67%. App look like this:
Why Blank Space ...
1
vote
0
answers
72
views
Flutter: Offset compensation after scaling canvas in a drawing app
So I'm working on a drawing app using Flutter. I want to implement pinch-zoom while still being able to paint on the canvas with one finger. I've figured out how to use an ...
1
vote
1
answer
114
views
Javascript pseudo-zoom around mouse position in canvas
I would like to "zoom" (mouse wheel) a grid I have, around the mouse position in canvas (like Desmos does).
By zooming, I mean redrawing the lines inside the canvas to look like a zoom ...
0
votes
0
answers
10
views
Applying pan limits to d3.js SVG viewbox when zoomed using translateExtent
Trying to limit the panning on my svg viewbox to the bottom right corner of the svg when zoomed. I have seen a few similar questions on here already but am still yet to find a working answer.
In my ...
0
votes
1
answer
45
views
Zooming image onclick, but bg-col takes over img
I am programming a website, where I have images of documents that I have to present to my clients. However, as the images are too small when viewed plainly from the website, I went to search for "...
0
votes
0
answers
28
views
How to zoom on a quiver plot without loading the cut part, and with arrows of good length? (Python)
I plot a quiver with matplotlib.pyplot, and would like to:
Zoom around a chosen coordinate (and in a chosen range around this coordinate).
Not have to load all the plot and then set an xlim/ylim. It ...
0
votes
0
answers
20
views
Fabricjs : After setDimensions and setZoom didn't get perfect point to append new element on click
after resizing the canvas can't put a new element in the perfect location. how can get a perfect left/top point after Dimensions change of canvas?. also I didn't use fixed height/width for the canvas ...
0
votes
0
answers
21
views
SwiftUI - MagnificationGesture sometimes work most of the time it doesn't work on a view
So I have made a crossword puzzel. That works fine.
But I want to zoom in and out on the crossword puzzel.
Now I am using a MagnificationGesture on the complete view. That works only sometimes.
But ...
0
votes
1
answer
39
views
CSS background image is not zooming in
I am newbee at web development. I was trying to make a header section.
Here is my HTML code:
<body>
<header>
<h1 id="login">Login</h1>
</header>
</body&...
0
votes
0
answers
15
views
How do I stop Chrome adding (only on zoom) a thin black border to Bootstrap row?
When zooming, Chrome is adding a thin black border to a Bootstrap row. It only appears at some zoom values (100%, 110%, not at 150%). In Firefox it's not causing the same problem.
I tried changing the ...
0
votes
2
answers
61
views
Pygame zooming screen
im writing a game right now with 32x32 textures, i have a problem because my screen window is too small, is there any solution? Can i "zoom" my whole game?
Now it looks like this and exactly ...
0
votes
0
answers
47
views
C++ SDL how to get relative mouse position with a camera zoom
I am currently making an agar.io style game out of boredom, and i have got the player moving to the players cursor in the level with a camera following me around, but when the player gets bigger it ...
0
votes
2
answers
33
views
How to locate and change the zoom controls in outlook?
AutoHotkey V2 Beta 4 on Windows 11
I am trying to locate the three zoom controls in Outlook as circled in red below, I am half blind and cannot easily read the emails or locate the zoom controls. The ...
0
votes
1
answer
46
views
How to zoom and focus Android camera using audio jack?
I want to control zoom or focus of my Android phone's camera using audio jack. It is common to use audio jack to take picture or probably we may call it as shutter. It is done by connecting the mic ...
0
votes
0
answers
41
views
How is the height of an inline text element calculated when the browser zoom changes?
So the actual height of an inline text element is not simply the font-size value, but is determined by the individual font's metrics, as explained in this answer (see also this article).
So for the ...
0
votes
0
answers
46
views
Mouse Scrolling image not zooming out (Javascript)
i am trying to zoom out the image when scroll . if i change the width and height of image to 150px. the image is zooming in first then zooming out when go back scroll. however i want the other way ...
0
votes
1
answer
57
views
Java - how to zoom in/zoom out text in JTextArea
I am writing in a notepad. And I want to implement text scaling in my notepad. But I don't know how to do it. I'm trying to find it but everyone is suggesting to change the font size. But I need ...
0
votes
1
answer
118
views
C++, code to make console program contents fit to screen(display the same size) on all different windows computers, Visual Studio
I'm new to stackoverflow, however, I always find good tips and tricks here and I thought I would join.
I'm currently in my second year of college and I decided to start working on my first portfolio ...
1
vote
1
answer
47
views
VBA code that changes zoom level based on text/object in sheet?
All,
I've been looking for VBA code that achieves the following:
Sets zoom to 80% for worksheets that contain a certain key word
Sets zoom to 60% for worksheets that contain a picture
Sets zoom to 85%...
1
vote
1
answer
451
views
Make a zoom of an specific image when clicked using map() in React.js
I am building a website to post photos. I made a grid system where it shows all images in small boxes, and I am trying to make a zoom box showing the image clicked. The images are rendered using map() ...
0
votes
0
answers
15
views
Zoom in & Zoom out - for the dynamic image along with content
I have implemented a functionality where I am displaying background image in div and plotting different elements on the image dynamically using javascript.
Now, need to implement zoom in & zoom ...
0
votes
1
answer
34
views
How to revert editor window zoom to normal size in Visual Studio Code
I am working in Visual Studio Code. I was copying something when I hit the wrong shortcut key (not sure which one) and the editor window zoomed out (to about half the size). See image below.
Note ...
0
votes
0
answers
24
views
Zoom in / Zoom out tkinter text box problem
I've made a zoom in/out function for my tkinter text box .... The issue comes up when I import "manual_data_input_editor() " into other file and when I call the function into that file ...
0
votes
0
answers
42
views
Is there a way to add polyline clustering to Flutter GoogleMaps?
There is clustering for markers such as this: https://pub.dev/packages/google_maps_cluster_manager, but I want to implement this with polylines or be at least to be able to view polylines at certain ...
0
votes
0
answers
27
views
D3 zoom, hot to construct initial k-x-y transform (Error: <g> attribute transform: Expected transform function)
I am trying to initialize an svg transform for use in d3 as follows: var trans_d3 = {k:1, x:0, y:0}. I then initialize transform attributes of svg elements --- in particular, circles --- through .attr(...
0
votes
1
answer
31
views
Bing Maps - Determine max zoom level using REST imagery API
Can someone confirm to me that this can be used as an identifier for no tiles at certain zoom levels. If I issue the following request: "http://ecn.t2.tiles.virtualearth.net/tiles/a0030300.jpeg?g=...
0
votes
0
answers
97
views
Zoom in & zoom out an iframe with PDF by clicking zoom buttons with JavaScript?
I'm trying to zoom in and out of an iFrame with a PDF using two buttons.
The problem is that the zoom in/out applies only to the area around the PDF, and the PDF remains intact.
The one thing i am not ...
0
votes
0
answers
29
views
Gnuplot - Zoom in multiplot
I would like to do a zoom in my first graph of a multiplot layout 1,3 columnsfirst with gnuplot.
set multiplot layout 1,3 columnsfirst
#plot 1 (Zoom in a portion of the 1st plot)
#plot 2
#plot 3
I ...
0
votes
0
answers
27
views
How to view different polylines at different zoom levels in Flutter GoogleMaps
I currently have multiple polylines drawn as grids on GoogleMaps. The amount of polylines is starting to slow down my app, so I am trying to get it where only certain polylines show at certain zoom ...
0
votes
1
answer
38
views
How can i deactivate zoom by default on web application?
I am working on a web application and my client is using Google Chrome on Windows (I am also using Chrome but on Linux) and when they enter the application, there is default zoom which correspond to ...
0
votes
2
answers
99
views
How to prevent child div overflow out of parent div on changing CSS zoom property?
I know we can prevent overflow of child content using CSS overflow property.
But the overflow: scroll property is not preventing overflow.
let zoomInElem = document.getElementById('zoomIn')
let ...
0
votes
1
answer
118
views
How to implement "zoom" with seekbar on CameraX?
I am new to Android App development.
I read https://github.com/Pinkal7600/camera-samples/blob/master/CameraXBasic/app/src/main/java/com/android/example/cameraxbasic/fragments/CameraFragment.kt for ...
0
votes
0
answers
34
views
JavaFX Zoom and Pan Group of Shapes - Unable to accurately centre zoom on mouse position
I'm trying to implement zoom/pane/rotate to a group of shapes. It's working but I’m unable to accurately centre the zoom action on mouse pointer position. It gets worse when zoom in larger and when ...
2
votes
1
answer
94
views
IOS camera zoom not working swift - xcode
I have iPhone 13 pro with iOS version 15.5. I am using XCode version 13.3.1.
I am trying to achieve camera zoom with the AVFoundation.
Below is the code I have tried out. The camera device selected is ...
0
votes
1
answer
83
views
Fabric js: when button is clicked center canvas and zoom to object
I'm trying to center the viewport on an object and zoom in/out when i click a button. I want to have an animation. To do this I'm using setInterval and moving the viewport in increments like so:
const ...
0
votes
0
answers
20
views
Table truncated when a zoom is applicated
I have with this code a problem that is when I increase the zoom of navigator the table is truncated and the add, edit,search, save buttons disappear.
So how to solve this problem and make it scroll ...
0
votes
1
answer
39
views
Creating scrollbars in an HTML PaperJS canvas element for use with paper.view.zoom
We have a PaperJS canvas that is set to 100% width/height
Users can zoom and pan
Users can add content to the canvas at various places within the canvas regardless of zoom/pan state
We want to add ...
0
votes
0
answers
198
views
react-zoom-pan-pinch React weird behaviour with HTML structure
I'm using the react-zoom-pan-pinch library (https://www.npmjs.com/package/react-zoom-pan-pinch) to enable zoomIn and zoomOut on an html structure contained by rows and items
This is an image from the ...
0
votes
1
answer
104
views
How to set the scroll-thumb at the centre of the scrollbar
I'm using react application and trying to display image and applying customised zoom-in/ zoom-out. Not using any library because I have to add a marker on each image and using library for zooming isn'...
1
vote
2
answers
133
views
PDFKit's scaleFactorForSizeToFit isn't working to set zoom in SwiftUI (UIViewRepresentable)
I'm working on an app that displays a PDF using PDFKit, and I need to be able to set the minimum zoom level - otherwise the user can just zoom out forever. I've tried to set minScaleFactor and ...