Search

April 10, 2011
Phobos »
...up. But lets focus on the column width instead. This function deals a lot with...
April 10, 2011
Phobos »
...windows less than most or full screen width.

I think a soft limit (very strongly...
April 10, 2011
General »
...make a pen with a color, a width, and a style (solid, dashed, etc). Since...
April 09, 2011
General »
...Color.black

painter.drawRectangle(0, 0, win.width, win.height) painter.clearAll(), or painter.clearAll...
April 09, 2011
General »
...150;

    win.eventLoop(50,
        () {
            auto anchorX = win.width / 2 - 12;
            auto anchorY = win.height / 4...
April 09, 2011
General »
...info)
    PixelBuffer pixBuff = new PixelBuffer(buf, width, height, width*3);

    auto ren= new Renderer!(Rgb24...
April 06, 2011
General »
...very big "inner loop" situation. If the width isn't statically-known, then:

- Every arbitrary...
April 06, 2011
General »
...128*width + x;
auto ptrEnd = arr.ptr + 256*width + x;
for(; ptr < ptrEnd; ptr += width...
April 06, 2011
General »
...rendering
	auto bitmap = new Bitmap!RGBColor(im.width, im.height);

	// base image class has a...
April 06, 2011
General »
...Color color) {
			pixels[y * width + x] = Color(color);
		}

		size_t width, height;
		Color[] pixels;
	}

This...
110 111 112 113 114 115 116 117 118 119 120
Next ›   Last »