AlpacaLibary  1.63
A closed source C++ bot for OSRS
Paint Namespace Reference

Classes

struct  Pixel
 

Functions

std::uint32_t * GetPixels ()
 
void Clear ()
 
void DrawDot (const Point &P, double Radius, std::uint8_t Red, std::uint8_t Green, std::uint8_t Blue, std::uint8_t Alpha)
 
void DrawPoint (const Point &P, std::uint8_t Red, std::uint8_t Green, std::uint8_t Blue, std::uint8_t Alpha)
 
void DrawPoints (const std::vector< Point > &Points, std::uint8_t Red, std::uint8_t Green, std::uint8_t Blue, std::uint8_t Alpha)
 
void DrawLine (const Point &A, const Point &B, std::uint8_t Red, std::uint8_t Green, std::uint8_t Blue, std::uint8_t Alpha)
 
void DrawLines (const std::vector< Point > &A, const std::vector< Point > &B, std::uint8_t Red, std::uint8_t Green, std::uint8_t Blue, std::uint8_t Alpha)
 
void DrawBox (const Box &B, std::uint8_t Red, std::uint8_t Green, std::uint8_t Blue, std::uint8_t Alpha)
 
void DrawSquare (const Box &B, std::uint8_t Red, std::uint8_t Green, std::uint8_t Blue, std::uint8_t Alpha)
 
void DrawConvex (const Convex &C, std::uint8_t Red, std::uint8_t Green, std::uint8_t Blue, std::uint8_t Alpha)
 
void DrawTile (const Tile &T, std::uint8_t Red, std::uint8_t Green, std::uint8_t Blue, std::uint8_t Alpha)
 
void DrawModel (const std::vector< Point > &Model, std::uint8_t Red, std::uint8_t Green, std::uint8_t Blue, std::uint8_t Alpha)
 
void DrawString (const std::string &String, const Point &P, std::uint8_t Red, std::uint8_t Green, std::uint8_t Blue, std::uint8_t Alpha)
 
void DrawPixels (const std::vector< Pixel > Pixels, std::uint32_t Width, std::uint32_t Height, const Point &P)
 
void SwapBuffer ()
 

Function Documentation

◆ Clear()

void Paint::Clear ( )

◆ DrawBox()

void Paint::DrawBox ( const Box B,
std::uint8_t  Red,
std::uint8_t  Green,
std::uint8_t  Blue,
std::uint8_t  Alpha 
)

◆ DrawConvex()

void Paint::DrawConvex ( const Convex C,
std::uint8_t  Red,
std::uint8_t  Green,
std::uint8_t  Blue,
std::uint8_t  Alpha 
)

◆ DrawDot()

void Paint::DrawDot ( const Point P,
double  Radius,
std::uint8_t  Red,
std::uint8_t  Green,
std::uint8_t  Blue,
std::uint8_t  Alpha 
)

◆ DrawLine()

void Paint::DrawLine ( const Point A,
const Point B,
std::uint8_t  Red,
std::uint8_t  Green,
std::uint8_t  Blue,
std::uint8_t  Alpha 
)

◆ DrawLines()

void Paint::DrawLines ( const std::vector< Point > &  A,
const std::vector< Point > &  B,
std::uint8_t  Red,
std::uint8_t  Green,
std::uint8_t  Blue,
std::uint8_t  Alpha 
)

◆ DrawModel()

void Paint::DrawModel ( const std::vector< Point > &  Model,
std::uint8_t  Red,
std::uint8_t  Green,
std::uint8_t  Blue,
std::uint8_t  Alpha 
)

◆ DrawPixels()

void Paint::DrawPixels ( const std::vector< Pixel Pixels,
std::uint32_t  Width,
std::uint32_t  Height,
const Point P 
)

◆ DrawPoint()

void Paint::DrawPoint ( const Point P,
std::uint8_t  Red,
std::uint8_t  Green,
std::uint8_t  Blue,
std::uint8_t  Alpha 
)

◆ DrawPoints()

void Paint::DrawPoints ( const std::vector< Point > &  Points,
std::uint8_t  Red,
std::uint8_t  Green,
std::uint8_t  Blue,
std::uint8_t  Alpha 
)

◆ DrawSquare()

void Paint::DrawSquare ( const Box B,
std::uint8_t  Red,
std::uint8_t  Green,
std::uint8_t  Blue,
std::uint8_t  Alpha 
)

◆ DrawString()

void Paint::DrawString ( const std::string &  String,
const Point P,
std::uint8_t  Red,
std::uint8_t  Green,
std::uint8_t  Blue,
std::uint8_t  Alpha 
)

◆ DrawTile()

void Paint::DrawTile ( const Tile T,
std::uint8_t  Red,
std::uint8_t  Green,
std::uint8_t  Blue,
std::uint8_t  Alpha 
)

◆ GetPixels()

std::uint32_t* Paint::GetPixels ( )

◆ SwapBuffer()

void Paint::SwapBuffer ( )