Describes the update of a display (or a part of it, like a program window) to show the latest version of the data.
Questions tagged [redraw]
385 questions
6
votes
2 answers
redrawing canvas html5 without flickering
I've a screen being redraw every 25ms, and images are flickering, here is my code
var FRAME_RATE = 40;
var intervalTime = 1000/FRAME_RATE;
gameLoop();
function gameLoop(){
…

Juliano Lima
- 709
- 3
- 10
- 17
6
votes
1 answer
D3 update dataset on click and redraw the bar chart
I am new to d3 as well as javascript, and I am having trouble updating the dataset, as well as redrawing the bars. This is the code I have been looking at so far.
http://jsfiddle.net/TwEhT/2/
I have a function clickEvent, that is evoked upon a…

user2159121
- 135
- 1
- 7
5
votes
3 answers
reload/refresh subViews - setNeedsDisplay doesnt work
i have trouble with setNeedsDisplay. I have an UIView with a lot of sub UIViews, created in Inteface Builder. I have also an Button with IBAction. In this IBAction i want to redraw/reload all UIViews (or all UIElements, like UILabel, UIWebView and…

brush51
- 5,691
- 6
- 39
- 73
5
votes
2 answers
WPF Application windows does not fully refresh after screen awakes from sleep
Today we found a little strange problem in one of our WPF application and we are not exactly sure how to deal with it. When we run the software on one of our laptops the screen goes to sleep (turns black) after a while when there is no user…

TalkingCode
- 13,407
- 27
- 102
- 147
5
votes
1 answer
Is it possible to prevent a WPF control redraw?
I have to update multiple child controls in a WPF control. I don't want the control redrawn until I have updated all its child controls.

Jader Dias
- 88,211
- 155
- 421
- 625
5
votes
1 answer
vis.js redraw and changing data
I'm using vis.js timeline to display events and got all items displaying from an ajax call.
currently I have a working filters on the page so the timeline goes to a specific range and this works fine.
What I am trying to do is narrow down the…

elboffor
- 245
- 1
- 4
- 17
5
votes
1 answer
Force Repaint of Node in JavaFx
I've been working with the new JavaFx 3D api. JavaFx 8 introduced the subscene node, which contains its own scene graph and can simultaneously be rendered as a node in a scene. This allows you to render 3D nodes with a perspective camera within the…

Joshua Dotson
- 135
- 1
- 8
5
votes
1 answer
IE10 Repaint/Redraw issue
You can see this working/breaking here: http://new.campchampions.com/parents
The issue only crops up in IE10. After the user has scrolled a little ways, the navigation becomes pinned (a class of fixed gets added to the body which effects the…

Steve Meisner
- 666
- 9
- 17
5
votes
2 answers
How to redraw a CAShapeLayer when modifying his path?
I'm trying to add a subpath to my CAShapeLayer's path, but the changes doesn't show unless I first assing nil to the path and then I reassign myPath to the CAShapeLayer. I've tried with setNeedsRedisplay but it doesn't works.
This is the code in the…

Pablo3D
- 71
- 1
- 5
4
votes
5 answers
Why does IE7 move DOM elements on mouseover?
So I have a table with only two columns and one row. The second td holds an image, and the first holds text. I would like the td containing the image to be at the minimum size possible with that image inside, and the first td to fill the remaining…

Fresheyeball
- 29,567
- 20
- 102
- 164
4
votes
1 answer
SwiftUI and excessive redrawing
TL;DR:
Applying visual effects to the contents of a ScrollView causes thousands of requests for the same (unchanging) image for each drag gesture. Can I reduce this? (In my real app, I have 50-odd images in the view, and the scrolling is…

Andrew Duncan
- 3,553
- 4
- 28
- 55
4
votes
1 answer
Canvas redraws only after loop ends
I have an issue with drawing on canvas in a loop.
What I want to achieve is that in each loop the script waits for a few milliseconds, then draws on a canvas, the user can actually see the change, and then the loop repeats.
What it does instead is…

Martin Janiczek
- 2,996
- 3
- 24
- 32
4
votes
4 answers
Prevent controls from being redrawn in C#?
I have a form that contains a lot of runtime generated controls (image, button, panel,...), about 100 controls (I'm making a card matching game so there is a lot of controls in the form).
I place the generating code into the constructor and each…

ByulTaeng
- 1,269
- 1
- 21
- 40
4
votes
3 answers
Vim - zt will redraw the window with the cursor at the top. Can you redraw with it say, 4 lines down?
Reading the manual with ':help z' shows a variety of commands which can redraw the window, e.g. z.to redraw with the cursor in the centre or zb to redraw with it at the bottom of the screen.
zt is nice but I would find it much more comfortable to be…

Benjamin Gorman
- 360
- 1
- 11
4
votes
3 answers
iOS GUI refresh
I am using setNeedsDisplay on my GUI, but there update is sometimes not done. I am using UIPageControllView, each page has UIScrollView with UIView inside.
I have the following pipeline:
1) application comes from background - called…

Martin Perry
- 9,232
- 8
- 46
- 114