|
XenevaOS
|


Go to the source code of this file.
Classes | |
| struct | _chrect_ |
Typedefs | |
| typedef struct _chrect_ | ChRect |
Functions | |
| XE_LIB void | ChDrawRect (ChCanvas *canvas, unsigned x, unsigned y, unsigned w, unsigned h, uint32_t col) |
| XE_LIB void | ChDrawRectClipped (ChCanvas *canv, unsigned x, unsigned y, unsigned w, unsigned h, ChRect *clip, uint32_t col) |
| XE_LIB void | ChDrawVerticalLine (ChCanvas *canv, unsigned x, unsigned y, unsigned len, uint32_t col) |
| XE_LIB void | ChDrawHorizontalLine (ChCanvas *canv, unsigned x, unsigned y, unsigned len, uint32_t col) |
| XE_LIB void | ChDrawRectUnfilled (ChCanvas *canv, unsigned x, unsigned y, unsigned w, unsigned h, uint32_t color) |
| XE_LIB void | ChDrawRectUnfilledClipped (ChCanvas *canv, unsigned x, unsigned y, unsigned w, unsigned h, ChRect *clip, uint32_t col) |
| XE_LIB void | ChDrawFilledCircle (ChCanvas *canv, int x, int y, int radius, uint32_t fill_col) |
| XE_LIB void | ChDrawFilledCircleAA (ChCanvas *canv, int cx, int cy, int radius, uint32_t color) |
| XE_LIB void | ChDrawLine (ChCanvas *canv, int x1, int y1, int x2, int y2, uint32_t color) |
| XE_LIB void | ChDrawCircleUnfilled (ChCanvas *canvas, int x, int y, int radius, uint32_t color) |
| XE_LIB void | ChDrawCapsule (ChCanvas *canv, int x, int y, int width, int height, uint32_t color) |
| XE_LIB void | ChDrawRoundedRect (ChCanvas *canv, int x, int y, int width, int height, uint32_t color, int topleftRadius, int topRightRadius, int bottomRightRadius, int bottomLeftRadius, ChRect *mask) |
BSD 2-Clause License
Copyright (c) 2022-2023, Manas Kamal Choudhury All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
| XE_LIB void ChDrawHorizontalLine | ( | ChCanvas * | canv, |
| unsigned | x, | ||
| unsigned | y, | ||
| unsigned | len, | ||
| uint32_t | col | ||
| ) |
| XE_LIB void ChDrawRect | ( | ChCanvas * | canvas, |
| unsigned | x, | ||
| unsigned | y, | ||
| unsigned | w, | ||
| unsigned | h, | ||
| uint32_t | col | ||
| ) |
| XE_LIB void ChDrawRectClipped | ( | ChCanvas * | canv, |
| unsigned | x, | ||
| unsigned | y, | ||
| unsigned | w, | ||
| unsigned | h, | ||
| ChRect * | clip, | ||
| uint32_t | col | ||
| ) |
| XE_LIB void ChDrawRectUnfilled | ( | ChCanvas * | canv, |
| unsigned | x, | ||
| unsigned | y, | ||
| unsigned | w, | ||
| unsigned | h, | ||
| uint32_t | color | ||
| ) |
| XE_LIB void ChDrawRectUnfilledClipped | ( | ChCanvas * | canv, |
| unsigned | x, | ||
| unsigned | y, | ||
| unsigned | w, | ||
| unsigned | h, | ||
| ChRect * | clip, | ||
| uint32_t | col | ||
| ) |
| XE_LIB void ChDrawRoundedRect | ( | ChCanvas * | canv, |
| int | x, | ||
| int | y, | ||
| int | width, | ||
| int | height, | ||
| uint32_t | color, | ||
| int | topleftRadius, | ||
| int | topRightRadius, | ||
| int | bottomRightRadius, | ||
| int | bottomLeftRadius, | ||
| ChRect * | mask | ||
| ) |