Specifications

Contents
vii
Multiply.......................................................................... 5-8
MultiplyScale ................................................................. 5-9
Monadic Logical Operations............................................... 5-10
LShiftS .......................................................................... 5-10
RShiftS.......................................................................... 5-11
Not ................................................................................ 5-12
AndS ............................................................................. 5-12
OrS................................................................................ 5-13
XorS.............................................................................. 5-14
Dyadic Logical Operations ................................................. 5-14
And................................................................................ 5-15
Or.................................................................................. 5-15
Xor ................................................................................ 5-16
Image Compositing Based on Opacity ............................... 5-16
Using Pre-multiplied Alpha Values ................................ 5-17
AlphaComposite, AlphaCompositeC.............................. 5-18
PreMultiplyAlpha ........................................................... 5-24
Chapter 6 Image Filtering
Linear Filters...................................................................... 6-2
Blur................................................................................ 6-2
2D Convolution.............................................................. 6-3
CreateConvKernel......................................................... 6-5
CreateConvKernelChar ................................................. 6-5
CreateConvKernelFP .................................................... 6-5
GetConvKernel.............................................................. 6-6
GetConvKernelChar...................................................... 6-6
GetConvKernelFP ......................................................... 6-6
DeleteConvKernel ......................................................... 6-8
DeleteConvKernelFP..................................................... 6-8