4 libbasetype struct Library
5 copyright Copyright ©2006 The Scalos Team
10 #include <intuition/classusr.h>
11 #include <scalos/scalos.h>
12 #include <graphics/gfx.h>
13 #include <scalos/scalosgfx.h>
17 struct ScalosBitMapAndColor *ScalosGfxCreateEmptySAC() ()
18 .function ScalosGfxBase_0_LIBScalosGfxCreateEmptySAC
20 struct ScalosBitMapAndColor *ScalosGfxCreateSAC(ULONG width, ULONG height, ULONG depth, struct BitMap *friendBM, struct TagItem *tagList) (D0,D1,D2,A0,A1)
21 .function ScalosGfxBase_0_LIBScalosGfxCreateSAC
23 VOID ScalosGfxFreeSAC(struct ScalosBitMapAndColor *sac) (A0)
24 .function ScalosGfxBase_0_LIBScalosGfxFreeSAC
26 struct gfxARGB *ScalosGfxCreateARGB(ULONG width, ULONG height, struct TagItem *tagList) (D0,D1,A0)
27 .function ScalosGfxBase_0_LIBScalosGfxCreateARGB
29 VOID ScalosGfxFreeARGB(struct gfxARGB **argb) (A0)
30 .function ScalosGfxBase_0_LIBScalosGfxFreeARGB
32 VOID ScalosGfxARGBSetAlpha(struct ARGBHeader *src, UBYTE alpha) (A0,D0)
33 .function ScalosGfxBase_0_LIBScalosGfxARGBSetAlpha
35 VOID ScalosGfxARGBSetAlphaMask(struct ARGBHeader *argbh, PLANEPTR maskPlane) (A0,A1)
36 .function ScalosGfxBase_0_LIBScalosGfxARGBSetAlphaMask
38 struct gfxARGB *ScalosGfxCreateARGBFromBitMap(struct BitMap *bm, ULONG width, ULONG height, ULONG numberOfColors, const ULONG *colorTable, PLANEPTR maskPlane) (A0,D0,D1,D2,A1,A2)
39 .function ScalosGfxBase_0_LIBScalosGfxCreateARGBFromBitMap
41 VOID ScalosGfxFillARGBFromBitMap(struct ARGBHeader *argbh, struct BitMap *srcBM, PLANEPTR maskPlane) (A0,A1,A2)
42 .function ScalosGfxBase_0_LIBScalosGfxFillARGBFromBitMap
44 VOID ScalosGfxWriteARGBToBitMap(struct ARGBHeader *argbh, struct BitMap *bm, ULONG numberOfColors, const ULONG *colorTable) (A0,A1,D0,A2)
45 .function ScalosGfxBase_0_LIBScalosGfxWriteARGBToBitMap
47 struct ScalosBitMapAndColor *ScalosGfxMedianCut(struct ARGBHeader *argbh, ULONG depth, struct TagItem *tagList) (A0,D0,A1)
48 .function ScalosGfxBase_0_LIBScalosGfxMedianCut
50 struct gfxARGB *ScalosGfxScaleARGBArray(const struct ARGBHeader *src, ULONG *destWidth, ULONG *destHeight, struct TagItem *tagList) (A0,A1,A2,A3)
51 .function ScalosGfxBase_0_LIBScalosGfxScaleARGBArray
53 struct BitMap *ScalosGfxScaleBitMap(struct ScaleBitMapArg *sbma, struct TagItem *tagList) (A0,A1)
54 .function ScalosGfxBase_0_LIBScalosGfxScaleBitMap
56 VOID ScalosGfxCalculateScaleAspect(ULONG sourceWidth, ULONG sourceHeight, ULONG *destWidth, ULONG *destHeight) (D0,D1,A0,A1)
57 .function ScalosGfxBase_0_LIBScalosGfxCalculateScaleAspect
59 VOID ScalosGfxBlitARGB(struct ARGBHeader *destARGB, const struct ARGBHeader *srcARGB, LONG destLeft, LONG destTop, LONG srcLeft, LONG srcTop, LONG width, LONG height) (A0,A1,D0,D1,D2,D3,D4,D5)
60 .function ScalosGfxBase_0_LIBScalosGfxBlitARGB
62 VOID ScalosGfxFillRectARGB(struct ARGBHeader *destARGB, const struct gfxARGB *fillARGB, LONG left, LONG top, LONG width, LONG height) (A0,A1,D0,D1,D2,D3)
63 .function ScalosGfxBase_0_LIBScalosGfxFillRectARGB
65 VOID ScalosGfxSetARGB(struct ARGBHeader *destARGB, const struct gfxARGB *fillARGB) (A0,A1)
66 .function ScalosGfxBase_0_LIBScalosGfxSetARGB
68 BOOL ScalosGfxNewColorMap(struct ScalosBitMapAndColor *sac, const ULONG *colorMap, ULONG colorEntries) (A0,A1,D0)
69 .function ScalosGfxBase_0_LIBScalosGfxNewColorMap
71 VOID ScalosGfxARGBRectMult(struct RastPort *rp, const struct gfxARGB *numerator, const struct gfxARGB *denominator, WORD xMin, WORD yMin, WORD xMax, WORD yMax) (A0,A1,A2,D0,D1,D2,D3)
72 .function ScalosGfxBase_0_LIBScalosGfxARGBRectMult
74 VOID ScalosGfxBlitARGBAlpha(struct RastPort *rp, const struct ARGBHeader *srcH, ULONG destLeft, ULONG destTop, ULONG srcLeft, ULONG srcTop, ULONG width, ULONG height) (A0,A1,D0,D1,D2,D3,D4,D5)
75 .function ScalosGfxBase_0_LIBScalosGfxBlitARGBAlpha
77 VOID ScalosGfxBlitARGBAlphaTagList(struct RastPort *rp, const struct ARGBHeader *srcH, ULONG destLeft, ULONG destTop, const struct IBox *srcSize, struct TagItem *tagList) (A0,A1,D0,D1,A3,A2)
78 .function ScalosGfxBase_0_LIBScalosGfxBlitARGBAlphaTagList
80 VOID ScalosGfxBlitIcon(struct RastPort *rpBackground, struct RastPort *rpIcon, ULONG left, ULONG top, ULONG width, ULONG height, struct TagItem *tagList) (A0,A1,D0,D1,D2,D3,A2)
81 .function ScalosGfxBase_0_LIBScalosGfxBlitIcon
83 BOOL ScalosGfxDrawGradient(struct ARGBHeader *dest, LONG left, LONG top, LONG width, LONG height, struct gfxARGB *start, struct gfxARGB *stop, ULONG gradType) (A0,D0,D1,D2,D3,A1,A2,D4)
84 .function ScalosGfxBase_0_LIBScalosGfxDrawGradient
86 BOOL ScalosGfxDrawGradientRastPort(struct RastPort *rp, LONG left, LONG top, LONG width, LONG height, struct gfxARGB *start, struct gfxARGB *stop, ULONG gradType) (A0,D0,D1,D2,D3,A1,A2,D4)
87 .function ScalosGfxBase_0_LIBScalosGfxDrawGradientRastPort
89 VOID ScalosGfxDrawLine(struct ARGBHeader *dest, LONG fromX, LONG fromY, LONG toX, LONG toY, const struct gfxARGB *lineColor) (A0,D0,D1,D2,D3,A1)
90 .function ScalosGfxBase_0_LIBScalosGfxDrawLine
92 VOID ScalosGfxDrawLineRastPort(struct RastPort *rp, LONG fromX, LONG fromY, LONG toX, LONG toY, const struct gfxARGB *lineColor) (A0,D0,D1,D2,D3,A1)
93 .function ScalosGfxBase_0_LIBScalosGfxDrawLineRastPort
95 VOID ScalosGfxDrawEllipse(struct ARGBHeader *dest, LONG xCenter, LONG yCenter, LONG radiusX, LONG radiusy, WORD segment, const struct gfxARGB *color1, const struct gfxARGB *color2) (A0,D0,D1,D2,D3,D4,A1,A2)
96 .function ScalosGfxBase_0_LIBScalosGfxDrawEllipse
98 VOID ScalosGfxDrawEllipseRastPort(struct RastPort *rp, LONG xCenter, LONG yCenter, LONG radiusX, LONG radiusy, WORD segment, const struct gfxARGB *color1, const struct gfxARGB *color2) (A0,D0,D1,D2,D3,D4,A1,A2)
99 .function ScalosGfxBase_0_LIBScalosGfxDrawEllipseRastPort