< Previous | Contents | Next >

UI �������������������������������������������������������������������������� 48

Add Controls - AddInput ����������������������������������� 48

ButtonControl �������������������������������������������������������� 51

CheckboxControl �������������������������������������������������� 51

ColorControl ����������������������������������������������������������� 52

ComboControl������������������������������������������������������� 54

FileControl �������������������������������������������������������������� 55

FontFileControl ����������������������������������������������������� 56

GradientControl ��������������������������������������������������� 56

LabelControl ����������������������������������������������������������� 57

MultiButtonControl �������������������������������������������� 58

OffsetControl ��������������������������������������������������������� 59

RangeControl �������������������������������������������������������� 60 Thumbwheel ScrewControl ������������������������������ 61 SliderControl���������������������������������������������������������� 62

TextEditControl����������������������������������������������������� 62 OnScreen UI Widgets����������������������������������������� 63 Output���������������������������������������������������������������������� 68

Process ��������������������������������������������������������������� 68 Image Processing Function ��������������������������� 68 BlendOf��������������������������������������������������������������������� 69

Blur ����������������������������������������������������������������������������� 69

ChannelOpOf���������������������������������������������������������� 71

CopyOf ��������������������������������������������������������������������� 73

CSConvert ��������������������������������������������������������������� 73

ErodeDilate�������������������������������������������������������������� 74

Fill �������������������������������������������������������������������������������� 75

Gamma ��������������������������������������������������������������������� 76

Gain ���������������������������������������������������������������������������� 76

GetCanvasColor���������������������������������������������������� 77

GetPixel�������������������������������������������������������������������� 77

Image ����������������������������������������������������������������������� 78

Merge ����������������������������������������������������������������������� 84

MergeOf ������������������������������������������������������������������ 86

MultiProcessPixels ���������������������������������������������� 88

OMerge �������������������������������������������������������������������� 90

OXMerge ����������������������������������������������������������������� 90

Resize������������������������������������������������������������������������� 91

RecycleSAT��������������������������������������������������������������� 92

SamplePixelB ���������������������������������������������������������� 92

SamplePixelD ��������������������������������������������������������� 93

SamplePixelW��������������������������������������������������������� 93

SampleAreaB ��������������������������������������������������������� 94

SampleAreaD �������������������������������������������������������� 94

SampleAreaW�������������������������������������������������������� 95

Saturate ������������������������������������������������������������������� 96

SetCanvasColor ����������������������������������������������������� 97

SetPixel ��������������������������������������������������������������������� 97

Transform ��������������������������������������������������������������� 98

UseSAT ��������������������������������������������������������������������� 99


Request ����������������������������������������������������������������� 100

Domain of Definition���������������������������������������� 100


Pixel ������������������������������������������������������������������������ 101

ColorMatrixFull ������������������������������������������������� 102

Using the ColorMatrix ������������������������������������� 102


Drawing, Text, Shapes ���������������������������� 106 Shapes Creation ������������������������������������������������ 106 Shape ���������������������������������������������������������������������� 106

AddRectangle ������������������������������������������������������ 106

MoveTo ������������������������������������������������������������������� 107

LineTo ��������������������������������������������������������������������� 107

BezierTo ����������������������������������������������������������������� 107

ConicTo ������������������������������������������������������������������� 107

Close ����������������������������������������������������������������������� 108

Text Shape ����������������������������������������������������������� 108 GetCharacterShape ������������������������������������������ 108 TextStyleFont ������������������������������������������������������ 108 TextStyleFontMetrics ��������������������������������������� 109

CharacterWidth �������������������������������������������������� 109

CharacterKerning ���������������������������������������������� 109

OutlineOfShape�������������������������������������������������� 109

ImageChannel ��������������������������������������������������� 110

Styles ����������������������������������������������������������������������� 111

FillStyle�������������������������������������������������������������������� 111

SetFillStyle ������������������������������������������������������������� 111

ShapeFill ����������������������������������������������������������������� 112

PutToImage����������������������������������������������������������� 112

ChannelStyle ������������������������������������������������������� 112

Color������������������������������������������������������������������������� 113

BlurType������������������������������������������������������������������ 113 SoftnessX SoftnessY������������������������������������������ 113 SoftnessGlow ������������������������������������������������������ 114

SoftnessBlend ����������������������������������������������������� 114

Shape Transforms �������������������������������������������� 114 Matrix4������������������������������������������������������������������� 114 Matrix Operations ���������������������������������������������� 115 Identity ������������������������������������������������������������������� 115 RotX RotY RotZ �������������������������������������������������� 115 RotAxis ������������������������������������������������������������������� 116 Rotate ��������������������������������������������������������������������� 116

Move ����������������������������������������������������������������������� 116

Scale ������������������������������������������������������������������������� 117

Shear������������������������������������������������������������������������ 117

Project ��������������������������������������������������������������������� 117

Perspective������������������������������������������������������������ 117

TransformOfShape ������������������������������������������� 118

View LUT Plugin ������������������������������������������� 118 ViewLut Creation ���������������������������������������������� 118 FuRegisterClass() ����������������������������������������������� 118

image

ViewLut UI ������������������������������������������������������������ 119

Create() ������������������������������������������������������������������� 119

ViewLut Process ������������������������������������������������ 120 SetupShadeNode() �������������������������������������������� 120 SetupParams ������������������������������������������������������� 121

ViewLut Example ���������������������������������������������� 122

FuRegisterClass() ����������������������������������������������� 122

ViewShadeNode ������������������������������������������������� 123

The Shader String ���������������������������������������������� 123

ShadePixel ������������������������������������������������������������ 124