Questions tagged [clip]

Clipping is restricting the surface on which a drawing is made

Clipping is restricting the surface on which a drawing is made Clipping can also include gaps in a surface. Clips can be rectangle, ellipse, or any other kind of geometry depending on the support of the graphical engine

732 questions
0
votes
1 answer

When iOS shrinks an image, does it clip/pixelate it?

I have 2 relatively small pngs that will be images inside UIButtons. Once our app is finished, we might want to resize the buttons and make them smaller. Now, we can easily do this by resizing the button frame; the system automatically re-sizes the…
giant91
  • 1,153
  • 2
  • 9
  • 18
0
votes
1 answer

How to enable Highcharts marker clipping

In version 2.5.5 markers was automatically clipped by x-axis, in version 3.0.2 they don't. -> jsfiddle.net/7c8am/2/ - version 2.5.5. markers clipped -> jsfiddle.net/vzv3X/2/ - last version, markers not clipped Are there any options to enable…
setec
  • 15,506
  • 3
  • 36
  • 51
0
votes
2 answers

Java Clip (Sound / Audio) Memory Leak after closing with close()

The following code creates a new audio clip, plays it, sleeps for 3 seconds and then closes it when it is finished playing. Despite the call to close(), I am watching the memory usage of the jvm go up by the size of the sound clip every time the…
John
  • 1,324
  • 3
  • 14
  • 19
0
votes
1 answer

What's the proper way to scroll and clip child window in WinAPI

I have main window of my app divided into three areas (top, content, bottom). Some of controls are docked to bottom or to top and rest of controls are placed in 'content' area between top and bottom area. If the total height of controls in 'content'…
zdenek
  • 97
  • 1
  • 9
0
votes
4 answers

Audio does not play in Jar but does in eclipse

Sound does not play when I run the JAR, but it does when I run it in eclipse. Here is where I load the clips: public void init(){ System.out.println("grabbing Music"); String currentDir = new File("").getAbsolutePath(); name=new…
0
votes
1 answer

java Clip loop not working

I have a simple Clip method, to play back small wav sounds. Yeah i found the method clip.loop() right now, but anyway i cannot understand why my method isnt working. Heres the code: public void playSound(final String sound, final boolean loop, final…
GFP
  • 260
  • 3
  • 10
0
votes
1 answer

Extracting values from raster based on a shapefile

I have a raster.stack of 8 environmental variables and a shapefile of Ecoregions for the southern U.S. files<-list.files(path='E:/Ecoregions Models/Border Bioclim/',pattern='asc', full.names=TRUE) predictors<-stack(files) ##subset the main shape…
I Del Toro
  • 913
  • 4
  • 15
  • 36
0
votes
1 answer

Java 7 update 25: Dynamic audio no longer working in local applet. Is there an alternate method?

I've been generating dynamic audio by looping a clip and updating it's buffer on the fly. With the java update 7 25 (June 18, 2013) the clip no longer plays changes made to its buffer, but merely loops its original content. In the clip below, white…
Brad
  • 13
  • 4
0
votes
1 answer

How to do access windows paste functionality just like teracopy does?

I am trying to copy a set of files or say set of folder (files can be of higher size or of any type), when i try to copy then everything is stored in clipboard, i want to know how to access the details from clipboard? Also, how to access the paste…
0
votes
0 answers

Java Clip Not Rewinding Properly?

I'm not even sure if the problem is that it's not rewinding properly. I have a Sounds enumerator/class which lets me load all sound effects and then play them at will, and in my game, I initialize them and then each time I want to play one, I play…
Darin Beaudreau
  • 375
  • 7
  • 30
0
votes
1 answer

Creating a round (clipping) mask to unveil a ray of lights

Imagine having a set of light rays surrounding a circle - just like the sun. What I want to do is reveil the rays, so the appear to be "rising" from the sun. In Flash I would be able to create a nice effect for this by doing something like the…
user1231561
  • 3,239
  • 6
  • 36
  • 55
0
votes
2 answers

Border of image clipped by Bezier path

Suppose I have an image that was rendered by drawing another image into it with a Bezier path used to clip the drawing. What I'd like is to be able to render the resulting image in such a way that the edges of the new image look like they're…
Victor Engel
  • 2,037
  • 2
  • 25
  • 46
0
votes
1 answer

Actionscript 2 - How to check if movie clip exists on specific position of stage?

I'm working on a flash project with actionscript 2.0 and i need to check if there's a movie clip on a specific position of stage. Is there a function for that? Thanks :)
0
votes
0 answers

How to play external sound file in Java

how to play sound in java which not internally saved in java project? I have tried this code but it only work with the file compiled in java project.. I want to make the sound file directory apart from the java project. private void sound (int s) { …
aviroez
  • 1
  • 3
0
votes
1 answer

Showing only part of Canvas in WPF C#

I have Canvas in WPF project defined to be 1000 x 3000px. Now i'm using Clip method from point (0,1000) to (1000, 2000). It will be middle of that canvas. Now i want to show it in a ScrollViewer, but there is a problem - i have a lot of space before…
miecio1998
  • 111
  • 1
  • 6