Method | Description | |
---|---|---|
Blend ( |
Smoothly blends between two colors.
|
|
Clamp ( double x, double min, double max ) : double | ||
Clamp ( float x, float min, float max ) : float | ||
Clamp ( int x, int min, int max ) : int | ||
ClampToByte ( double x ) : byte | ||
ClampToByte ( float x ) : byte | ||
ClampToByte ( int x ) : byte | ||
ColorDifference ( |
||
ColorDifferenceSquared ( |
||
FastScaleByteByByte ( byte a, byte b ) : byte | ||
GetLinePoints ( Gdk first, Gdk second ) : Gdk.Point[] | ||
GetRegionBounds ( Gdk rects, int startIndex, int length ) : Gdk.Rectangle |
Allows you to find the bounding box for a "region" that is described as an array of bounding boxes.
|
|
GetStaticName ( |
||
InflateRectangles ( Gdk rects, int len ) : Gdk.Rectangle[] | ||
Lerp ( Cairo from, Cairo to, float frac ) : Cairo.PointD | ||
Lerp ( double from, double to, double frac ) : double | ||
Lerp ( float from, float to, float frac ) : float | ||
RectanglesToRegion ( Gdk rects ) : Gdk.Region | ||
Swap ( int &a, int &b ) : void |
Method | Description | |
---|---|---|
IsNumber ( float x ) : bool |
public static Blend ( |
||
ca | ||
cb | ||
cbAlpha | byte | |
return |
public static Clamp ( double x, double min, double max ) : double | ||
x | double | |
min | double | |
max | double | |
return | double |
public static Clamp ( float x, float min, float max ) : float | ||
x | float | |
min | float | |
max | float | |
return | float |
public static Clamp ( int x, int min, int max ) : int | ||
x | int | |
min | int | |
max | int | |
return | int |
public static ClampToByte ( double x ) : byte | ||
x | double | |
return | byte |
public static ColorDifference ( |
||
a | ||
b | ||
return | int |
public static ColorDifferenceSquared ( |
||
a | ||
b | ||
return | int |
public static FastScaleByteByByte ( byte a, byte b ) : byte | ||
a | byte | |
b | byte | |
return | byte |
public static GetLinePoints ( Gdk first, Gdk second ) : Gdk.Point[] | ||
first | Gdk | |
second | Gdk | |
return | Gdk.Point[] |
public static GetRegionBounds ( Gdk rects, int startIndex, int length ) : Gdk.Rectangle | ||
rects | Gdk | |
startIndex | int | |
length | int | |
return | Gdk.Rectangle |
public static GetStaticName ( |
||
type | ||
return | string |
public static InflateRectangles ( Gdk rects, int len ) : Gdk.Rectangle[] | ||
rects | Gdk | |
len | int | |
return | Gdk.Rectangle[] |
public static Lerp ( Cairo from, Cairo to, float frac ) : Cairo.PointD | ||
from | Cairo | |
to | Cairo | |
frac | float | |
return | Cairo.PointD |
public static Lerp ( double from, double to, double frac ) : double | ||
from | double | |
to | double | |
frac | double | |
return | double |
public static Lerp ( float from, float to, float frac ) : float | ||
from | float | |
to | float | |
frac | float | |
return | float |
public static RectanglesToRegion ( Gdk rects ) : Gdk.Region | ||
rects | Gdk | |
return | Gdk.Region |