= t3getr =
== Syntax == int t3getr(int d, int m, int z) == Arguments == :d ::An integer value for the 'direction' of a pixel. :m ::An integer value for the 'magnitude' of a pixel. :z ::The image channel of the pixel to return (eg 0 for red, 1 for green, 2 for blue when in RGB mode) == Return == The value of the pixel channel z at polar coordinates [d,m] in the third t-buffer. == Description == Pixels are usually addressed by their cartesian coordinates [x,y], but FilterMeister also allows the use of polar coordinates. Polar coordinates are expressed as [d,m], where 'd' represents the 'direction' to the pixel from the image's center point, and 'm' is the 'magnitude' of the distance from the center. The t3getr() function takes a pair of polar coordinates as arguments, and returns the pixel value in channel z at those co-ordinates in the third t buffer. == See Also == |