diff --git a/LazDoc/Makefile b/LazDoc/Makefile index 942fc0a..b5690f2 100644 --- a/LazDoc/Makefile +++ b/LazDoc/Makefile @@ -1,8 +1,8 @@ .PHONY: default clean -docunits := os_linux dtm mufasatypes -coreunits := os_linux dtm mufasatypes +docunits := os_linux dtm mufasatypes bitmaps +coreunits := os_linux dtm mufasatypes bitmaps default: diff --git a/LazDoc/bitmaps.xml b/LazDoc/bitmaps.xml new file mode 100644 index 0000000..bad5631 --- /dev/null +++ b/LazDoc/bitmaps.xml @@ -0,0 +1,95 @@ + + + + + + Bitmap class for the Mufasa library + + + Called when destroying the TMufasaBitmap + + + Name of the bitmap. Mainly for debugging purposes. + + + Set the bitmap to the given size. + + + Returns true if the point is within the bitmap size. + + + Posterizes the target bitmap + + + Invert the colours on the bitmap. + + + Change contrast. + + + Change brightness + + + Greyscales the bitmap + + + Desaturates the bitmap. + + + Rotate the bitmap. + + + Copy (a part of) the Window to the bitmap. + + + Replace OldColor with NewColor. + + + Fill the bitmap with a specific colour. + + + Return the bitmap data in a two dimensional array. + + + Return the corresponding colour of each point. + + + Returns the colour at the corresponding point. + + + Draw the bitmap on a canvas. + + + Draw the points in the tpointarray on the bitmap with the given colour. + + + Loads a bitmap from a RawImage type. + This can be virtually any type. As long as the RawImage is specified correctly, this function will load it and transform it into a TMufasaBitmap. It will do all the necessary shifts and swizzles to get the image in the TMufasaBitmap format. + + + Load the data of a TBitmap into the TMufasaBitmap + + + Turn the bitmap data into a string, base64 encoded. + + + Creates a TBitmap from a TMufasaBitmap. + + + Create a (partial) copy of the TMufasaBitmap. + + + Load a TMufasaBitmap from file. All bitmap types supported by TLazIntFImage are supported. + + + Path to the file that is to be loaded. + + + Save the TMufasaBitmap to a file. + + + Create a TRawImage from passed pixel data. + + + +