dlangui.graphics.drawbuf

DLANGUI library.

This module contains drawing buffer implementation.

More...

Public Imports

dlangui.core.types
public import dlangui.core.types;
Undocumented in source.

Members

Aliases

DrawBufRef
alias DrawBufRef = Ref!DrawBuf
Undocumented in source.

Classes

ColorDrawBuf
class ColorDrawBuf
Undocumented in source.
ColorDrawBufBase
class ColorDrawBufBase
Undocumented in source.
DrawBuf
class DrawBuf

drawing buffer - image container which allows to perform some drawing operations

GrayDrawBuf
class GrayDrawBuf
Undocumented in source.

Functions

blendARGB
uint blendARGB(uint dst, uint src, uint alpha)

blend two RGB pixels using alpha

blendGray
ubyte blendGray(ubyte dst, ubyte src, uint alpha)

blend two RGB pixels using alpha

rgbToGray
ubyte rgbToGray(uint color)
Undocumented in source. Be warned that the author may not have intended to support it.
transformComponent
uint transformComponent(int src, int addBefore, int multiply, int addAfter)
Undocumented in source. Be warned that the author may not have intended to support it.
transformRGBA
uint transformRGBA(uint src, uint addBefore, uint multiply, uint addAfter)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

ClipRectSaver
struct ClipRectSaver

RAII setting/restoring of clip rectangle

ColorTransform
struct ColorTransform
Undocumented in source.
ColorTransformHandler
struct ColorTransformHandler
Undocumented in source.
NinePatch
struct NinePatch

9-patch image scaling information (see Android documentation).

Variables

COLOR_TRANSFORM_MULTIPLY_NONE
uint COLOR_TRANSFORM_MULTIPLY_NONE;
Undocumented in source.
COLOR_TRANSFORM_OFFSET_NONE
uint COLOR_TRANSFORM_OFFSET_NONE;
Undocumented in source.

Detailed Description

Synopsis:

import dlangui.graphics.drawbuf;

Meta