Skip to main content
Filter by
Sorted by
Tagged with
4 votes
3 answers
4k views

I am trying to tile an image(16x16) over a Rectangle area of dimensions width=1000, height=16 using TextureBrush to get a strip like UI. Rectangle myIconDrawingRectangle = new Rectangle(x, y, 1000,...
Real Red.'s user avatar
  • 5,069
8 votes
2 answers
11k views

Is there a matlab function which allows me to do the following operation? x = [1 2 2 3]; and then based on x I want to build the matrix m = [1 2 2 3; 1 2 2 3; 1 2 2 3; 1 2 2 3]
Simon's user avatar
  • 5,039
5 votes
2 answers
2k views

I have a list of rectangles with different dimensions. rects = [100x20, 30x10, 10x10, 70x20, 40x30, 50x10] I am trying to render a table from these rectangles. If I would have a fix number of ...
Kaken Bok's user avatar
  • 3,385
7 votes
5 answers
33k views

I want to create a fixed-width layout where the background color on either side of the page is different, but with the background colours extending infinitely from either side of the page no matter ...
Jesse's user avatar
  • 7,055
55 votes
8 answers
13k views

I have a ListView whose items have a tiled background. To accomplish this, I use the following drawable xml: <bitmap xmlns:android="http://schemas.android.com/apk/res/android" android:src="...
benvd's user avatar
  • 5,784
0 votes
1 answer
454 views

I'm looking for efficient solution/algorithm for tiling : the layout of the decking tiles. We want to build system that will calculate the mutual placement of columns and beams (beams, joist) with ...
Roman's user avatar
  • 351
3 votes
2 answers
3k views

I'm having difficulties getting a tiled UIScrollView to zoom in and out correctly with pinch zooming. The issue is that when a pinch-zoom occurs, the resulting view is usually not centered in the same ...
Rob's user avatar
  • 7,827
0 votes
1 answer
705 views

I know it's possible to repeat an entire texture by setting the wrap mode to GL_REPEAT, but is it somehow possible to repeat only a subregion of the texture? For example, when the texture is part of ...
uj2's user avatar
  • 1,421
10 votes
1 answer
9k views

Each time we add a new layer to our OpenLayers based website (data provided primarily by a GeoServer server), we discuss whether to use a single-tile or a tiled approach. Some of the parameters we ...
Chau's user avatar
  • 5,590
4 votes
6 answers
4k views

i want to write a mapviewer, i must to work small tile of big map image file and there is need to tiling the big image, the problem now is to tiling big image to small tiles (250 * 250 pixel or like ...
sirvan's user avatar
  • 331
5 votes
2 answers
2k views

Paint.net dies opening this image, and MS paint as well.I don't know how to open this file for editing.Actually, I set out to break this image (its a map of my area) and load it to my phone (moto rokr ...
panzerschreck's user avatar
0 votes
2 answers
570 views

The title might be a little misleading. Look at my code and I will explain public static function loadTile(tileDir:String = "empty"):void { if(tileDir != "empty") { ...
numerical25's user avatar
  • 10.8k
12 votes
5 answers
2k views

I'm looking for an efficient algorithm to do string tiling. Basically, you are given a list of strings, say BCD, CDE, ABC, A, and the resulting tiled string should be ABCDE, because BCD aligns with ...
João Silva's user avatar
  • 91.8k

1 2 3
4