메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
IsNumber ( float x ) : bool |
public static Blend ( |
||
ca | ||
cb | ||
cbAlpha | byte | |
리턴 |
public static Clamp ( double x, double min, double max ) : double | ||
x | double | |
min | double | |
max | double | |
리턴 | double |
public static Clamp ( float x, float min, float max ) : float | ||
x | float | |
min | float | |
max | float | |
리턴 | float |
public static Clamp ( int x, int min, int max ) : int | ||
x | int | |
min | int | |
max | int | |
리턴 | int |
public static ColorDifference ( |
||
a | ||
b | ||
리턴 | int |
public static ColorDifferenceSquared ( |
||
a | ||
b | ||
리턴 | int |
public static FastScaleByteByByte ( byte a, byte b ) : byte | ||
a | byte | |
b | byte | |
리턴 | byte |
public static GetLinePoints ( Gdk first, Gdk second ) : Gdk.Point[] | ||
first | Gdk | |
second | Gdk | |
리턴 | Gdk.Point[] |
public static GetRegionBounds ( Gdk rects, int startIndex, int length ) : Gdk.Rectangle | ||
rects | Gdk | |
startIndex | int | |
length | int | |
리턴 | Gdk.Rectangle |
public static GetStaticName ( |
||
type | ||
리턴 | string |
public static InflateRectangles ( Gdk rects, int len ) : Gdk.Rectangle[] | ||
rects | Gdk | |
len | int | |
리턴 | Gdk.Rectangle[] |
public static Lerp ( Cairo from, Cairo to, float frac ) : Cairo.PointD | ||
from | Cairo | |
to | Cairo | |
frac | float | |
리턴 | Cairo.PointD |
public static Lerp ( double from, double to, double frac ) : double | ||
from | double | |
to | double | |
frac | double | |
리턴 | double |
public static Lerp ( float from, float to, float frac ) : float | ||
from | float | |
to | float | |
frac | float | |
리턴 | float |
public static RectanglesToRegion ( Gdk rects ) : Gdk.Region | ||
rects | Gdk | |
리턴 | Gdk.Region |