cd.private_

\file \brief Private CD declarations

See Copyright Notice in cd.h

Members

Aliases

cdAttribute
alias cdAttribute = _cdAttribute
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdCtxCanvas
alias cdCtxCanvas = _cdCtxCanvas
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdCtxCanvasBase
alias cdCtxCanvasBase = _cdCtxCanvasBase
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdCtxImage
alias cdCtxImage = _cdCtxImage
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdPoint
alias cdPoint = _cdPoint
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdRect
alias cdRect = _cdRect
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdSimulation
alias cdSimulation = _cdSimulation
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdVectorFont
alias cdVectorFont = _cdVectorFont
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdfPoint
alias cdfPoint = _cdfPoint
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdfRect
alias cdfRect = _cdfRect
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Enums

CD_BASE_WIN
anonymousenum CD_BASE_WIN
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
CD_CTXPLUS_NATIVEWINDOW
anonymousenum CD_CTXPLUS_NATIVEWINDOW
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Functions

CD_ALPHA_BLEND
ubyte CD_ALPHA_BLEND(T _src, U _dst, V _alpha)
Undocumented in source. Be warned that the author may not have intended to support it.
_cdCheckCanvas
bool _cdCheckCanvas(T _canvas)
Undocumented in source. Be warned that the author may not have intended to support it.
_cdInvertYAxis
auto _cdInvertYAxis(T _canvas, U _y)
Undocumented in source. Be warned that the author may not have intended to support it.
_cdRotateHatch
auto _cdRotateHatch(T _x)
Undocumented in source. Be warned that the author may not have intended to support it.
_cdRound
int _cdRound(T _x)
Undocumented in source. Be warned that the author may not have intended to support it.
_cdSwapDouble
void _cdSwapDouble(T _a, U _b)
Undocumented in source. Be warned that the author may not have intended to support it.
_cdSwapInt
void _cdSwapInt(T _a, U _b)
Undocumented in source. Be warned that the author may not have intended to support it.
cdBaseDriver
int cdBaseDriver()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdBilinearInterpolation
ubyte cdBilinearInterpolation(int width, int height, const(ubyte)* map, double xl, double yl)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdCalcZoom
int cdCalcZoom(int canvas_size, int cnv_rect_pos, int cnv_rect_size, int* new_cnv_rect_pos, int* new_cnv_rect_size, int img_rect_pos, int img_rect_size, int* new_img_rect_pos, int* new_img_rect_size, int is_horizontal)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdCheckBoxSize
int cdCheckBoxSize(int* xmin, int* xmax, int* ymin, int* ymax)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdCreateSimulation
cdSimulation* cdCreateSimulation(cdCanvas* canvas)
cdCreateVectorFont
cdVectorFont* cdCreateVectorFont(cdCanvas* canvas)
cdGetArcBox
void cdGetArcBox(int xc, int yc, int w, int h, double a1, double a2, int* xmin, int* xmax, int* ymin, int* ymax)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdGetArcPath
int cdGetArcPath(const(cdPoint)* poly, int* xc, int* yc, int* w, int* h, double* a1, double* a2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdGetArcPathF
int cdGetArcPathF(const(cdPoint)* poly, double* xc, double* yc, double* w, double* h, double* a1, double* a2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdGetArcStartEnd
void cdGetArcStartEnd(int xc, int yc, int w, int h, double a1, double a2, int* x1, int* y1, int* x2, int* y2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdGetContextPlus
cdContext* cdGetContextPlus(int ctx)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdGetFileName
int cdGetFileName(const(char)* strdata, char* filename)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdGetFontFileName
int cdGetFontFileName(const(char)* type_face, char* filename)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdGetFontFileNameDefault
int cdGetFontFileNameDefault(const(char)* type_face, int style, char* filename)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdGetFontFileNameSystem
int cdGetFontFileNameSystem(const(char)* type_face, int style, char* filename)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdGetFontSizePixels
int cdGetFontSizePixels(cdCanvas* canvas, int size)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdGetFontSizePoints
int cdGetFontSizePoints(cdCanvas* canvas, int size)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdGetZoomTable
int* cdGetZoomTable(int w, int rw, int xmin)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdImageRGBCalcDstLimits
void cdImageRGBCalcDstLimits(cdCanvas* canvas, int x, int y, int w, int h, int* xmin, int* xmax, int* ymin, int* ymax, int* rect)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdImageRGBInitInverseTransform
void cdImageRGBInitInverseTransform(int w, int h, int xmin, int xmax, int ymin, int ymax, double* xfactor, double* yfactor, const(double)* matrix, double* inv_matrix)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdImageRGBInverseTransform
void cdImageRGBInverseTransform(int t_x, int t_y, double* i_x, double* i_y, double xfactor, double yfactor, int xmin, int ymin, int x, int y, double* inv_matrix)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdInitContextPlusList
void cdInitContextPlusList(cdContext** ctx_list)
cdKillSimulation
void cdKillSimulation(cdSimulation* simulation)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdKillVectorFont
void cdKillVectorFont(cdVectorFont* vector_font_data)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdMatrixInverse
void cdMatrixInverse(const(double)* matrix, double* inv_matrix)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdMatrixMultiply
void cdMatrixMultiply(const(double)* matrix, double* mul_matrix)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdMatrixTransformPoint
void cdMatrixTransformPoint(double* matrix, int x, int y, int* rx, int* ry)
cdMovePoint
void cdMovePoint(int* x, int* y, double dx, double dy, double sin_theta, double cos_theta)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdNormalizeLimits
void cdNormalizeLimits(int w, int h, int* xmin, int* xmax, int* ymin, int* ymax)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdParseIupWinFont
int cdParseIupWinFont(const(char)* nativefont, char* type_face, int* style, int* size)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdParsePangoFont
int cdParsePangoFont(const(char)* nativefont, char* type_face, int* style, int* size)
cdParseXWinFont
int cdParseXWinFont(const(char)* nativefont, char* type_face, int* style, int* size)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdPoly
void cdPoly(cdCanvas* canvas, int mode, cdPoint* points, int n)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdRGB2Gray
void cdRGB2Gray(int width, int height, const(ubyte)* red, const(ubyte)* green, const(ubyte)* blue, ubyte* index, long* color)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdRegisterAttribute
void cdRegisterAttribute(cdCanvas* canvas, cdAttribute* attrib)
cdRotatePoint
void cdRotatePoint(cdCanvas* canvas, int x, int y, int cx, int cy, int* rx, int* ry, double sin_teta, double cos_teta)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdRotatePointY
void cdRotatePointY(cdCanvas* canvas, int x, int y, int cx, int cy, int* ry, double sin_theta, double cos_theta)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdRound
int cdRound(double x)
cdSetPaperSize
void cdSetPaperSize(int size, double* w_pt, double* h_pt)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdSimArc
void cdSimArc(cdCtxCanvas* ctxcanvas, int xc, int yc, int width, int height, double angle1, double angle2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdSimBox
void cdSimBox(cdCtxCanvas* ctxcanvas, int xmin, int xmax, int ymin, int ymax)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdSimChord
void cdSimChord(cdCtxCanvas* ctxcanvas, int xc, int yc, int width, int height, double angle1, double angle2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdSimLine
void cdSimLine(cdCtxCanvas* ctxcanvas, int x1, int y1, int x2, int y2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdSimMark
void cdSimMark(cdCanvas* canvas, int x, int y)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdSimPolyBezier
void cdSimPolyBezier(cdCanvas* canvas, const(cdPoint)* points, int n)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdSimPolyPath
void cdSimPolyPath(cdCanvas* canvas, const(cdPoint)* points, int n)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdSimPutImageRectRGB
void cdSimPutImageRectRGB(cdCanvas* canvas, int iw, int ih, const(ubyte)* r, const(ubyte)* g, const(ubyte)* b, int x, int y, int w, int h, int xmin, int xmax, int ymin, int ymax)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdSimPutImageRectRGBA
void cdSimPutImageRectRGBA(cdCanvas* canvas, int iw, int ih, const(ubyte)* r, const(ubyte)* g, const(ubyte)* b, const(ubyte)* a, int x, int y, int w, int h, int xmin, int xmax, int ymin, int ymax)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdSimRect
void cdSimRect(cdCtxCanvas* ctxcanvas, int xmin, int xmax, int ymin, int ymax)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdSimSector
void cdSimSector(cdCtxCanvas* ctxcanvas, int xc, int yc, int width, int height, double angle1, double angle2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdSimulationFont
int cdSimulationFont(cdCtxCanvas* ctxcanvas, const(char)* type_face, int style, int size)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdSimulationGetFontDim
void cdSimulationGetFontDim(cdCtxCanvas* ctxcanvas, int* max_width, int* height, int* ascent, int* descent)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdSimulationGetTextSize
void cdSimulationGetTextSize(cdCtxCanvas* ctxcanvas, const(char)* s, int len, int* width, int* height)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdSimulationInitText
void cdSimulationInitText(cdSimulation* simulation)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdSimulationPoly
void cdSimulationPoly(cdCtxCanvas* ctxcanvas, int mode, cdPoint* poly, int n)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdSimulationText
void cdSimulationText(cdCtxCanvas* ctxcanvas, int x, int y, const(char)* s, int len)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdStrDup
char* cdStrDup(const(char)* str)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdStrDupN
char* cdStrDupN(const(char)* str, int len)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdStrEqualNoCase
int cdStrEqualNoCase(const(char)* str1, const(char)* str2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdStrEqualNoCasePartial
int cdStrEqualNoCasePartial(const(char)* str1, const(char)* str2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdStrIsAscii
int cdStrIsAscii(const(char)* str)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdStrLineCount
int cdStrLineCount(const(char)* str)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdStrTmpFileName
int cdStrTmpFileName(char* filename)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdTextTranslatePoint
void cdTextTranslatePoint(cdCanvas* canvas, int x, int y, int w, int h, int baseline, int* rx, int* ry)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdUpdateAttributes
void cdUpdateAttributes(cdCanvas* canvas)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdZeroOrderInterpolation
ubyte cdZeroOrderInterpolation(int width, int height, const(ubyte)* map, double xl, double yl)
cdfCheckBoxSize
int cdfCheckBoxSize(double* xmin, double* xmax, double* ymin, double* ymax)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdfGetArcPath
int cdfGetArcPath(const(cdfPoint)* poly, double* xc, double* yc, double* w, double* h, double* a1, double* a2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdfGetArcStartEnd
void cdfGetArcStartEnd(double xc, double yc, double w, double h, double a1, double a2, double* x1, double* y1, double* x2, double* y2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdfMatrixTransformPoint
void cdfMatrixTransformPoint(double* matrix, double x, double y, double* rx, double* ry)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdfMovePoint
void cdfMovePoint(double* x, double* y, double dx, double dy, double sin_theta, double cos_theta)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdfRotatePoint
void cdfRotatePoint(cdCanvas* canvas, double x, double y, double cx, double cy, double* rx, double* ry, double sin_theta, double cos_theta)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdfRotatePointY
void cdfRotatePointY(cdCanvas* canvas, double x, double y, double cx, double cy, double* ry, double sin_theta, double cos_theta)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdfSimArc
void cdfSimArc(cdCtxCanvas* ctxcanvas, double xc, double yc, double width, double height, double angle1, double angle2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdfSimBox
void cdfSimBox(cdCtxCanvas* ctxcanvas, double xmin, double xmax, double ymin, double ymax)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdfSimChord
void cdfSimChord(cdCtxCanvas* ctxcanvas, double xc, double yc, double width, double height, double angle1, double angle2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdfSimLine
void cdfSimLine(cdCtxCanvas* ctxcanvas, double x1, double y1, double x2, double y2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdfSimMark
void cdfSimMark(cdCanvas* canvas, double x, double y)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdfSimPolyBezier
void cdfSimPolyBezier(cdCanvas* canvas, const(cdfPoint)* points, int n)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdfSimPolyPath
void cdfSimPolyPath(cdCanvas* canvas, const(cdfPoint)* points, int n)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdfSimPutImageRectRGB
void cdfSimPutImageRectRGB(cdCanvas* canvas, int iw, int ih, const(ubyte)* r, const(ubyte)* g, const(ubyte)* b, double x, double y, double w, double h, int xmin, int xmax, int ymin, int ymax)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdfSimPutImageRectRGBA
void cdfSimPutImageRectRGBA(cdCanvas* canvas, int iw, int ih, const(ubyte)* r, const(ubyte)* g, const(ubyte)* b, const(ubyte)* a, double x, double y, double w, double h, int xmin, int xmax, int ymin, int ymax)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdfSimRect
void cdfSimRect(cdCtxCanvas* ctxcanvas, double xmin, double xmax, double ymin, double ymax)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdfSimSector
void cdfSimSector(cdCtxCanvas* ctxcanvas, double xc, double yc, double width, double height, double angle1, double angle2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdfSimulationPoly
void cdfSimulationPoly(cdCtxCanvas* ctxcanvas, int mode, cdfPoint* fpoly, int n)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdfTextTranslatePoint
void cdfTextTranslatePoint(cdCanvas* canvas, double x, double y, int w, int h, int baseline, double* rx, double* ry)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdgetfontdimEX
void cdgetfontdimEX(cdCtxCanvas* ctxcanvas, int* max_width, int* height, int* ascent, int* descent)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
cdgettextsizeEX
void cdgettextsizeEX(cdCtxCanvas* ctxcanvas, const(char)* s, int len, int* width, int* height)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
wdSetDefaults
void wdSetDefaults(cdCanvas* canvas)

Manifest constants

CD_CTXPLUS_COUNT
enum CD_CTXPLUS_COUNT;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
CD_CTX_PLUS
enum CD_CTX_PLUS;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Structs

_cdAttribute
struct _cdAttribute
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
_cdCanvas
struct _cdCanvas
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
_cdContext
struct _cdContext
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
_cdCtxCanvas
struct _cdCtxCanvas
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
_cdCtxCanvasBase
struct _cdCtxCanvasBase
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
_cdCtxImage
struct _cdCtxImage
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
_cdImage
struct _cdImage
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
_cdPoint
struct _cdPoint
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
_cdRect
struct _cdRect
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
_cdSimulation
struct _cdSimulation
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
_cdVectorFont
struct _cdVectorFont
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
_cdfPoint
struct _cdfPoint
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
_cdfRect
struct _cdfRect
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta