Questions tagged [stretching]

106 questions
0
votes
1 answer

How to create the resolution specific listbox?

I am developing silverlight application. I have a listbox in my application. I am doing dynamic binding with that listbox. My xaml and code behind code for dynamic binding is present in the following link. In the following link the second textblock…
0
votes
1 answer

VTK: transform a surface in polydata

I want to select a surface from polydata(STL file) and transform(deform?) it. When you select a surface, it is not connected to the existing polydata or the surface is extracted and a hole is created. Is there a way to solve this? I want to make it…
0
votes
1 answer

What's a c++ code difference between contrast stretch of RGB and grayscale images?

I'm trying grayscale contrast stretching with c++ program, so a source I follow for that is here. There is a code I've got so far: …
Max_ReFactor
  • 67
  • 2
  • 7
0
votes
5 answers

How to strech UIImageView (iphone dev.)?

I'm studying Objective-c for several months, so I'm beginner. I have an image (vertical gradient) 253px x 80px. And I want to stretch it to the screen width. How can I make UIImageView * 1024( or 768) x 80px with this image?
demon9733
  • 1,054
  • 3
  • 13
  • 35
0
votes
2 answers

How to make a div with position:fixed occupy the entire parent width (and resize with it)?

See this fiddle: http://jsfiddle.net/eEe2C/2/ The green row 1 is fixed but does not stretch the entire parent width which the other blue rows do. Think of row 1 as the column headers in a grid. It needs to be fixed in order to be visible at all…
tobefound
  • 1,091
  • 2
  • 9
  • 15
0
votes
1 answer

Silverlight TreeView Disable Horizontal Stretching

I have a TreeView and I'm attempting to confine it to the dimensions of its parent. I'm using SL4 TextTrimming to trim the TextBlock that displays in the template however I'm not seeing the width of the TreeView bound to that of the parent so the…
Casey Margell
  • 224
  • 2
  • 12
0
votes
0 answers

Make Basic Pages from ModernUI to Strech size of MainWindow

Actually, I'm a very new developer of WPF (I didn't do anything in this technology for almost 5 years) and now I started working in a new application using ModernUI. My problem is that I don't know how to use templates (Pages). Because I'm missing…
z3nth10n
  • 2,341
  • 2
  • 25
  • 49
0
votes
2 answers

contrast enhancement how linearly stretch the grey levels of an image?

a screenshot of the img values2[this is the original]3[this is the expected output]this is the output I getI'm trying to stretch the grey levels from 0-100 to 50-200 in python but the output image is not right. I drew the straight line representing…
0
votes
1 answer

How to strech Visual assets in UWP?

I have generated the assets for my uwp app using the Assets Generator (which is inside the Package.appxmanifest) and also using this extention. It generates files OK. However when i see the icons, they are centered. Like (the icon on the right of…
kkica
  • 4,034
  • 1
  • 20
  • 40
0
votes
1 answer

I2C Recovering from Clock Stretching by the Master

In clock stretching, if the slave holds the clock line low, the master should wait to conclude about any ACK on the line. Since the slave can release the clock signal at any time, how do we interpret the SDA line value if the slave releases the…
efpkop
  • 51
  • 4
0
votes
1 answer

DirectWrite font stretching

I want to use DirectWrite to stretch a font vertically or horizontally by x percent. I'm using IDWriteTextFormat::CreateTextFormat and IDWriteFactory::CreateTextLayout and DrawTextLayout. The DWRITE_FONT_STRETCH enumeration passed into…
Peter
  • 1
  • 1
0
votes
1 answer

How to prevent input fields from stretching beyond it's parent's width on small devices?

I have the following: form { border: 1px solid #666; }

Metalcoder
  • 2,094
  • 3
  • 24
  • 30
0
votes
1 answer

PHP imagecopymerge() - one image is stretched

I'm am trying to add a 50px white margin down the right side of an image by creating an empty image that's 50px wider than the source image and then merging the source image onto it. The problem is that the source image just gets stretched sideways…
Hscott
  • 37
  • 7
0
votes
2 answers

How to stretch points?

Let say I've 5 points, where p0 and p4 are fixed with values 0.0 and 4.0: 0 | 1.0 | 2.0 | 3.0 | 4 The points in the middle can change, but they must stretch the others once moving. So for a stretch "to right", it must enlarge the prev values…
markzzz
  • 47,390
  • 120
  • 299
  • 507
0
votes
0 answers

stretch audio so it fits in video

I'm trying hard for more than a day to fit an audio into a video, which is almost an hour long and the audio is just 2-3 minutes shorter than that. The video has it'0s own audio but I don't want it since the external audio I got has more quality and…