http://isocpp.org/files/papers/n3791.html Cairo Cinder FLTK Qt
Graphics code snippets are code snippets for doing graphics.
Most VCL graphics code snippets can be found at the VCL graphics code snippets page.
- AddColoredNoise
: add colored noise - ASCII art


: perform ASCII art - Bleach
: bleach an
image (that is: make it whiter) - ColorToRgb
:
convert a color struct to its RGB values - ConvertToGrey
: convert a colored image to a grey image - Darken
: darkens
an image (that is: make it blacker - DoFilterOperation
: perform a filter
operation ('convolution') on an image - DoHistogramEqualization
: perform a histogram equalization - DrawGlobe

: draw a globe - DrawGlobeMinus
: draw a globe with a minus on it - DrawGlobePlus
: draw a globe with a plus on it - DrawLymphocyte
: draw a lymphocyte - DrawTextCentered
: draw text centered on image - EnhanceContrast
: enhances the contrast of a grey image - GetAverageGreyness: calculate the average greyness of an image
- GetFontHeight
: get a font's height - GetGreyness
:
get the greyness of one or more pixels - GetImageHistogram
: get a histogram of an image's grey
intensities - GetPixel
: get
the color of one or more pixels - MakeScreenshot
: make a screenshot and store it as a
bitmap - Paint

: paint an image to a single color fast - Pixelate
:
pixelate an image (that is: make it blockier) - Rainbow
: obtain
a rainbow-like color gradient - RemoveColor
:
remove a color - RgbGradient
:
obtain an RGB gradient - RgbToColor: convert RGB values to color struct
- Rotate
: rotate an
image - SetGreyness
:
set a pixel's greyness - SetPixel
: set a
pixel's color - SurfacePlotterTImage
: draw a surfacePlot - ThresholdFilter
: perform a threshold filter operation