dlangui.graphics.drawbuf

This module contains drawing buffer implementation.

More...

Public Imports

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

Members

Aliases

DrawBufRef
alias DrawBufRef = Ref!DrawBuf
Undocumented in source.
OpenGLDrawableDelegate
alias OpenGLDrawableDelegate = void delegate(Rect windowRect, Rect rc)

Custom draw delegate for OpenGL direct drawing

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.

Enums

PatternType
enum PatternType
Undocumented in source.

Functions

clipLine
bool clipLine(Rect clipRect, Point p1, Point p2)
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

NinePatch
struct NinePatch

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

Detailed Description

Synopsis:

import dlangui.graphics.drawbuf;

Meta

License

Boost License 1.0

Authors

Vadim Lopatin, coolreader.org@gmail.com