[go: up one dir, main page]

urxvt-pixbuf

Helper to interact with urxvt pixbuf
https://github.com/gogoprog/haxe-urxvt-pixbuf/

To install, run:

haxelib install urxvt-pixbuf 0.1.0 

See using Haxelib in Haxelib documentation for more information.

README.md

haxe-urxvt-pixbuf

Helper to interact with urxvt pixbuf

Demo

Image

Documentation

class Pixbuf

package urxvt

Static methods

static function draw(path:String, x:Int, y:Int, width:Int, height:Int)
    // Draw the image located at `path` using coordinates (x, y) and size width*height.
    // Coordinates and size are expressed in percentages.
  
static function clear()
    // Clear the pixel buffer.

Example

urxvt.Pixbuf.draw("./res/trees.jpg", 60, 40, 50, 60);
Contributors
gogoprog
Version
0.1.0
Published
5 years ago
License
MIT

All libraries are free

Every month, more than a thousand developers use Haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on GitHub!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on GitHub