Graphics

Graphics

Description

The graphics code of SwinGame is used to draw primitive shapes to the screen or onto bitmaps.

Blue Of

Get the blue value of color.

  • Blue Of (c) : Byte [show]

    Get the blue value of color.

    Parameters:
    c : Color
    Returns:
    Byte :
    Signatures by Language:
    C/C++: unsigned char blue_of(color c);
    Pascal: function BlueOf(c: Color): Byte;

Brightness Of

Get the brightness of the color.

  • Brightness Of (c) : Single [show]

    Get the brightness of the color.

    Parameters:
    c : Color
    Returns:
    Single :
    Signatures by Language:
    C/C++: float brightness_of(color c);
    Pascal: function BrightnessOf(c: Color): Single;

Change Screen Size

Changes the size of the screen.

  • Change Screen Size (width, height) [show]

    Changes the size of the screen.

    Parameters:
    width : Longint
    The new width and height of the screen

    Side Effects: - The screen changes to the specified size

    height : Longint
    The new width and height of the screen

    Side Effects: - The screen changes to the specified size

    Signatures by Language:
    C/C++: void change_screen_size(int32_t width, int32_t height);
    Pascal: procedure ChangeScreenSize(width: Longint; height: Longint);

Clear Screen

Clear the screen black.

  • Clear Screen () [show]

    Clear the screen black.

  • Clear Screen (toColor) [show]

    Clear the screen to a specified color.

    Parameters:
    toColor : Color
    Signatures by Language:
    C/C++: void clear_screen_to(color toColor);
    C++: void clear_screen(color toColor);
    Pascal: procedure ClearScreen(toColor: Color);

Color Alice Blue

The color AliceBlue

  • Color Alice Blue () : Color [show]

    The color AliceBlue

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_alice_blue();
    Pascal: function ColorAliceBlue(): Color;

Color Antique White

The color AntiqueWhite

  • Color Antique White () : Color [show]

    The color AntiqueWhite

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_antique_white();
    Pascal: function ColorAntiqueWhite(): Color;

Color Aqua

The color Aqua

  • Color Aqua () : Color [show]

    The color Aqua

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_aqua();
    Pascal: function ColorAqua(): Color;

Color Aquamarine

The color Aquamarine

  • Color Aquamarine () : Color [show]

    The color Aquamarine

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_aquamarine();
    Pascal: function ColorAquamarine(): Color;

Color Azure

The color Azure

  • Color Azure () : Color [show]

    The color Azure

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_azure();
    Pascal: function ColorAzure(): Color;

Color Beige

The color Beige

  • Color Beige () : Color [show]

    The color Beige

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_beige();
    Pascal: function ColorBeige(): Color;

Color Bisque

The color Bisque

  • Color Bisque () : Color [show]

    The color Bisque

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_bisque();
    Pascal: function ColorBisque(): Color;

Color Black

The color Black

  • Color Black () : Color [show]

    The color Black

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_black();
    Pascal: function ColorBlack(): Color;

Color Blanched Almond

The color BlanchedAlmond

  • Color Blanched Almond () : Color [show]

    The color BlanchedAlmond

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_blanched_almond();
    Pascal: function ColorBlanchedAlmond(): Color;

Color Blue

The color Blue

  • Color Blue () : Color [show]

    The color Blue

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_blue();
    Pascal: function ColorBlue(): Color;

Color Blue Violet

The color BlueViolet

  • Color Blue Violet () : Color [show]

    The color BlueViolet

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_blue_violet();
    Pascal: function ColorBlueViolet(): Color;

Color Bright Green

The color Green

  • Color Bright Green () : Color [show]

    The color Green

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_bright_green();
    Pascal: function ColorBrightGreen(): Color;

Color Brown

The color Brown

  • Color Brown () : Color [show]

    The color Brown

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_brown();
    Pascal: function ColorBrown(): Color;

Color Burly Wood

The color BurlyWood

  • Color Burly Wood () : Color [show]

    The color BurlyWood

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_burly_wood();
    Pascal: function ColorBurlyWood(): Color;

Color Cadet Blue

The color CadetBlue

  • Color Cadet Blue () : Color [show]

    The color CadetBlue

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_cadet_blue();
    Pascal: function ColorCadetBlue(): Color;

Color Chartreuse

The color Chartreuse

  • Color Chartreuse () : Color [show]

    The color Chartreuse

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_chartreuse();
    Pascal: function ColorChartreuse(): Color;

Color Chocolate

The color Chocolate

  • Color Chocolate () : Color [show]

    The color Chocolate

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_chocolate();
    Pascal: function ColorChocolate(): Color;

Color Components

Gets a color given its RGBA components.

  • Color Components (c, out r, out g, out b, out a) [show]

    Gets a color given its RGBA components.

    Parameters:
    c : Color
    r : Byte
    g : Byte
    b : Byte
    a : Byte
    Signatures by Language:
    C/C++: void color_components(color c, unsigned char *r, unsigned char *g, unsigned char *b, unsigned char *a);
    C++: void color_components(color c, unsigned char &r, unsigned char &g, unsigned char &b, unsigned char &a);
    Pascal: procedure ColorComponents(c: Color; out r: Byte; out g: Byte; out b: Byte; out a: Byte);

Color Coral

The color Coral

  • Color Coral () : Color [show]

    The color Coral

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_coral();
    Pascal: function ColorCoral(): Color;

Color Cornflower Blue

The color CornflowerBlue

  • Color Cornflower Blue () : Color [show]

    The color CornflowerBlue

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_cornflower_blue();
    Pascal: function ColorCornflowerBlue(): Color;

Color Cornsilk

The color Cornsilk

  • Color Cornsilk () : Color [show]

    The color Cornsilk

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_cornsilk();
    Pascal: function ColorCornsilk(): Color;

Color Crimson

The color Crimson

  • Color Crimson () : Color [show]

    The color Crimson

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_crimson();
    Pascal: function ColorCrimson(): Color;

Color Cyan

The color Cyan

  • Color Cyan () : Color [show]

    The color Cyan

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_cyan();
    Pascal: function ColorCyan(): Color;

Color Dark Blue

The color DarkBlue

  • Color Dark Blue () : Color [show]

    The color DarkBlue

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_dark_blue();
    Pascal: function ColorDarkBlue(): Color;

Color Dark Cyan

The color DarkCyan

  • Color Dark Cyan () : Color [show]

    The color DarkCyan

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_dark_cyan();
    Pascal: function ColorDarkCyan(): Color;

Color Dark Goldenrod

The color DarkGoldenrod

  • Color Dark Goldenrod () : Color [show]

    The color DarkGoldenrod

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_dark_goldenrod();
    Pascal: function ColorDarkGoldenrod(): Color;

Color Dark Gray

The color DarkGray

  • Color Dark Gray () : Color [show]

    The color DarkGray

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_dark_gray();
    Pascal: function ColorDarkGray(): Color;

Color Dark Green

The color DarkGreen

  • Color Dark Green () : Color [show]

    The color DarkGreen

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_dark_green();
    Pascal: function ColorDarkGreen(): Color;

Color Dark Khaki

The color DarkKhaki

  • Color Dark Khaki () : Color [show]

    The color DarkKhaki

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_dark_khaki();
    Pascal: function ColorDarkKhaki(): Color;

Color Dark Magenta

The color DarkMagenta

  • Color Dark Magenta () : Color [show]

    The color DarkMagenta

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_dark_magenta();
    Pascal: function ColorDarkMagenta(): Color;

Color Dark Olive Green

The color DarkOliveGreen

  • Color Dark Olive Green () : Color [show]

    The color DarkOliveGreen

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_dark_olive_green();
    Pascal: function ColorDarkOliveGreen(): Color;

Color Dark Orange

The color DarkOrange

  • Color Dark Orange () : Color [show]

    The color DarkOrange

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_dark_orange();
    Pascal: function ColorDarkOrange(): Color;

Color Dark Orchid

The color DarkOrchid

  • Color Dark Orchid () : Color [show]

    The color DarkOrchid

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_dark_orchid();
    Pascal: function ColorDarkOrchid(): Color;

Color Dark Red

The color DarkRed

  • Color Dark Red () : Color [show]

    The color DarkRed

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_dark_red();
    Pascal: function ColorDarkRed(): Color;

Color Dark Salmon

The color DarkSalmon

  • Color Dark Salmon () : Color [show]

    The color DarkSalmon

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_dark_salmon();
    Pascal: function ColorDarkSalmon(): Color;

Color Dark Sea Green

The color DarkSeaGreen

  • Color Dark Sea Green () : Color [show]

    The color DarkSeaGreen

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_dark_sea_green();
    Pascal: function ColorDarkSeaGreen(): Color;

Color Dark Slate Blue

The color DarkSlateBlue

  • Color Dark Slate Blue () : Color [show]

    The color DarkSlateBlue

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_dark_slate_blue();
    Pascal: function ColorDarkSlateBlue(): Color;

Color Dark Slate Gray

The color DarkSlateGray

  • Color Dark Slate Gray () : Color [show]

    The color DarkSlateGray

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_dark_slate_gray();
    Pascal: function ColorDarkSlateGray(): Color;

Color Dark Turquoise

The color DarkTurquoise

  • Color Dark Turquoise () : Color [show]

    The color DarkTurquoise

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_dark_turquoise();
    Pascal: function ColorDarkTurquoise(): Color;

Color Dark Violet

The color DarkViolet

  • Color Dark Violet () : Color [show]

    The color DarkViolet

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_dark_violet();
    Pascal: function ColorDarkViolet(): Color;

Color Deep Pink

The color DeepPink

  • Color Deep Pink () : Color [show]

    The color DeepPink

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_deep_pink();
    Pascal: function ColorDeepPink(): Color;

Color Deep Sky Blue

The color DeepSkyBlue

  • Color Deep Sky Blue () : Color [show]

    The color DeepSkyBlue

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_deep_sky_blue();
    Pascal: function ColorDeepSkyBlue(): Color;

Color Dim Gray

The color DimGray

  • Color Dim Gray () : Color [show]

    The color DimGray

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_dim_gray();
    Pascal: function ColorDimGray(): Color;

Color Dodger Blue

The color DodgerBlue

  • Color Dodger Blue () : Color [show]

    The color DodgerBlue

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_dodger_blue();
    Pascal: function ColorDodgerBlue(): Color;

Color Firebrick

The color Firebrick

  • Color Firebrick () : Color [show]

    The color Firebrick

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_firebrick();
    Pascal: function ColorFirebrick(): Color;

Color Floral White

The color FloralWhite

  • Color Floral White () : Color [show]

    The color FloralWhite

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_floral_white();
    Pascal: function ColorFloralWhite(): Color;

Color Forest Green

The color ForestGreen

  • Color Forest Green () : Color [show]

    The color ForestGreen

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_forest_green();
    Pascal: function ColorForestGreen(): Color;

Color From

Maps a color from a given bitmap. This is used when determining color keys for transparent images.

  • Color From (bmp, apiColor) : Color [show]

    Maps a color from a given bitmap. This is used when determining color keys for transparent images.

    Parameters:
    bmp : Bitmap
    the bitmap to get the color for
    apiColor : Color
    The api color to match
    Returns:
    Color : The color matched to the bitmaps pixel format
    Signatures by Language:
    C/C++: color color_from_bitmap(bitmap bmp, color apiColor);
    C++: color color_from(bitmap bmp, color apiColor);
    Pascal: function ColorFrom(bmp: Bitmap; apiColor: Color): Color;

Color Fuchsia

The color Fuchsia

  • Color Fuchsia () : Color [show]

    The color Fuchsia

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_fuchsia();
    Pascal: function ColorFuchsia(): Color;

Color Gainsboro

The color Gainsboro

  • Color Gainsboro () : Color [show]

    The color Gainsboro

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_gainsboro();
    Pascal: function ColorGainsboro(): Color;

Color Ghost White

The color GhostWhite

  • Color Ghost White () : Color [show]

    The color GhostWhite

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_ghost_white();
    Pascal: function ColorGhostWhite(): Color;

Color Gold

The color Gold

  • Color Gold () : Color [show]

    The color Gold

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_gold();
    Pascal: function ColorGold(): Color;

Color Goldenrod

The color Goldenrod

  • Color Goldenrod () : Color [show]

    The color Goldenrod

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_goldenrod();
    Pascal: function ColorGoldenrod(): Color;

Color Gray

The color Gray

  • Color Gray () : Color [show]

    The color Gray

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_gray();
    Pascal: function ColorGray(): Color;

Color Green

The color Green

  • Color Green () : Color [show]

    The color Green

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_green();
    Pascal: function ColorGreen(): Color;

Color Green Yellow

The color GreenYellow

  • Color Green Yellow () : Color [show]

    The color GreenYellow

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_green_yellow();
    Pascal: function ColorGreenYellow(): Color;

Color Grey

The color Grey

  • Color Grey () : Color [show]

    The color Grey

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_grey();
    Pascal: function ColorGrey(): Color;

Color Honeydew

The color Honeydew

  • Color Honeydew () : Color [show]

    The color Honeydew

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_honeydew();
    Pascal: function ColorHoneydew(): Color;

Color Hot Pink

The color HotPink

  • Color Hot Pink () : Color [show]

    The color HotPink

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_hot_pink();
    Pascal: function ColorHotPink(): Color;

Color Indian Red

The color IndianRed

  • Color Indian Red () : Color [show]

    The color IndianRed

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_indian_red();
    Pascal: function ColorIndianRed(): Color;

Color Indigo

The color Indigo

  • Color Indigo () : Color [show]

    The color Indigo

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_indigo();
    Pascal: function ColorIndigo(): Color;

Color Ivory

The color Ivory

  • Color Ivory () : Color [show]

    The color Ivory

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_ivory();
    Pascal: function ColorIvory(): Color;

Color Khaki

The color Khaki

  • Color Khaki () : Color [show]

    The color Khaki

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_khaki();
    Pascal: function ColorKhaki(): Color;

Color Lavender

The color Lavender

  • Color Lavender () : Color [show]

    The color Lavender

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_lavender();
    Pascal: function ColorLavender(): Color;

Color Lavender Blush

The color LavenderBlush

  • Color Lavender Blush () : Color [show]

    The color LavenderBlush

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_lavender_blush();
    Pascal: function ColorLavenderBlush(): Color;

Color Lawn Green

The color LawnGreen

  • Color Lawn Green () : Color [show]

    The color LawnGreen

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_lawn_green();
    Pascal: function ColorLawnGreen(): Color;

Color Lemon Chiffon

The color LemonChiffon

  • Color Lemon Chiffon () : Color [show]

    The color LemonChiffon

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_lemon_chiffon();
    Pascal: function ColorLemonChiffon(): Color;

Color Light Blue

The color LightBlue

  • Color Light Blue () : Color [show]

    The color LightBlue

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_light_blue();
    Pascal: function ColorLightBlue(): Color;

Color Light Coral

The color LightCoral

  • Color Light Coral () : Color [show]

    The color LightCoral

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_light_coral();
    Pascal: function ColorLightCoral(): Color;

Color Light Cyan

The color LightCyan

  • Color Light Cyan () : Color [show]

    The color LightCyan

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_light_cyan();
    Pascal: function ColorLightCyan(): Color;

Color Light Goldenrod Yellow

The color LightGoldenrodYellow

  • Color Light Goldenrod Yellow () : Color [show]

    The color LightGoldenrodYellow

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_light_goldenrod_yellow();
    Pascal: function ColorLightGoldenrodYellow(): Color;

Color Light Gray

The color LightGray

  • Color Light Gray () : Color [show]

    The color LightGray

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_light_gray();
    Pascal: function ColorLightGray(): Color;

Color Light Green

The color LightGreen

  • Color Light Green () : Color [show]

    The color LightGreen

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_light_green();
    Pascal: function ColorLightGreen(): Color;

Color Light Grey

The color Transparent

  • Color Light Grey () : Color [show]

    The color Transparent

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_light_grey();
    Pascal: function ColorLightGrey(): Color;

Color Light Pink

The color LightPink

  • Color Light Pink () : Color [show]

    The color LightPink

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_light_pink();
    Pascal: function ColorLightPink(): Color;

Color Light Salmon

The color LightSalmon

  • Color Light Salmon () : Color [show]

    The color LightSalmon

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_light_salmon();
    Pascal: function ColorLightSalmon(): Color;

Color Light Sea Green

The color LightSeaGreen

  • Color Light Sea Green () : Color [show]

    The color LightSeaGreen

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_light_sea_green();
    Pascal: function ColorLightSeaGreen(): Color;

Color Light Sky Blue

The color LightSkyBlue

  • Color Light Sky Blue () : Color [show]

    The color LightSkyBlue

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_light_sky_blue();
    Pascal: function ColorLightSkyBlue(): Color;

Color Light Slate Gray

The color LightSlateGray

  • Color Light Slate Gray () : Color [show]

    The color LightSlateGray

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_light_slate_gray();
    Pascal: function ColorLightSlateGray(): Color;

Color Light Steel Blue

The color LightSteelBlue

  • Color Light Steel Blue () : Color [show]

    The color LightSteelBlue

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_light_steel_blue();
    Pascal: function ColorLightSteelBlue(): Color;

Color Light Yellow

The color LightYellow

  • Color Light Yellow () : Color [show]

    The color LightYellow

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_light_yellow();
    Pascal: function ColorLightYellow(): Color;

Color Lime

The color Lime

  • Color Lime () : Color [show]

    The color Lime

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_lime();
    Pascal: function ColorLime(): Color;

Color Lime Green

The color LimeGreen

  • Color Lime Green () : Color [show]

    The color LimeGreen

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_lime_green();
    Pascal: function ColorLimeGreen(): Color;

Color Linen

The color Linen

  • Color Linen () : Color [show]

    The color Linen

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_linen();
    Pascal: function ColorLinen(): Color;

Color Magenta

The color Magenta

  • Color Magenta () : Color [show]

    The color Magenta

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_magenta();
    Pascal: function ColorMagenta(): Color;

Color Maroon

The color Maroon

  • Color Maroon () : Color [show]

    The color Maroon

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_maroon();
    Pascal: function ColorMaroon(): Color;

Color Medium Aquamarine

The color MediumAquamarine

  • Color Medium Aquamarine () : Color [show]

    The color MediumAquamarine

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_medium_aquamarine();
    Pascal: function ColorMediumAquamarine(): Color;

Color Medium Blue

The color MediumBlue

  • Color Medium Blue () : Color [show]

    The color MediumBlue

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_medium_blue();
    Pascal: function ColorMediumBlue(): Color;

Color Medium Orchid

The color MediumOrchid

  • Color Medium Orchid () : Color [show]

    The color MediumOrchid

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_medium_orchid();
    Pascal: function ColorMediumOrchid(): Color;

Color Medium Purple

The color MediumPurple

  • Color Medium Purple () : Color [show]

    The color MediumPurple

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_medium_purple();
    Pascal: function ColorMediumPurple(): Color;

Color Medium Sea Green

The color MediumSeaGreen

  • Color Medium Sea Green () : Color [show]

    The color MediumSeaGreen

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_medium_sea_green();
    Pascal: function ColorMediumSeaGreen(): Color;

Color Medium Slate Blue

The color MediumSlateBlue

  • Color Medium Slate Blue () : Color [show]

    The color MediumSlateBlue

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_medium_slate_blue();
    Pascal: function ColorMediumSlateBlue(): Color;

Color Medium Spring Green

The color MediumSpringGreen

  • Color Medium Spring Green () : Color [show]

    The color MediumSpringGreen

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_medium_spring_green();
    Pascal: function ColorMediumSpringGreen(): Color;

Color Medium Turquoise

The color MediumTurquoise

  • Color Medium Turquoise () : Color [show]

    The color MediumTurquoise

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_medium_turquoise();
    Pascal: function ColorMediumTurquoise(): Color;

Color Medium Violet Red

The color MediumVioletRed

  • Color Medium Violet Red () : Color [show]

    The color MediumVioletRed

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_medium_violet_red();
    Pascal: function ColorMediumVioletRed(): Color;

Color Midnight Blue

The color MidnightBlue

  • Color Midnight Blue () : Color [show]

    The color MidnightBlue

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_midnight_blue();
    Pascal: function ColorMidnightBlue(): Color;

Color Mint Cream

The color MintCream

  • Color Mint Cream () : Color [show]

    The color MintCream

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_mint_cream();
    Pascal: function ColorMintCream(): Color;

Color Misty Rose

The color MistyRose

  • Color Misty Rose () : Color [show]

    The color MistyRose

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_misty_rose();
    Pascal: function ColorMistyRose(): Color;

Color Moccasin

The color Moccasin

  • Color Moccasin () : Color [show]

    The color Moccasin

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_moccasin();
    Pascal: function ColorMoccasin(): Color;

Color Navajo White

The color NavajoWhite

  • Color Navajo White () : Color [show]

    The color NavajoWhite

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_navajo_white();
    Pascal: function ColorNavajoWhite(): Color;

Color Navy

The color Navy

  • Color Navy () : Color [show]

    The color Navy

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_navy();
    Pascal: function ColorNavy(): Color;

Color Old Lace

The color OldLace

  • Color Old Lace () : Color [show]

    The color OldLace

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_old_lace();
    Pascal: function ColorOldLace(): Color;

Color Olive

The color Olive

  • Color Olive () : Color [show]

    The color Olive

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_olive();
    Pascal: function ColorOlive(): Color;

Color Olive Drab

The color OliveDrab

  • Color Olive Drab () : Color [show]

    The color OliveDrab

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_olive_drab();
    Pascal: function ColorOliveDrab(): Color;

Color Orange

The color Orange

  • Color Orange () : Color [show]

    The color Orange

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_orange();
    Pascal: function ColorOrange(): Color;

Color Orange Red

The color OrangeRed

  • Color Orange Red () : Color [show]

    The color OrangeRed

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_orange_red();
    Pascal: function ColorOrangeRed(): Color;

Color Orchid

The color Orchid

  • Color Orchid () : Color [show]

    The color Orchid

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_orchid();
    Pascal: function ColorOrchid(): Color;

Color Pale Goldenrod

The color PaleGoldenrod

  • Color Pale Goldenrod () : Color [show]

    The color PaleGoldenrod

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_pale_goldenrod();
    Pascal: function ColorPaleGoldenrod(): Color;

Color Pale Green

The color PaleGreen

  • Color Pale Green () : Color [show]

    The color PaleGreen

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_pale_green();
    Pascal: function ColorPaleGreen(): Color;

Color Pale Turquoise

The color PaleTurquoise

  • Color Pale Turquoise () : Color [show]

    The color PaleTurquoise

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_pale_turquoise();
    Pascal: function ColorPaleTurquoise(): Color;

Color Pale Violet Red

The color PaleVioletRed

  • Color Pale Violet Red () : Color [show]

    The color PaleVioletRed

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_pale_violet_red();
    Pascal: function ColorPaleVioletRed(): Color;

Color Papaya Whip

The color PapayaWhip

  • Color Papaya Whip () : Color [show]

    The color PapayaWhip

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_papaya_whip();
    Pascal: function ColorPapayaWhip(): Color;

Color Peach Puff

The color PeachPuff

  • Color Peach Puff () : Color [show]

    The color PeachPuff

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_peach_puff();
    Pascal: function ColorPeachPuff(): Color;

Color Peru

The color Peru

  • Color Peru () : Color [show]

    The color Peru

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_peru();
    Pascal: function ColorPeru(): Color;

Color Pink

The color Pink

  • Color Pink () : Color [show]

    The color Pink

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_pink();
    Pascal: function ColorPink(): Color;

Color Plum

The color Plum

  • Color Plum () : Color [show]

    The color Plum

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_plum();
    Pascal: function ColorPlum(): Color;

Color Powder Blue

The color PowderBlue

  • Color Powder Blue () : Color [show]

    The color PowderBlue

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_powder_blue();
    Pascal: function ColorPowderBlue(): Color;

Color Purple

The color Purple

  • Color Purple () : Color [show]

    The color Purple

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_purple();
    Pascal: function ColorPurple(): Color;

Color Red

The color Red

  • Color Red () : Color [show]

    The color Red

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_red();
    Pascal: function ColorRed(): Color;

Color Rosy Brown

The color RosyBrown

  • Color Rosy Brown () : Color [show]

    The color RosyBrown

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_rosy_brown();
    Pascal: function ColorRosyBrown(): Color;

Color Royal Blue

The color RoyalBlue

  • Color Royal Blue () : Color [show]

    The color RoyalBlue

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_royal_blue();
    Pascal: function ColorRoyalBlue(): Color;

Color Saddle Brown

The color SaddleBrown

  • Color Saddle Brown () : Color [show]

    The color SaddleBrown

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_saddle_brown();
    Pascal: function ColorSaddleBrown(): Color;

Color Salmon

The color Salmon

  • Color Salmon () : Color [show]

    The color Salmon

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_salmon();
    Pascal: function ColorSalmon(): Color;

Color Sandy Brown

The color SandyBrown

  • Color Sandy Brown () : Color [show]

    The color SandyBrown

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_sandy_brown();
    Pascal: function ColorSandyBrown(): Color;

Color Sea Green

The color SeaGreen

  • Color Sea Green () : Color [show]

    The color SeaGreen

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_sea_green();
    Pascal: function ColorSeaGreen(): Color;

Color Sea Shell

The color SeaShell

  • Color Sea Shell () : Color [show]

    The color SeaShell

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_sea_shell();
    Pascal: function ColorSeaShell(): Color;

Color Sienna

The color Sienna

  • Color Sienna () : Color [show]

    The color Sienna

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_sienna();
    Pascal: function ColorSienna(): Color;

Color Silver

The color Silver

  • Color Silver () : Color [show]

    The color Silver

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_silver();
    Pascal: function ColorSilver(): Color;

Color Sky Blue

The color SkyBlue

  • Color Sky Blue () : Color [show]

    The color SkyBlue

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_sky_blue();
    Pascal: function ColorSkyBlue(): Color;

Color Slate Blue

The color SlateBlue

  • Color Slate Blue () : Color [show]

    The color SlateBlue

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_slate_blue();
    Pascal: function ColorSlateBlue(): Color;

Color Slate Gray

The color SlateGray

  • Color Slate Gray () : Color [show]

    The color SlateGray

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_slate_gray();
    Pascal: function ColorSlateGray(): Color;

Color Snow

The color Snow

  • Color Snow () : Color [show]

    The color Snow

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_snow();
    Pascal: function ColorSnow(): Color;

Color Spring Green

The color SpringGreen

  • Color Spring Green () : Color [show]

    The color SpringGreen

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_spring_green();
    Pascal: function ColorSpringGreen(): Color;

Color Steel Blue

The color SteelBlue

  • Color Steel Blue () : Color [show]

    The color SteelBlue

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_steel_blue();
    Pascal: function ColorSteelBlue(): Color;

Color Swinburne Red

The color Swinburne Red

  • Color Swinburne Red () : Color [show]

    The color Swinburne Red

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_swinburne_red();
    Pascal: function ColorSwinburneRed(): Color;

Color Tan

The color Tan

  • Color Tan () : Color [show]

    The color Tan

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_tan();
    Pascal: function ColorTan(): Color;

Color Teal

The color Teal

  • Color Teal () : Color [show]

    The color Teal

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_teal();
    Pascal: function ColorTeal(): Color;

Color Thistle

The color Thistle

  • Color Thistle () : Color [show]

    The color Thistle

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_thistle();
    Pascal: function ColorThistle(): Color;

Color To String

returns color to string.

  • Color To String (c) : String [show]

    returns color to string.

    Parameters:
    c : Color
    Returns:
    String :
    Signatures by Language:
    C/C++: void color_to_string(color c, char *result);
    Pascal: function ColorToString(c: Color): String;

Color Tomato

The color Tomato

  • Color Tomato () : Color [show]

    The color Tomato

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_tomato();
    Pascal: function ColorTomato(): Color;

Color Transparent

The color Transparent

  • Color Transparent () : Color [show]

    The color Transparent

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_transparent();
    Pascal: function ColorTransparent(): Color;

Color Turquoise

The color Turquoise

  • Color Turquoise () : Color [show]

    The color Turquoise

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_turquoise();
    Pascal: function ColorTurquoise(): Color;

Color Violet

The color Violet

  • Color Violet () : Color [show]

    The color Violet

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_violet();
    Pascal: function ColorViolet(): Color;

Color Wheat

The color Wheat

  • Color Wheat () : Color [show]

    The color Wheat

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_wheat();
    Pascal: function ColorWheat(): Color;

Color White

The color White

  • Color White () : Color [show]

    The color White

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_white();
    Pascal: function ColorWhite(): Color;

Color White Smoke

The color WhiteSmoke

  • Color White Smoke () : Color [show]

    The color WhiteSmoke

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_white_smoke();
    Pascal: function ColorWhiteSmoke(): Color;

Color Yellow

The color Yellow

  • Color Yellow () : Color [show]

    The color Yellow

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_yellow();
    Pascal: function ColorYellow(): Color;

Color Yellow Green

The color YellowGreen

  • Color Yellow Green () : Color [show]

    The color YellowGreen

    Returns:
    Color :
    Signatures by Language:
    C/C++: color color_yellow_green();
    Pascal: function ColorYellowGreen(): Color;

Current Clip

Returns the rectangle of the currentl clip of bitmap

  • Current Clip () : Rectangle [show]

    Returns the rectangle of the currentl clip of bitmap

    Returns:
    Rectangle :
    Signatures by Language:
    C/C++: rectangle current_screen_clip();
    C++: rectangle current_clip();
    Pascal: function CurrentClip(): Rectangle;
  • Current Clip (bmp) : Rectangle [show]

    Returns the rectangle of the currentl clip of bitmap

    Parameters:
    bmp : Bitmap
    Returns:
    Rectangle :
    Signatures by Language:
    C/C++: rectangle current_bmp_clip(bitmap bmp);
    C++: rectangle current_clip(bitmap bmp);
    Pascal: function CurrentClip(bmp: Bitmap): Rectangle;

Draw Circle

Draw a circle in the game.

  • Draw Circle (clr, xc, yc, radius) [show]

    Draw a circle in the game.

    Parameters:
    clr : Color
    xc : Single
    yc : Single
    radius : Longint
    Signatures by Language:
    C/C++: void draw_circle(color clr, float xc, float yc, int32_t radius);
    Pascal: procedure DrawCircle(clr: Color; xc: Single; yc: Single; radius: Longint);
  • Draw Circle (clr, const position, radius) [show]

    Draw circle in the game.

    Parameters:
    clr : Color
    position : Point2D
    radius : Longint
    Signatures by Language:
    C/C++: void draw_circle_at_point(color clr, const point2d *position, int32_t radius);
    C/C++: void draw_circle_at_point_byval(color clr, const point2d position, int32_t radius);
    C++: void draw_circle(color clr, const point2d &position, int32_t radius);
    Pascal: procedure DrawCircle(clr: Color; const position: Point2D; radius: Longint);
  • Draw Circle (clr, filled, const position, radius) [show]

    Draw a circle in the game (filled or outline).

    Parameters:
    clr : Color
    filled : Boolean
    position : Point2D
    radius : Longint
    Signatures by Language:
    C/C++: void draw_or_fill_circle_at_point(color clr, bool filled, const point2d *position, int32_t radius);
    C/C++: void draw_or_fill_circle_at_point_byval(color clr, bool filled, const point2d position, int32_t radius);
    C++: void draw_circle(color clr, bool filled, const point2d &position, int32_t radius);
    Pascal: procedure DrawCircle(clr: Color; filled: Boolean; const position: Point2D; radius: Longint);
  • Draw Circle (clr, const c) [show]

    Draw a circle in the game.

    Parameters:
    clr : Color
    c : Circle
    Signatures by Language:
    C/C++: void draw_circle_struct(color clr, const circle *c);
    C/C++: void draw_circle_struct_byval(color clr, const circle c);
    C++: void draw_circle(color clr, const circle &c);
    Pascal: procedure DrawCircle(clr: Color; const c: Circle);
  • Draw Circle (dest, clr, const c) [show]

    Draw a circle onto a bitmap.

    Parameters:
    dest : Bitmap
    clr : Color
    c : Circle
    Signatures by Language:
    C/C++: void draw_circle_struct_onto(bitmap dest, color clr, const circle *c);
    C/C++: void draw_circle_struct_onto_byval(bitmap dest, color clr, const circle c);
    C++: void draw_circle(bitmap dest, color clr, const circle &c);
    Pascal: procedure DrawCircle(dest: Bitmap; clr: Color; const c: Circle);
  • Draw Circle (clr, filled, const c) [show]

    Draw a circle in the game (filled or outline).

    Parameters:
    clr : Color
    filled : Boolean
    c : Circle
    Signatures by Language:
    C/C++: void draw_or_fill_circle_struct(color clr, bool filled, const circle *c);
    C/C++: void draw_or_fill_circle_struct_byval(color clr, bool filled, const circle c);
    C++: void draw_circle(color clr, bool filled, const circle &c);
    Pascal: procedure DrawCircle(clr: Color; filled: Boolean; const c: Circle);
  • Draw Circle (dest, clr, filled, const c) [show]

    Draw a circle onto a bitmap (filled or outline).

    Parameters:
    dest : Bitmap
    clr : Color
    filled : Boolean
    c : Circle
    Signatures by Language:
    C/C++: void draw_or_fill_circle_struct_onto(bitmap dest, color clr, bool filled, const circle *c);
    C/C++: void draw_or_fill_circle_struct_onto_byval(bitmap dest, color clr, bool filled, const circle c);
    C++: void draw_circle(bitmap dest, color clr, bool filled, const circle &c);
    Pascal: procedure DrawCircle(dest: Bitmap; clr: Color; filled: Boolean; const c: Circle);
  • Draw Circle (dest, clr, const point, radius) [show]

    Draw a circle onto a bitmap.

    Parameters:
    dest : Bitmap
    clr : Color
    point : Point2D
    radius : Longint
    Signatures by Language:
    C/C++: void draw_circle_at_point_onto(bitmap dest, color clr, const point2d *point, int32_t radius);
    C/C++: void draw_circle_at_point_onto_byval(bitmap dest, color clr, const point2d point, int32_t radius);
    C++: void draw_circle(bitmap dest, color clr, const point2d &point, int32_t radius);
    Pascal: procedure DrawCircle(dest: Bitmap; clr: Color; const point: Point2D; radius: Longint);
  • Draw Circle (dest, clr, xc, yc, radius) [show]

    Draw a circle onto a destination.

    Parameters:
    dest : Bitmap
    clr : Color
    xc : Single
    yc : Single
    radius : Longint
    Signatures by Language:
    C/C++: void draw_circle_onto(bitmap dest, color clr, float xc, float yc, int32_t radius);
    C++: void draw_circle(bitmap dest, color clr, float xc, float yc, int32_t radius);
    Pascal: procedure DrawCircle(dest: Bitmap; clr: Color; xc: Single; yc: Single; radius: Longint);
  • Draw Circle (dest, clr, filled, const point, radius) [show]

    Draw a circle onto a destination (filled or outline).

    Parameters:
    dest : Bitmap
    clr : Color
    filled : Boolean
    point : Point2D
    radius : Longint
    Signatures by Language:
    C/C++: void draw_or_fill_circle_at_point_onto(bitmap dest, color clr, bool filled, const point2d *point, int32_t radius);
    C/C++: void draw_or_fill_circle_at_point_onto_byval(bitmap dest, color clr, bool filled, const point2d point, int32_t radius);
    C++: void draw_circle(bitmap dest, color clr, bool filled, const point2d &point, int32_t radius);
    Pascal: procedure DrawCircle(dest: Bitmap; clr: Color; filled: Boolean; const point: Point2D; radius: Longint);
  • Draw Circle (clr, filled, xc, yc, radius) [show]

    Draw a circle in the game (filled or outline).

    Parameters:
    clr : Color
    filled : Boolean
    xc : Single
    yc : Single
    radius : Longint
    Signatures by Language:
    C/C++: void draw_or_fill_circle(color clr, bool filled, float xc, float yc, int32_t radius);
    C++: void draw_circle(color clr, bool filled, float xc, float yc, int32_t radius);
    Pascal: procedure DrawCircle(clr: Color; filled: Boolean; xc: Single; yc: Single; radius: Longint);
  • Draw Circle (dest, clr, filled, xc, yc, radius) [show]

    Draw a circle onto a destination (filled or outline).

    Parameters:
    dest : Bitmap
    clr : Color
    filled : Boolean
    xc : Single
    yc : Single
    radius : Longint
    Signatures by Language:
    C/C++: void draw_or_fill_circle_onto(bitmap dest, color clr, bool filled, float xc, float yc, int32_t radius);
    C++: void draw_circle(bitmap dest, color clr, bool filled, float xc, float yc, int32_t radius);
    Pascal: procedure DrawCircle(dest: Bitmap; clr: Color; filled: Boolean; xc: Single; yc: Single; radius: Longint);

Draw Circle On Screen

Draw the circel onto the screen.

  • Draw Circle On Screen (clr, const c) [show]

    Draw the circel onto the screen.

    Parameters:
    clr : Color
    c : Circle
    Signatures by Language:
    C/C++: void draw_circle_struct_on_screen(color clr, const circle *c);
    C/C++: void draw_circle_struct_on_screen_byval(color clr, const circle c);
    C++: void draw_circle_on_screen(color clr, const circle &c);
    Pascal: procedure DrawCircleOnScreen(clr: Color; const c: Circle);
  • Draw Circle On Screen (clr, filled, const c) [show]

    Draw a circle on the screen (filled or outline)

    Parameters:
    clr : Color
    filled : Boolean
    c : Circle
    Signatures by Language:
    C/C++: void draw_or_fill_circle_struct_on_screen(color clr, bool filled, const circle *c);
    C/C++: void draw_or_fill_circle_struct_on_screen_byval(color clr, bool filled, const circle c);
    C++: void draw_circle_on_screen(color clr, bool filled, const circle &c);
    Pascal: procedure DrawCircleOnScreen(clr: Color; filled: Boolean; const c: Circle);
  • Draw Circle On Screen (clr, const position, radius) [show]

    Draw a circle onto the screen.

    Parameters:
    clr : Color
    position : Point2D
    radius : Longint
    Signatures by Language:
    C/C++: void draw_circle_at_point_on_screen(color clr, const point2d *position, int32_t radius);
    C/C++: void draw_circle_at_point_on_screen_byval(color clr, const point2d position, int32_t radius);
    C++: void draw_circle_on_screen(color clr, const point2d &position, int32_t radius);
    Pascal: procedure DrawCircleOnScreen(clr: Color; const position: Point2D; radius: Longint);
  • Draw Circle On Screen (clr, xc, yc, radius) [show]

    Draw a circle on the screen.

    Parameters:
    clr : Color
    xc : Single
    yc : Single
    radius : Longint
    Signatures by Language:
    C/C++: void draw_circle_on_screen(color clr, float xc, float yc, int32_t radius);
    Pascal: procedure DrawCircleOnScreen(clr: Color; xc: Single; yc: Single; radius: Longint);
  • Draw Circle On Screen (clr, filled, const position, radius) [show]

    Draw a circle onto the screen (filled or outline).

    Draw a circle onto the screen

    Parameters:
    clr : Color
    filled : Boolean
    position : Point2D
    radius : Longint
    Signatures by Language:
    C/C++: void draw_or_fill_circle_at_point_on_screen(color clr, bool filled, const point2d *position, int32_t radius);
    C/C++: void draw_or_fill_circle_at_point_on_screen_byval(color clr, bool filled, const point2d position, int32_t radius);
    C++: void draw_circle_on_screen(color clr, bool filled, const point2d &position, int32_t radius);
    Pascal: procedure DrawCircleOnScreen(clr: Color; filled: Boolean; const position: Point2D; radius: Longint);
    • source code
    • lib name: DrawOrFillCircleAtPointOnScreen
  • Draw Circle On Screen (clr, filled, xc, yc, radius) [show]

    Draw a circle on the screen (filled or outline).

    Parameters:
    clr : Color
    filled : Boolean
    xc : Single
    yc : Single
    radius : Longint
    Signatures by Language:
    C/C++: void draw_or_fill_circle_on_screen(color clr, bool filled, float xc, float yc, int32_t radius);
    C++: void draw_circle_on_screen(color clr, bool filled, float xc, float yc, int32_t radius);
    Pascal: procedure DrawCircleOnScreen(clr: Color; filled: Boolean; xc: Single; yc: Single; radius: Longint);

Draw Ellipse

Draw an ellipse in the game.

  • Draw Ellipse (clr, const source) [show]

    Draw an ellipse in the game.

    Parameters:
    clr : Color
    source : Rectangle
    Signatures by Language:
    C/C++: void draw_ellipse_in_rect(color clr, const rectangle *source);
    C/C++: void draw_ellipse_in_rect_byval(color clr, const rectangle source);
    C++: void draw_ellipse(color clr, const rectangle &source);
    Pascal: procedure DrawEllipse(clr: Color; const source: Rectangle);
  • Draw Ellipse (clr, filled, const source) [show]

    Draw an ellipse in the game (filled or outline).

    Parameters:
    clr : Color
    filled : Boolean
    source : Rectangle
    Signatures by Language:
    C/C++: void draw_or_fill_ellipse_in_rect(color clr, bool filled, const rectangle *source);
    C/C++: void draw_or_fill_ellipse_in_rect_byval(color clr, bool filled, const rectangle source);
    C++: void draw_ellipse(color clr, bool filled, const rectangle &source);
    Pascal: procedure DrawEllipse(clr: Color; filled: Boolean; const source: Rectangle);
  • Draw Ellipse (dest, clr, const source) [show]

    Draw the ellipse onto the destination.

    Parameters:
    dest : Bitmap
    clr : Color
    source : Rectangle
    Signatures by Language:
    C/C++: void draw_ellipse_in_rect_onto(bitmap dest, color clr, const rectangle *source);
    C/C++: void draw_ellipse_in_rect_onto_byval(bitmap dest, color clr, const rectangle source);
    C++: void draw_ellipse(bitmap dest, color clr, const rectangle &source);
    Pascal: procedure DrawEllipse(dest: Bitmap; clr: Color; const source: Rectangle);
  • Draw Ellipse (dest, clr, filled, const source) [show]

    Draw the ellipse onto the destination (filled or outline).

    Parameters:
    dest : Bitmap
    clr : Color
    filled : Boolean
    source : Rectangle
    Signatures by Language:
    C/C++: void draw_or_fill_ellipse_in_rect_onto(bitmap dest, color clr, bool filled, const rectangle *source);
    C/C++: void draw_or_fill_ellipse_in_rect_onto_byval(bitmap dest, color clr, bool filled, const rectangle source);
    C++: void draw_ellipse(bitmap dest, color clr, bool filled, const rectangle &source);
    Pascal: procedure DrawEllipse(dest: Bitmap; clr: Color; filled: Boolean; const source: Rectangle);
  • Draw Ellipse (clr, xPos, yPos, width, height) [show]

    Draw an ellipse on the screen.

    Parameters:
    clr : Color
    xPos : Single
    yPos : Single
    width : Longint
    height : Longint
    Signatures by Language:
    C/C++: void draw_ellipse(color clr, float xPos, float yPos, int32_t width, int32_t height);
    Pascal: procedure DrawEllipse(clr: Color; xPos: Single; yPos: Single; width: Longint; height: Longint);
  • Draw Ellipse (dest, clr, xPos, yPos, width, height) [show]

    Drawthe ellipse onto the destination.

    Parameters:
    dest : Bitmap
    clr : Color
    xPos : Longint
    yPos : Longint
    width : Longint
    height : Longint
    Signatures by Language:
    C/C++: void draw_ellipse_onto(bitmap dest, color clr, int32_t xPos, int32_t yPos, int32_t width, int32_t height);
    C++: void draw_ellipse(bitmap dest, color clr, int32_t xPos, int32_t yPos, int32_t width, int32_t height);
    Pascal: procedure DrawEllipse(dest: Bitmap; clr: Color; xPos: Longint; yPos: Longint; width: Longint; height: Longint);
  • Draw Ellipse (clr, filled, xPos, yPos, width, height) [show]

    Draw an ellipse in the game (filled or outline).

    Parameters:
    clr : Color
    filled : Boolean
    xPos : Single
    yPos : Single
    width : Longint
    height : Longint
    Signatures by Language:
    C/C++: void draw_or_fill_ellipse(color clr, bool filled, float xPos, float yPos, int32_t width, int32_t height);
    C++: void draw_ellipse(color clr, bool filled, float xPos, float yPos, int32_t width, int32_t height);
    Pascal: procedure DrawEllipse(clr: Color; filled: Boolean; xPos: Single; yPos: Single; width: Longint; height: Longint);
  • Draw Ellipse (dest, clr, filled, xPos, yPos, width, height) [show]

    Draw the ellipse onto the destination.

    Parameters:
    dest : Bitmap
    clr : Color
    filled : Boolean
    xPos : Longint
    yPos : Longint
    width : Longint
    height : Longint
    Signatures by Language:
    C/C++: void draw_or_fill_ellipse_onto(bitmap dest, color clr, bool filled, int32_t xPos, int32_t yPos, int32_t width, int32_t height);
    C++: void draw_ellipse(bitmap dest, color clr, bool filled, int32_t xPos, int32_t yPos, int32_t width, int32_t height);
    Pascal: procedure DrawEllipse(dest: Bitmap; clr: Color; filled: Boolean; xPos: Longint; yPos: Longint; width: Longint; height: Longint);

Draw Ellipse On Screen

Draw an ellipse on the screen.

  • Draw Ellipse On Screen (clr, const source) [show]

    Draw an ellipse on the screen.

    Parameters:
    clr : Color
    source : Rectangle
    Signatures by Language:
    C/C++: void draw_ellipse_in_rect_on_screen(color clr, const rectangle *source);
    C/C++: void draw_ellipse_in_rect_on_screen_byval(color clr, const rectangle source);
    C++: void draw_ellipse_on_screen(color clr, const rectangle &source);
    Pascal: procedure DrawEllipseOnScreen(clr: Color; const source: Rectangle);
  • Draw Ellipse On Screen (clr, filled, const source) [show]

    Draw an ellpse on the screen (filled or outline).

    Parameters:
    clr : Color
    filled : Boolean
    source : Rectangle
    Signatures by Language:
    C/C++: void draw_or_fill_ellipse_in_rect_on_screen(color clr, bool filled, const rectangle *source);
    C/C++: void draw_or_fill_ellipse_in_rect_on_screen_byval(color clr, bool filled, const rectangle source);
    C++: void draw_ellipse_on_screen(color clr, bool filled, const rectangle &source);
    Pascal: procedure DrawEllipseOnScreen(clr: Color; filled: Boolean; const source: Rectangle);
    • source code
    • lib name: DrawOrFillEllipseInRectOnScreen
  • Draw Ellipse On Screen (clr, xPos, yPos, width, height) [show]

    Draw an ellipse on screen.

    Parameters:
    clr : Color
    xPos : Longint
    yPos : Longint
    width : Longint
    height : Longint
    Signatures by Language:
    C/C++: void draw_ellipse_on_screen(color clr, int32_t xPos, int32_t yPos, int32_t width, int32_t height);
    Pascal: procedure DrawEllipseOnScreen(clr: Color; xPos: Longint; yPos: Longint; width: Longint; height: Longint);
  • Draw Ellipse On Screen (clr, filled, xPos, yPos, width, height) [show]

    Draw an ellipse on the screen (filled or outline).

    Parameters:
    clr : Color
    filled : Boolean
    xPos : Longint
    yPos : Longint
    width : Longint
    height : Longint
    Signatures by Language:
    C/C++: void draw_or_fill_ellipse_on_screen(color clr, bool filled, int32_t xPos, int32_t yPos, int32_t width, int32_t height);
    C++: void draw_ellipse_on_screen(color clr, bool filled, int32_t xPos, int32_t yPos, int32_t width, int32_t height);
    Pascal: procedure DrawEllipseOnScreen(clr: Color; filled: Boolean; xPos: Longint; yPos: Longint; width: Longint; height: Longint);

Draw Horizontal Line

Draw a horizontal line.

  • Draw Horizontal Line (clr, y, x1, x2) [show]

    Draw a horizontal line.

    Parameters:
    clr : Color
    y : Single
    x1 : Single
    x2 : Single
    Signatures by Language:
    C/C++: void draw_horizontal_line(color clr, float y, float x1, float x2);
    Pascal: procedure DrawHorizontalLine(clr: Color; y: Single; x1: Single; x2: Single);
  • Draw Horizontal Line (dest, clr, y, x1, x2) [show]

    Draw a horizontal line onto a destination.

    Parameters:
    dest : Bitmap
    clr : Color
    y : Longint
    x1 : Longint
    x2 : Longint
    Signatures by Language:
    C/C++: void draw_horizontal_line_onto(bitmap dest, color clr, int32_t y, int32_t x1, int32_t x2);
    C++: void draw_horizontal_line(bitmap dest, color clr, int32_t y, int32_t x1, int32_t x2);
    Pascal: procedure DrawHorizontalLine(dest: Bitmap; clr: Color; y: Longint; x1: Longint; x2: Longint);

Draw Horizontal Line On Screen

Draw a horizontal line on the screen between x1, x2

  • Draw Horizontal Line On Screen (clr, y, x1, x2) [show]

    Draw a horizontal line on the screen between x1, x2

    Parameters:
    clr : Color
    y : Longint
    x1 : Longint
    x2 : Longint
    Signatures by Language:
    C/C++: void draw_horizontal_line_on_screen(color clr, int32_t y, int32_t x1, int32_t x2);
    Pascal: procedure DrawHorizontalLineOnScreen(clr: Color; y: Longint; x1: Longint; x2: Longint);

Draw Line

Draw a line in the game.

  • Draw Line (clr, const line) [show]

    Draw a line in the game.

    Parameters:
    clr : Color
    line : LineSegment
    Signatures by Language:
    C/C++: void draw_line_segment(color clr, const line_segment *line);
    C/C++: void draw_line_segment_byval(color clr, const line_segment line);
    C++: void draw_line(color clr, const line_segment &line);
    Pascal: procedure DrawLine(clr: Color; const line: LineSegment);
  • Draw Line (clr, const startPt, const endPt) [show]

    Draw a line in the game.

    Parameters:
    clr : Color
    startPt : Point2D
    endPt : Point2D
    Signatures by Language:
    C/C++: void draw_line_pts(color clr, const point2d *startPt, const point2d *endPt);
    C/C++: void draw_line_pts_byval(color clr, const point2d startPt, const point2d endPt);
    C++: void draw_line(color clr, const point2d &startPt, const point2d &endPt);
    Pascal: procedure DrawLine(clr: Color; const startPt: Point2D; const endPt: Point2D);
  • Draw Line (dest, clr, const line) [show]

    Draw a line onto a destination bitmap.

    Parameters:
    dest : Bitmap
    clr : Color
    line : LineSegment
    Signatures by Language:
    C/C++: void draw_line_segment_onto(bitmap dest, color clr, const line_segment *line);
    C/C++: void draw_line_segment_onto_byval(bitmap dest, color clr, const line_segment line);
    C++: void draw_line(bitmap dest, color clr, const line_segment &line);
    Pascal: procedure DrawLine(dest: Bitmap; clr: Color; const line: LineSegment);
  • Draw Line (dest, clr, const startPt, const endPt) [show]

    Draw a line onto a destination.

    Parameters:
    dest : Bitmap
    clr : Color
    startPt : Point2D
    endPt : Point2D
    Signatures by Language:
    C/C++: void draw_line_pts_onto(bitmap dest, color clr, const point2d *startPt, const point2d *endPt);
    C/C++: void draw_line_pts_onto_byval(bitmap dest, color clr, const point2d startPt, const point2d endPt);
    C++: void draw_line(bitmap dest, color clr, const point2d &startPt, const point2d &endPt);
    Pascal: procedure DrawLine(dest: Bitmap; clr: Color; const startPt: Point2D; const endPt: Point2D);
  • Draw Line (clr, xPosStart, yPosStart, xPosEnd, yPosEnd) [show]

    Draw a line in the game.

    Parameters:
    clr : Color
    xPosStart : Single
    yPosStart : Single
    xPosEnd : Single
    yPosEnd : Single
    Signatures by Language:
    C/C++: void draw_line(color clr, float xPosStart, float yPosStart, float xPosEnd, float yPosEnd);
    Pascal: procedure DrawLine(clr: Color; xPosStart: Single; yPosStart: Single; xPosEnd: Single; yPosEnd: Single);
  • Draw Line (dest, clr, xPosStart, yPosStart, xPosEnd, yPosEnd) [show]

    Draw a line onto a destination bitmap.

    Parameters:
    dest : Bitmap
    clr : Color
    xPosStart : Longint
    yPosStart : Longint
    xPosEnd : Longint
    yPosEnd : Longint
    Signatures by Language:
    C/C++: void draw_line_onto(bitmap dest, color clr, int32_t xPosStart, int32_t yPosStart, int32_t xPosEnd, int32_t yPosEnd);
    C++: void draw_line(bitmap dest, color clr, int32_t xPosStart, int32_t yPosStart, int32_t xPosEnd, int32_t yPosEnd);
    Pascal: procedure DrawLine(dest: Bitmap; clr: Color; xPosStart: Longint; yPosStart: Longint; xPosEnd: Longint; yPosEnd: Longint);

Draw Line On Screen

Draw a line on the screen.

  • Draw Line On Screen (clr, const line) [show]

    Draw a line on the screen.

    Parameters:
    clr : Color
    line : LineSegment
    Signatures by Language:
    C/C++: void draw_line_segment_on_screen(color clr, const line_segment *line);
    C/C++: void draw_line_segment_on_screen_byval(color clr, const line_segment line);
    C++: void draw_line_on_screen(color clr, const line_segment &line);
    Pascal: procedure DrawLineOnScreen(clr: Color; const line: LineSegment);
  • Draw Line On Screen (clr, const startPt, const endPt) [show]

    Draw a line on the screen.

    Parameters:
    clr : Color
    startPt : Point2D
    endPt : Point2D
    Signatures by Language:
    C/C++: void draw_line_pts_on_screen(color clr, const point2d *startPt, const point2d *endPt);
    C/C++: void draw_line_pts_on_screen_byval(color clr, const point2d startPt, const point2d endPt);
    C++: void draw_line_on_screen(color clr, const point2d &startPt, const point2d &endPt);
    Pascal: procedure DrawLineOnScreen(clr: Color; const startPt: Point2D; const endPt: Point2D);
  • Draw Line On Screen (clr, xPosStart, yPosStart, xPosEnd, yPosEnd) [show]

    Draw a line on the screen.

    Parameters:
    clr : Color
    xPosStart : Longint
    yPosStart : Longint
    xPosEnd : Longint
    yPosEnd : Longint
    Signatures by Language:
    C/C++: void draw_line_on_screen(color clr, int32_t xPosStart, int32_t yPosStart, int32_t xPosEnd, int32_t yPosEnd);
    Pascal: procedure DrawLineOnScreen(clr: Color; xPosStart: Longint; yPosStart: Longint; xPosEnd: Longint; yPosEnd: Longint);

Draw Lines

Draw a collection of lines.

  • Draw Lines (clr, const lines) [show]

    Draw a collection of lines.

    Parameters:
    clr : Color
    lines : LinesArray
    Signatures by Language:
    C/C++: void draw_line_segments(color clr, const lines_array lines, int32_t lines_len);
    C++: void draw_lines(color clr, const lines_array lines, int32_t lines_len);
    Pascal: procedure DrawLines(clr: Color; const lines: LinesArray);

Draw Pixel

Draw a pixel in the game.

  • Draw Pixel (clr, const position) [show]

    Draw a pixel in the game.

    Parameters:
    clr : Color
    position : Point2D
    Signatures by Language:
    C/C++: void draw_pixel_at_point(color clr, const point2d *position);
    C/C++: void draw_pixel_at_point_byval(color clr, const point2d position);
    C++: void draw_pixel(color clr, const point2d &position);
    Pascal: procedure DrawPixel(clr: Color; const position: Point2D);
  • Draw Pixel (clr, x, y) [show]

    Draw a pixel in the game.

    Parameters:
    clr : Color
    x : Single
    y : Single
    Signatures by Language:
    C/C++: void draw_pixel(color clr, float x, float y);
    Pascal: procedure DrawPixel(clr: Color; x: Single; y: Single);
  • Draw Pixel (dest, clr, const position) [show]

    Draw a pixel onto a destination.

    Parameters:
    dest : Bitmap
    clr : Color
    position : Point2D
    Signatures by Language:
    C/C++: void draw_pixel_at_point_onto(bitmap dest, color clr, const point2d *position);
    C/C++: void draw_pixel_at_point_onto_byval(bitmap dest, color clr, const point2d position);
    C++: void draw_pixel(bitmap dest, color clr, const point2d &position);
    Pascal: procedure DrawPixel(dest: Bitmap; clr: Color; const position: Point2D);
  • Draw Pixel (dest, clr, x, y) [show]

    Draw a pixel onto a destination.

    Parameters:
    dest : Bitmap
    clr : Color
    x : Longint
    y : Longint
    Signatures by Language:
    C/C++: void draw_pixel_onto(bitmap dest, color clr, int32_t x, int32_t y);
    C++: void draw_pixel(bitmap dest, color clr, int32_t x, int32_t y);
    Pascal: procedure DrawPixel(dest: Bitmap; clr: Color; x: Longint; y: Longint);

Draw Pixel On Screen

Draw a pixel on the screen.

  • Draw Pixel On Screen (clr, const position) [show]

    Draw a pixel on the screen.

    Parameters:
    clr : Color
    position : Point2D
    Signatures by Language:
    C/C++: void draw_pixel_at_point_on_screen(color clr, const point2d *position);
    C/C++: void draw_pixel_at_point_on_screen_byval(color clr, const point2d position);
    C++: void draw_pixel_on_screen(color clr, const point2d &position);
    Pascal: procedure DrawPixelOnScreen(clr: Color; const position: Point2D);
  • Draw Pixel On Screen (clr, x, y) [show]

    Draw a pixel on the screen.

    Parameters:
    clr : Color
    x : Longint
    y : Longint
    Signatures by Language:
    C/C++: void draw_pixel_on_screen(color clr, int32_t x, int32_t y);
    Pascal: procedure DrawPixelOnScreen(clr: Color; x: Longint; y: Longint);

Draw Rectangle

Draw a rectangle in the game.

  • Draw Rectangle (clr, xPos, yPos, width, height) [show]

    Draw a rectangle in the game.

    Parameters:
    clr : Color
    xPos : Single
    yPos : Single
    width : Longint
    height : Longint
    Signatures by Language:
    C/C++: void draw_rectangle(color clr, float xPos, float yPos, int32_t width, int32_t height);
    Pascal: procedure DrawRectangle(clr: Color; xPos: Single; yPos: Single; width: Longint; height: Longint);
  • Draw Rectangle (clr, const source) [show]

    Draw rectangle in the game.

    Parameters:
    clr : Color
    source : Rectangle
    Signatures by Language:
    C/C++: void draw_rectangle_struct(color clr, const rectangle *source);
    C/C++: void draw_rectangle_struct_byval(color clr, const rectangle source);
    C++: void draw_rectangle(color clr, const rectangle &source);
    Pascal: procedure DrawRectangle(clr: Color; const source: Rectangle);
  • Draw Rectangle (clr, filled, const source) [show]

    Draw a rectangle in the game (filled or outline).

    Parameters:
    clr : Color
    filled : Boolean
    source : Rectangle
    Signatures by Language:
    C/C++: void draw_or_fill_rectangle_struct(color clr, bool filled, const rectangle *source);
    C/C++: void draw_or_fill_rectangle_struct_byval(color clr, bool filled, const rectangle source);
    C++: void draw_rectangle(color clr, bool filled, const rectangle &source);
    Pascal: procedure DrawRectangle(clr: Color; filled: Boolean; const source: Rectangle);
  • Draw Rectangle (dest, clr, const source) [show]

    Draw a rectangle onto a destination.

    Parameters:
    dest : Bitmap
    clr : Color
    source : Rectangle
    Signatures by Language:
    C/C++: void draw_rectangle_struct_onto(bitmap dest, color clr, const rectangle *source);
    C/C++: void draw_rectangle_struct_onto_byval(bitmap dest, color clr, const rectangle source);
    C++: void draw_rectangle(bitmap dest, color clr, const rectangle &source);
    Pascal: procedure DrawRectangle(dest: Bitmap; clr: Color; const source: Rectangle);
  • Draw Rectangle (dest, clr, filled, const source) [show]

    Draw a rectangle onto a destination (filled or outline).

    Parameters:
    dest : Bitmap
    clr : Color
    filled : Boolean
    source : Rectangle
    Signatures by Language:
    C/C++: void draw_or_fill_rectangle_struct_onto(bitmap dest, color clr, bool filled, const rectangle *source);
    C/C++: void draw_or_fill_rectangle_struct_onto_byval(bitmap dest, color clr, bool filled, const rectangle source);
    C++: void draw_rectangle(bitmap dest, color clr, bool filled, const rectangle &source);
    Pascal: procedure DrawRectangle(dest: Bitmap; clr: Color; filled: Boolean; const source: Rectangle);
  • Draw Rectangle (clr, filled, xPos, yPos, width, height) [show]

    Draw a rectangle in the game (filled or outline).

    Parameters:
    clr : Color
    filled : Boolean
    xPos : Single
    yPos : Single
    width : Longint
    height : Longint
    Signatures by Language:
    C/C++: void draw_or_fill_rectangle(color clr, bool filled, float xPos, float yPos, int32_t width, int32_t height);
    C++: void draw_rectangle(color clr, bool filled, float xPos, float yPos, int32_t width, int32_t height);
    Pascal: procedure DrawRectangle(clr: Color; filled: Boolean; xPos: Single; yPos: Single; width: Longint; height: Longint);
  • Draw Rectangle (dest, clr, xPos, yPos, width, height) [show]

    Draw a rectangle onto a destination.

    Parameters:
    dest : Bitmap
    clr : Color
    xPos : Longint
    yPos : Longint
    width : Longint
    height : Longint
    Signatures by Language:
    C/C++: void draw_rectangle_onto(bitmap dest, color clr, int32_t xPos, int32_t yPos, int32_t width, int32_t height);
    C++: void draw_rectangle(bitmap dest, color clr, int32_t xPos, int32_t yPos, int32_t width, int32_t height);
    Pascal: procedure DrawRectangle(dest: Bitmap; clr: Color; xPos: Longint; yPos: Longint; width: Longint; height: Longint);
  • Draw Rectangle (dest, clr, filled, xPos, yPos, width, height) [show]

    Draw a rectangle onto a destination bitmap.

    Parameters:
    dest : Bitmap
    clr : Color
    filled : Boolean
    xPos : Longint
    yPos : Longint
    width : Longint
    height : Longint
    Signatures by Language:
    C/C++: void draw_or_fill_rectangle_onto(bitmap dest, color clr, bool filled, int32_t xPos, int32_t yPos, int32_t width, int32_t height);
    C++: void draw_rectangle(bitmap dest, color clr, bool filled, int32_t xPos, int32_t yPos, int32_t width, int32_t height);
    Pascal: procedure DrawRectangle(dest: Bitmap; clr: Color; filled: Boolean; xPos: Longint; yPos: Longint; width: Longint; height: Longint);

Draw Rectangle On Screen

Draw a rectangle on the screen.

  • Draw Rectangle On Screen (clr, const source) [show]

    Draw a rectangle on the screen.

    Parameters:
    clr : Color
    source : Rectangle
    Signatures by Language:
    C/C++: void draw_rectangle_struct_on_screen(color clr, const rectangle *source);
    C/C++: void draw_rectangle_struct_on_screen_byval(color clr, const rectangle source);
    C++: void draw_rectangle_on_screen(color clr, const rectangle &source);
    Pascal: procedure DrawRectangleOnScreen(clr: Color; const source: Rectangle);
  • Draw Rectangle On Screen (clr, filled, const source) [show]

    Draw a rectangle on the screen (fill or outline).

    Parameters:
    clr : Color
    filled : Boolean
    source : Rectangle
    Signatures by Language:
    C/C++: void draw_or_fill_rectangle_struct_on_screen(color clr, bool filled, const rectangle *source);
    C/C++: void draw_or_fill_rectangle_struct_on_screen_byval(color clr, bool filled, const rectangle source);
    C++: void draw_rectangle_on_screen(color clr, bool filled, const rectangle &source);
    Pascal: procedure DrawRectangleOnScreen(clr: Color; filled: Boolean; const source: Rectangle);
    • source code
    • lib name: DrawOrFillRectangleStructOnScreen
  • Draw Rectangle On Screen (clr, xPos, yPos, width, height) [show]

    Draw a rectangle on the screen.

    Parameters:
    clr : Color
    xPos : Longint
    yPos : Longint
    width : Longint
    height : Longint
    Signatures by Language:
    C/C++: void draw_rectangle_on_screen(color clr, int32_t xPos, int32_t yPos, int32_t width, int32_t height);
    Pascal: procedure DrawRectangleOnScreen(clr: Color; xPos: Longint; yPos: Longint; width: Longint; height: Longint);
  • Draw Rectangle On Screen (clr, filled, xPos, yPos, width, height) [show]

    Draw a rectangle on the screen (filled or outline).

    Parameters:
    clr : Color
    filled : Boolean
    xPos : Longint
    yPos : Longint
    width : Longint
    height : Longint
    Signatures by Language:
    C/C++: void draw_or_fill_rectangle_on_screen(color clr, bool filled, int32_t xPos, int32_t yPos, int32_t width, int32_t height);
    C++: void draw_rectangle_on_screen(color clr, bool filled, int32_t xPos, int32_t yPos, int32_t width, int32_t height);
    Pascal: procedure DrawRectangleOnScreen(clr: Color; filled: Boolean; xPos: Longint; yPos: Longint; width: Longint; height: Longint);

Draw Thick Line

Draw a thick line in the game.

  • Draw Thick Line (clr, xPosStart, yPosStart, xPosEnd, yPosEnd, width) [show]

    Draw a thick line in the game.

    Parameters:
    clr : Color
    xPosStart : Single
    yPosStart : Single
    xPosEnd : Single
    yPosEnd : Single
    width : Single
    Signatures by Language:
    C/C++: void draw_thick_line(color clr, float xPosStart, float yPosStart, float xPosEnd, float yPosEnd, float width);
    Pascal: procedure DrawThickLine(clr: Color; xPosStart: Single; yPosStart: Single; xPosEnd: Single; yPosEnd: Single; width: Single);

Draw Triangle

Draw a triangle in the game.

  • Draw Triangle (clr, x1, y1, x2, y2, x3, y3) [show]

    Draw a triangle in the game.

    Parameters:
    clr : Color
    x1 : Single
    y1 : Single
    x2 : Single
    y2 : Single
    x3 : Single
    y3 : Single
    Signatures by Language:
    C/C++: void draw_triangle(color clr, float x1, float y1, float x2, float y2, float x3, float y3);
    Pascal: procedure DrawTriangle(clr: Color; x1: Single; y1: Single; x2: Single; y2: Single; x3: Single; y3: Single);
  • Draw Triangle (clr, const tri) [show]

    Draw a triangle in the game.

    Parameters:
    clr : Color
    tri : Triangle
    Signatures by Language:
    C/C++: void draw_triangle_struct(color clr, const triangle *tri);
    C/C++: void draw_triangle_struct_byval(color clr, const triangle tri);
    C++: void draw_triangle(color clr, const triangle &tri);
    Pascal: procedure DrawTriangle(clr: Color; const tri: Triangle);
  • Draw Triangle (clr, filled, const tri) [show]

    Draw a triangle in the game.

    Parameters:
    clr : Color
    filled : Boolean
    tri : Triangle
    Signatures by Language:
    C/C++: void draw_or_fill_triangle_struct(color clr, bool filled, const triangle *tri);
    C/C++: void draw_or_fill_triangle_struct_byval(color clr, bool filled, const triangle tri);
    C++: void draw_triangle(color clr, bool filled, const triangle &tri);
    Pascal: procedure DrawTriangle(clr: Color; filled: Boolean; const tri: Triangle);
  • Draw Triangle (dest, clr, const tri) [show]

    Draw the triangle onto the destination.

    Parameters:
    dest : Bitmap
    clr : Color
    tri : Triangle
    Signatures by Language:
    C/C++: void draw_triangle_struct_onto(bitmap dest, color clr, const triangle *tri);
    C/C++: void draw_triangle_struct_onto_byval(bitmap dest, color clr, const triangle tri);
    C++: void draw_triangle(bitmap dest, color clr, const triangle &tri);
    Pascal: procedure DrawTriangle(dest: Bitmap; clr: Color; const tri: Triangle);
  • Draw Triangle (dest, clr, filled, const tri) [show]

    Draw the triangle onto the destination (filled or outline).

    Parameters:
    dest : Bitmap
    clr : Color
    filled : Boolean
    tri : Triangle
    Signatures by Language:
    C/C++: void draw_or_fill_triangle_struct_onto(bitmap dest, color clr, bool filled, const triangle *tri);
    C/C++: void draw_or_fill_triangle_struct_onto_byval(bitmap dest, color clr, bool filled, const triangle tri);
    C++: void draw_triangle(bitmap dest, color clr, bool filled, const triangle &tri);
    Pascal: procedure DrawTriangle(dest: Bitmap; clr: Color; filled: Boolean; const tri: Triangle);
  • Draw Triangle (dest, clr, x1, y1, x2, y2, x3, y3) [show]

    Draw the triangle onto the destination.

    Parameters:
    dest : Bitmap
    clr : Color
    x1 : Single
    y1 : Single
    x2 : Single
    y2 : Single
    x3 : Single
    y3 : Single
    Signatures by Language:
    C/C++: void draw_triangle_onto(bitmap dest, color clr, float x1, float y1, float x2, float y2, float x3, float y3);
    C++: void draw_triangle(bitmap dest, color clr, float x1, float y1, float x2, float y2, float x3, float y3);
    Pascal: procedure DrawTriangle(dest: Bitmap; clr: Color; x1: Single; y1: Single; x2: Single; y2: Single; x3: Single; y3: Single);

Draw Triangle On Screen

Draw a triangle onto the screen.

  • Draw Triangle On Screen (clr, const tri) [show]

    Draw a triangle onto the screen.

    Parameters:
    clr : Color
    tri : Triangle
    Signatures by Language:
    C/C++: void draw_triangle_struct_on_screen(color clr, const triangle *tri);
    C/C++: void draw_triangle_struct_on_screen_byval(color clr, const triangle tri);
    C++: void draw_triangle_on_screen(color clr, const triangle &tri);
    Pascal: procedure DrawTriangleOnScreen(clr: Color; const tri: Triangle);
  • Draw Triangle On Screen (clr, filled, const tri) [show]

    Draw a triangle (filled or outline) onto the screen.

    Parameters:
    clr : Color
    filled : Boolean
    tri : Triangle
    Signatures by Language:
    C/C++: void draw_or_fill_triangle_struct_on_screen(color clr, bool filled, const triangle *tri);
    C/C++: void draw_or_fill_triangle_struct_on_screen_byval(color clr, bool filled, const triangle tri);
    C++: void draw_triangle_on_screen(color clr, bool filled, const triangle &tri);
    Pascal: procedure DrawTriangleOnScreen(clr: Color; filled: Boolean; const tri: Triangle);
    • source code
    • lib name: DrawOrFillTriangleStructOnScreen
  • Draw Triangle On Screen (clr, x1, y1, x2, y2, x3, y3) [show]

    Draws the outline of a triangle on the screen.

    Parameters:
    clr : Color
    x1 : Single
    y1 : Single
    x2 : Single
    y2 : Single
    x3 : Single
    y3 : Single
    Signatures by Language:
    C/C++: void draw_triangle_on_screen(color clr, float x1, float y1, float x2, float y2, float x3, float y3);
    Pascal: procedure DrawTriangleOnScreen(clr: Color; x1: Single; y1: Single; x2: Single; y2: Single; x3: Single; y3: Single);

Draw Vertical Line

Draw a vertical line in the game.

  • Draw Vertical Line (clr, x, y1, y2) [show]

    Draw a vertical line in the game.

    Parameters:
    clr : Color
    x : Single
    y1 : Single
    y2 : Single
    Signatures by Language:
    C/C++: void draw_vertical_line(color clr, float x, float y1, float y2);
    Pascal: procedure DrawVerticalLine(clr: Color; x: Single; y1: Single; y2: Single);
  • Draw Vertical Line (dest, clr, x, y1, y2) [show]

    Draw a vertical line onto a destination.

    Parameters:
    dest : Bitmap
    clr : Color
    x : Longint
    y1 : Longint
    y2 : Longint
    Signatures by Language:
    C/C++: void draw_vertical_line_onto(bitmap dest, color clr, int32_t x, int32_t y1, int32_t y2);
    C++: void draw_vertical_line(bitmap dest, color clr, int32_t x, int32_t y1, int32_t y2);
    Pascal: procedure DrawVerticalLine(dest: Bitmap; clr: Color; x: Longint; y1: Longint; y2: Longint);

Draw Vertical Line On Screen

Draw a vertical line on the screen between y1 and y2.

  • Draw Vertical Line On Screen (clr, x, y1, y2) [show]

    Draw a vertical line on the screen between y1 and y2.

    Parameters:
    clr : Color
    x : Longint
    y1 : Longint
    y2 : Longint
    Signatures by Language:
    C/C++: void draw_vertical_line_on_screen(color clr, int32_t x, int32_t y1, int32_t y2);
    Pascal: procedure DrawVerticalLineOnScreen(clr: Color; x: Longint; y1: Longint; y2: Longint);

Fill Circle

Fill a circle in the game.

  • Fill Circle (clr, xc, yc, radius) [show]

    Fill a circle in the game.

    Parameters:
    clr : Color
    xc : Single
    yc : Single
    radius : Longint
    Signatures by Language:
    C/C++: void fill_circle(color clr, float xc, float yc, int32_t radius);
    Pascal: procedure FillCircle(clr: Color; xc: Single; yc: Single; radius: Longint);
  • Fill Circle (clr, const position, radius) [show]

    Fill a circle in the game.

    Parameters:
    clr : Color
    position : Point2D
    radius : Longint
    Signatures by Language:
    C/C++: void fill_circle_at_point(color clr, const point2d *position, int32_t radius);
    C/C++: void fill_circle_at_point_byval(color clr, const point2d position, int32_t radius);
    C++: void fill_circle(color clr, const point2d &position, int32_t radius);
    Pascal: procedure FillCircle(clr: Color; const position: Point2D; radius: Longint);
  • Fill Circle (clr, const c) [show]

    Fill a circle in the game.

    Parameters:
    clr : Color
    c : Circle
    Signatures by Language:
    C/C++: void fill_circle_struct(color clr, const circle *c);
    C/C++: void fill_circle_struct_byval(color clr, const circle c);
    C++: void fill_circle(color clr, const circle &c);
    Pascal: procedure FillCircle(clr: Color; const c: Circle);
  • Fill Circle (dest, clr, const c) [show]

    Fill a circle onto a destination.

    Parameters:
    dest : Bitmap
    clr : Color
    c : Circle
    Signatures by Language:
    C/C++: void fill_circle_struct_onto(bitmap dest, color clr, const circle *c);
    C/C++: void fill_circle_struct_onto_byval(bitmap dest, color clr, const circle c);
    C++: void fill_circle(bitmap dest, color clr, const circle &c);
    Pascal: procedure FillCircle(dest: Bitmap; clr: Color; const c: Circle);
  • Fill Circle (dest, clr, const point, radius) [show]

    Fill a circle onto a destination bitmap.

    Parameters:
    dest : Bitmap
    clr : Color
    point : Point2D
    radius : Longint
    Signatures by Language:
    C/C++: void fill_circle_at_point_onto(bitmap dest, color clr, const point2d *point, int32_t radius);
    C/C++: void fill_circle_at_point_onto_byval(bitmap dest, color clr, const point2d point, int32_t radius);
    C++: void fill_circle(bitmap dest, color clr, const point2d &point, int32_t radius);
    Pascal: procedure FillCircle(dest: Bitmap; clr: Color; const point: Point2D; radius: Longint);
  • Fill Circle (dest, clr, xc, yc, radius) [show]

    Fill a circle onto a destination.

    Parameters:
    dest : Bitmap
    clr : Color
    xc : Single
    yc : Single
    radius : Longint
    Signatures by Language:
    C/C++: void fill_circle_onto(bitmap dest, color clr, float xc, float yc, int32_t radius);
    C++: void fill_circle(bitmap dest, color clr, float xc, float yc, int32_t radius);
    Pascal: procedure FillCircle(dest: Bitmap; clr: Color; xc: Single; yc: Single; radius: Longint);

Fill Circle On Screen

Fill the circle onto the screen.

  • Fill Circle On Screen (clr, const c) [show]

    Fill the circle onto the screen.

    Parameters:
    clr : Color
    c : Circle
    Signatures by Language:
    C/C++: void fill_circle_struct_on_screen(color clr, const circle *c);
    C/C++: void fill_circle_struct_on_screen_byval(color clr, const circle c);
    C++: void fill_circle_on_screen(color clr, const circle &c);
    Pascal: procedure FillCircleOnScreen(clr: Color; const c: Circle);
  • Fill Circle On Screen (clr, const position, radius) [show]

    Fills a circle onto the screen.

    Parameters:
    clr : Color
    position : Point2D
    radius : Longint
    Signatures by Language:
    C/C++: void fill_circle_at_point_on_screen(color clr, const point2d *position, int32_t radius);
    C/C++: void fill_circle_at_point_on_screen_byval(color clr, const point2d position, int32_t radius);
    C++: void fill_circle_on_screen(color clr, const point2d &position, int32_t radius);
    Pascal: procedure FillCircleOnScreen(clr: Color; const position: Point2D; radius: Longint);
  • Fill Circle On Screen (clr, xc, yc, radius) [show]

    Fill a circle on the screen.

    Parameters:
    clr : Color
    xc : Single
    yc : Single
    radius : Longint
    Signatures by Language:
    C/C++: void fill_circle_on_screen(color clr, float xc, float yc, int32_t radius);
    Pascal: procedure FillCircleOnScreen(clr: Color; xc: Single; yc: Single; radius: Longint);

Fill Ellipse

Fill a ellipse in the game.

  • Fill Ellipse (clr, const source) [show]

    Fill a ellipse in the game.

    Parameters:
    clr : Color
    source : Rectangle
    Signatures by Language:
    C/C++: void fill_ellipse_in_rect(color clr, const rectangle *source);
    C/C++: void fill_ellipse_in_rect_byval(color clr, const rectangle source);
    C++: void fill_ellipse(color clr, const rectangle &source);
    Pascal: procedure FillEllipse(clr: Color; const source: Rectangle);
  • Fill Ellipse (dest, clr, const source) [show]

    Fill the ellipse onto the destination.

    Parameters:
    dest : Bitmap
    clr : Color
    source : Rectangle
    Signatures by Language:
    C/C++: void fill_ellipse_in_rect_onto(bitmap dest, color clr, const rectangle *source);
    C/C++: void fill_ellipse_in_rect_onto_byval(bitmap dest, color clr, const rectangle source);
    C++: void fill_ellipse(bitmap dest, color clr, const rectangle &source);
    Pascal: procedure FillEllipse(dest: Bitmap; clr: Color; const source: Rectangle);
  • Fill Ellipse (clr, xPos, yPos, width, height) [show]

    Fill a ellipse in the game.

    Parameters:
    clr : Color
    xPos : Single
    yPos : Single
    width : Longint
    height : Longint
    Signatures by Language:
    C/C++: void fill_ellipse(color clr, float xPos, float yPos, int32_t width, int32_t height);
    Pascal: procedure FillEllipse(clr: Color; xPos: Single; yPos: Single; width: Longint; height: Longint);
  • Fill Ellipse (dest, clr, xPos, yPos, width, height) [show]

    Fill the ellipse onto the destination.

    Parameters:
    dest : Bitmap
    clr : Color
    xPos : Longint
    yPos : Longint
    width : Longint
    height : Longint
    Signatures by Language:
    C/C++: void fill_ellipse_onto(bitmap dest, color clr, int32_t xPos, int32_t yPos, int32_t width, int32_t height);
    C++: void fill_ellipse(bitmap dest, color clr, int32_t xPos, int32_t yPos, int32_t width, int32_t height);
    Pascal: procedure FillEllipse(dest: Bitmap; clr: Color; xPos: Longint; yPos: Longint; width: Longint; height: Longint);

Fill Ellipse On Screen

Fills the ellipse on screen.

  • Fill Ellipse On Screen (clr, const source) [show]

    Fills the ellipse on screen.

    Parameters:
    clr : Color
    source : Rectangle
    Signatures by Language:
    C/C++: void fill_ellipse_in_rect_on_screen(color clr, const rectangle *source);
    C/C++: void fill_ellipse_in_rect_on_screen_byval(color clr, const rectangle source);
    C++: void fill_ellipse_on_screen(color clr, const rectangle &source);
    Pascal: procedure FillEllipseOnScreen(clr: Color; const source: Rectangle);
  • Fill Ellipse On Screen (clr, xPos, yPos, width, height) [show]

    Fills an ellipse on the screen.

    Parameters:
    clr : Color
    xPos : Longint
    yPos : Longint
    width : Longint
    height : Longint
    Signatures by Language:
    C/C++: void fill_ellipse_on_screen(color clr, int32_t xPos, int32_t yPos, int32_t width, int32_t height);
    Pascal: procedure FillEllipseOnScreen(clr: Color; xPos: Longint; yPos: Longint; width: Longint; height: Longint);

Fill Rectangle

Fill rectangle.

  • Fill Rectangle (clr, xPos, yPos, width, height) [show]

    Fill rectangle.

    Parameters:
    clr : Color
    xPos : Single
    yPos : Single
    width : Longint
    height : Longint
    Signatures by Language:
    C/C++: void fill_rectangle(color clr, float xPos, float yPos, int32_t width, int32_t height);
    Pascal: procedure FillRectangle(clr: Color; xPos: Single; yPos: Single; width: Longint; height: Longint);
  • Fill Rectangle (clr, const source) [show]

    Fill a rectangle in the game.

    Parameters:
    clr : Color
    source : Rectangle
    Signatures by Language:
    C/C++: void fill_rectangle_struct(color clr, const rectangle *source);
    C/C++: void fill_rectangle_struct_byval(color clr, const rectangle source);
    C++: void fill_rectangle(color clr, const rectangle &source);
    Pascal: procedure FillRectangle(clr: Color; const source: Rectangle);
  • Fill Rectangle (dest, clr, const source) [show]

    Fill a rectangle onto a destination.

    Parameters:
    dest : Bitmap
    clr : Color
    source : Rectangle
    Signatures by Language:
    C/C++: void fill_rectangle_struct_onto(bitmap dest, color clr, const rectangle *source);
    C/C++: void fill_rectangle_struct_onto_byval(bitmap dest, color clr, const rectangle source);
    C++: void fill_rectangle(bitmap dest, color clr, const rectangle &source);
    Pascal: procedure FillRectangle(dest: Bitmap; clr: Color; const source: Rectangle);
  • Fill Rectangle (dest, clr, xPos, yPos, width, height) [show]

    Fill a rectangle onto a destination.

    Parameters:
    dest : Bitmap
    clr : Color
    xPos : Longint
    yPos : Longint
    width : Longint
    height : Longint
    Signatures by Language:
    C/C++: void fill_rectangle_onto(bitmap dest, color clr, int32_t xPos, int32_t yPos, int32_t width, int32_t height);
    C++: void fill_rectangle(bitmap dest, color clr, int32_t xPos, int32_t yPos, int32_t width, int32_t height);
    Pascal: procedure FillRectangle(dest: Bitmap; clr: Color; xPos: Longint; yPos: Longint; width: Longint; height: Longint);

Fill Rectangle On Screen

Fill a rectangle on the screen.

  • Fill Rectangle On Screen (clr, const source) [show]

    Fill a rectangle on the screen.

    Parameters:
    clr : Color
    source : Rectangle
    Signatures by Language:
    C/C++: void fill_rectangle_struct_on_screen(color clr, const rectangle *source);
    C/C++: void fill_rectangle_struct_on_screen_byval(color clr, const rectangle source);
    C++: void fill_rectangle_on_screen(color clr, const rectangle &source);
    Pascal: procedure FillRectangleOnScreen(clr: Color; const source: Rectangle);
  • Fill Rectangle On Screen (clr, xPos, yPos, width, height) [show]

    Fill a rectangle on the screen.

    Parameters:
    clr : Color
    xPos : Longint
    yPos : Longint
    width : Longint
    height : Longint
    Signatures by Language:
    C/C++: void fill_rectangle_on_screen(color clr, int32_t xPos, int32_t yPos, int32_t width, int32_t height);
    Pascal: procedure FillRectangleOnScreen(clr: Color; xPos: Longint; yPos: Longint; width: Longint; height: Longint);

Fill Triangle

Fill a triangle in the game.

  • Fill Triangle (clr, x1, y1, x2, y2, x3, y3) [show]

    Fill a triangle in the game.

    Parameters:
    clr : Color
    x1 : Single
    y1 : Single
    x2 : Single
    y2 : Single
    x3 : Single
    y3 : Single
    Signatures by Language:
    C/C++: void fill_triangle(color clr, float x1, float y1, float x2, float y2, float x3, float y3);
    Pascal: procedure FillTriangle(clr: Color; x1: Single; y1: Single; x2: Single; y2: Single; x3: Single; y3: Single);
  • Fill Triangle (clr, const tri) [show]

    Fill a triangle in the game.

    Parameters:
    clr : Color
    tri : Triangle
    Signatures by Language:
    C/C++: void fill_triangle_struct(color clr, const triangle *tri);
    C/C++: void fill_triangle_struct_byval(color clr, const triangle tri);
    C++: void fill_triangle(color clr, const triangle &tri);
    Pascal: procedure FillTriangle(clr: Color; const tri: Triangle);
  • Fill Triangle (dest, clr, const tri) [show]

    Fill the triangle onto the destination.

    Parameters:
    dest : Bitmap
    clr : Color
    tri : Triangle
    Signatures by Language:
    C/C++: void fill_triangle_struct_onto(bitmap dest, color clr, const triangle *tri);
    C/C++: void fill_triangle_struct_onto_byval(bitmap dest, color clr, const triangle tri);
    C++: void fill_triangle(bitmap dest, color clr, const triangle &tri);
    Pascal: procedure FillTriangle(dest: Bitmap; clr: Color; const tri: Triangle);
  • Fill Triangle (dest, clr, x1, y1, x2, y2, x3, y3) [show]

    Fill the triangle onto the destination.

    Parameters:
    dest : Bitmap
    clr : Color
    x1 : Single
    y1 : Single
    x2 : Single
    y2 : Single
    x3 : Single
    y3 : Single
    Signatures by Language:
    C/C++: void fill_triangle_onto(bitmap dest, color clr, float x1, float y1, float x2, float y2, float x3, float y3);
    C++: void fill_triangle(bitmap dest, color clr, float x1, float y1, float x2, float y2, float x3, float y3);
    Pascal: procedure FillTriangle(dest: Bitmap; clr: Color; x1: Single; y1: Single; x2: Single; y2: Single; x3: Single; y3: Single);

Fill Triangle On Screen

Fills a triangle on the screen.

  • Fill Triangle On Screen (clr, const tri) [show]

    Fills a triangle on the screen.

    Parameters:
    clr : Color
    tri : Triangle
    Signatures by Language:
    C/C++: void fill_triangle_struct_on_screen(color clr, const triangle *tri);
    C/C++: void fill_triangle_struct_on_screen_byval(color clr, const triangle tri);
    C++: void fill_triangle_on_screen(color clr, const triangle &tri);
    Pascal: procedure FillTriangleOnScreen(clr: Color; const tri: Triangle);
  • Fill Triangle On Screen (clr, x1, y1, x2, y2, x3, y3) [show]

    Fills a triangle on the screen.

    Parameters:
    clr : Color
    x1 : Single
    y1 : Single
    x2 : Single
    y2 : Single
    x3 : Single
    y3 : Single
    Signatures by Language:
    C/C++: void fill_triangle_on_screen(color clr, float x1, float y1, float x2, float y2, float x3, float y3);
    Pascal: procedure FillTriangleOnScreen(clr: Color; x1: Single; y1: Single; x2: Single; y2: Single; x3: Single; y3: Single);

Get Pixel

Returns the color of the pixel at the x,y location on the supplied bitmap.

  • Get Pixel (bmp, x, y) : Color [show]

    Returns the color of the pixel at the x,y location on the supplied bitmap.

    Parameters:
    bmp : Bitmap
    x : Longint
    y : Longint
    Returns:
    Color :
    Signatures by Language:
    C/C++: color get_pixel(bitmap bmp, int32_t x, int32_t y);
    Pascal: function GetPixel(bmp: Bitmap; x: Longint; y: Longint): Color;

Get Pixel From Screen

Returns the color of the pixel at the given x,y location.

  • Get Pixel From Screen (x, y) : Color [show]

    Returns the color of the pixel at the given x,y location.

    Parameters:
    x : Longint
    y : Longint
    Returns:
    Color :
    Signatures by Language:
    C/C++: color get_pixel_from_screen(int32_t x, int32_t y);
    Pascal: function GetPixelFromScreen(x: Longint; y: Longint): Color;

Green Of

Get the green value of color.

  • Green Of (c) : Byte [show]

    Get the green value of color.

    Parameters:
    c : Color
    Returns:
    Byte :
    Signatures by Language:
    C/C++: unsigned char green_of(color c);
    Pascal: function GreenOf(c: Color): Byte;

HSBColor

Returs a color from the HSB input.

  • HSBColor (hue, saturation, brightness) : Color [show]

    Returs a color from the HSB input.

    Parameters:
    hue : Single
    Values between 0 and 1
    saturation : Single
    Values between 0 and 1
    brightness : Single
    Values between 0 and 1
    Returns:
    Color : The matching color
    Signatures by Language:
    C/C++: color hsbcolor(float hue, float saturation, float brightness);
    Pascal: function HSBColor(hue: Single; saturation: Single; brightness: Single): Color;

HSBValues Of

Gets the hue h, saturation s, and brightness b values from the color.

  • HSBValues Of (c, out h, out s, out b) [show]

    Gets the hue h, saturation s, and brightness b values from the color.

    Parameters:
    c : Color
    h : Single
    s : Single
    b : Single
    Signatures by Language:
    C/C++: void hsbvalues_of(color c, float *h, float *s, float *b);
    C++: void hsbvalues_of(color c, float &h, float &s, float &b);
    Pascal: procedure HSBValuesOf(c: Color; out h: Single; out s: Single; out b: Single);

Hue Of

Get the hue of the color.

  • Hue Of (c) : Single [show]

    Get the hue of the color.

    Parameters:
    c : Color
    Returns:
    Single :
    Signatures by Language:
    C/C++: float hue_of(color c);
    Pascal: function HueOf(c: Color): Single;

Open Graphics Window

Opens the graphical window as an 800 x 600 window. See OpenGramhicsWinddow for more options.

  • Open Graphics Window (caption) [show]

    Opens the graphical window as an 800 x 600 window. See OpenGramhicsWinddow for more options.

    Parameters:
    caption : String
    The caption for the window

    Side Effects: - A graphical window is opened

    Signatures by Language:
    C/C++: void open_graphics_window800x600(const char *caption);
    C++: void open_graphics_window(const char *caption);
    Pascal: procedure OpenGraphicsWindow(caption: String);
  • Open Graphics Window (caption, width, height) [show]

    Opens the graphical window so that it can be drawn onto. You can set the icon for this window using SetIcon. The window itself is only drawn when you call RefreshScreen. All windows are opened at 32 bits per pixel. You can toggle fullscreen using ToggleFullScreen. The window is closed when the application terminates.

    Parameters:
    caption : String
    The caption for the window
    width : Longint
    The width of the window
    height : Longint
    The height of the window

    Side Effects: - A graphical window is opened

    Signatures by Language:
    C/C++: void open_graphics_window(const char *caption, int32_t width, int32_t height);
    Pascal: procedure OpenGraphicsWindow(caption: String; width: Longint; height: Longint);

Pop Clip

Pop the clip rectangle of the screen.

  • Pop Clip () [show]

    Pop the clip rectangle of the screen.

  • Pop Clip (bmp) [show]

    Pop the clipping rectangle of a bitmap.

    Parameters:
    bmp : Bitmap
    Signatures by Language:
    C/C++: void pop_clip_bmp(bitmap bmp);
    C++: void pop_clip(bitmap bmp);
    Pascal: procedure PopClip(bmp: Bitmap);

Push Clip

Push a clip rectangle to the screen. This can be undone using PopClip.

  • Push Clip (const r) [show]

    Push a clip rectangle to the screen. This can be undone using PopClip.

    Parameters:
    r : Rectangle
    Signatures by Language:
    C/C++: void push_clip_rect(const rectangle *r);
    C/C++: void push_clip_rect_byval(const rectangle r);
    C++: void push_clip(const rectangle &r);
    Pascal: procedure PushClip(const r: Rectangle);
  • Push Clip (bmp, const r) [show]

    Add the clipping rectangle of a bitmap and uses the intersect between the new rectangle and previous clip.

    Parameters:
    bmp : Bitmap
    r : Rectangle
    Signatures by Language:
    C/C++: void push_clip_rect_for_bitmap(bitmap bmp, const rectangle *r);
    C/C++: void push_clip_rect_for_bitmap_byval(bitmap bmp, const rectangle r);
    C++: void push_clip(bitmap bmp, const rectangle &r);
    Pascal: procedure PushClip(bmp: Bitmap; const r: Rectangle);
  • Push Clip (x, y, w, h) [show]

    Push a clip rectangle to the screen. This can be undone using PopClip.

    Parameters:
    x : Longint
    y : Longint
    w : Longint
    h : Longint
    Signatures by Language:
    C/C++: void push_clip_xy(int32_t x, int32_t y, int32_t w, int32_t h);
    C++: void push_clip(int32_t x, int32_t y, int32_t w, int32_t h);
    Pascal: procedure PushClip(x: Longint; y: Longint; w: Longint; h: Longint);

Put Pixel

Sets the color of the pixel to the specified value.

  • Put Pixel (bmp, value, x, y) [show]

    Sets the color of the pixel to the specified value.

    Parameters:
    bmp : Bitmap
    value : Color
    x : Longint
    y : Longint
    Signatures by Language:
    C/C++: void put_pixel(bitmap bmp, color value, int32_t x, int32_t y);
    Pascal: procedure PutPixel(bmp: Bitmap; value: Color; x: Longint; y: Longint);

RGBAColor

Gets a color given its RGBA components.

  • RGBAColor (red, green, blue, alpha) : Color [show]

    Gets a color given its RGBA components.

    Parameters:
    red : Byte
    Components of the color
    green : Byte
    Components of the color
    blue : Byte
    Components of the color
    alpha : Byte
    Components of the color
    Returns:
    Color : The matching colour
    Signatures by Language:
    C/C++: color rgbacolor(unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha);
    Pascal: function RGBAColor(red: Byte; green: Byte; blue: Byte; alpha: Byte): Color;

RGBAFloat Color

Returns a color from a floating point RBGA value set.

  • RGBAFloat Color (r, g, b, a) : Color [show]

    Returns a color from a floating point RBGA value set.

    Parameters:
    r : Single
    Components for color 0 = none 1 = full
    g : Single
    Components for color 0 = none 1 = full
    b : Single
    Components for color 0 = none 1 = full
    a : Single
    Components for color 0 = none 1 = full
    Returns:
    Color :
    Signatures by Language:
    C/C++: color rgbafloat_color(float r, float g, float b, float a);
    Pascal: function RGBAFloatColor(r: Single; g: Single; b: Single; a: Single): Color;

RGBColor

Gets a color given its RGB components.

  • RGBColor (red, green, blue) : Color [show]

    Gets a color given its RGB components.

    Parameters:
    red : Byte
    Components of the color
    green : Byte
    Components of the color
    blue : Byte
    Components of the color
    Returns:
    Color : The matching colour
    Signatures by Language:
    C/C++: color rgbcolor(unsigned char red, unsigned char green, unsigned char blue);
    Pascal: function RGBColor(red: Byte; green: Byte; blue: Byte): Color;

RGBFloat Color

Returns a color from a floating point RBG value set.

  • RGBFloat Color (r, g, b) : Color [show]

    Returns a color from a floating point RBG value set.

    Parameters:
    r : Single
    Components for color 0 = none 1 = full
    g : Single
    Components for color 0 = none 1 = full
    b : Single
    Components for color 0 = none 1 = full
    Returns:
    Color :
    Signatures by Language:
    C/C++: color rgbfloat_color(float r, float g, float b);
    Pascal: function RGBFloatColor(r: Single; g: Single; b: Single): Color;

Random Color

Creates and returns a random color where R, G, B and A are all randomised.

  • Random Color () : Color [show]

    Creates and returns a random color where R, G, B and A are all randomised.

    Returns:
    Color :
    Signatures by Language:
    C/C++: color random_color();
    Pascal: function RandomColor(): Color;

Random RGBColor

Creates and returns a random color where R, G, and B are all randomised, and A is set to the passed in value.

  • Random RGBColor (alpha) : Color [show]

    Creates and returns a random color where R, G, and B are all randomised, and A is set to the passed in value.

    Parameters:
    alpha : Byte
    the opacity of the random color
    Returns:
    Color :
    Signatures by Language:
    C/C++: color random_rgbcolor(unsigned char alpha);
    Pascal: function RandomRGBColor(alpha: Byte): Color;

Red Of

Get the red value of color.

  • Red Of (c) : Byte [show]

    Get the red value of color.

    Parameters:
    c : Color
    Returns:
    Byte :
    Signatures by Language:
    C/C++: unsigned char red_of(color c);
    Pascal: function RedOf(c: Color): Byte;

Refresh Screen

Draws the current drawing to the screen. This must be called to display anything to the screen. This will draw all drawing operations, as well as the text being entered by the user.

Side Effects: - The current drawing is shown on the screen.

  • Refresh Screen () [show]

    Draws the current drawing to the screen. This must be called to display anything to the screen. This will draw all drawing operations, as well as the text being entered by the user.

    Side Effects: - The current drawing is shown on the screen.

  • Refresh Screen (TargetFPS) [show]

    Refresh with a target FPS. This will delay a period of time that will approximately meet the targetted frames per second.

    Parameters:
    TargetFPS : Longword
    Signatures by Language:
    C/C++: void refresh_screen_restrict_fps(uint32_t TargetFPS);
    C++: void refresh_screen(uint32_t TargetFPS);
    Pascal: procedure RefreshScreen(TargetFPS: Longword);

Reset Clip

Reset the clipping rectangle of the screen.

  • Reset Clip () [show]

    Reset the clipping rectangle of the screen.

  • Reset Clip (bmp) [show]

    Reset the clipping rectangle on a bitmap.

    Parameters:
    bmp : Bitmap
    Signatures by Language:
    C/C++: void reset_clip_for_bitmap(bitmap bmp);
    C++: void reset_clip(bitmap bmp);
    Pascal: procedure ResetClip(bmp: Bitmap);

Saturation Of

Get the saturation of the color.

  • Saturation Of (c) : Single [show]

    Get the saturation of the color.

    Parameters:
    c : Color
    Returns:
    Single :
    Signatures by Language:
    C/C++: float saturation_of(color c);
    Pascal: function SaturationOf(c: Color): Single;

Screen Height

Returns the height of the screen currently displayed.

  • Screen Height () : Longint [show]

    Returns the height of the screen currently displayed.

    Returns:
    Longint : The screen's height
    Signatures by Language:
    C/C++: int32_t screen_height();
    Pascal: function ScreenHeight(): Longint;

Screen Width

Returns the width of the screen currently displayed.

  • Screen Width () : Longint [show]

    Returns the width of the screen currently displayed.

    Returns:
    Longint : The screen's width
    Signatures by Language:
    C/C++: int32_t screen_width();
    Pascal: function ScreenWidth(): Longint;

Set Clip

Set the clip rectangle of the screen.

  • Set Clip (const r) [show]

    Set the clip rectangle of the screen.

    Parameters:
    r : Rectangle
    Signatures by Language:
    C/C++: void set_clip(const rectangle *r);
    C/C++: void set_clip_byval(const rectangle r);
    C++: void set_clip(const rectangle &r);
    Pascal: procedure SetClip(const r: Rectangle);
  • Set Clip (bmp, const r) [show]

    Set the clip rectangle of the bitmap.

    Parameters:
    bmp : Bitmap
    r : Rectangle
    Signatures by Language:
    C/C++: void set_bmp_clip(bitmap bmp, const rectangle *r);
    C/C++: void set_bmp_clip_byval(bitmap bmp, const rectangle r);
    C++: void set_clip(bitmap bmp, const rectangle &r);
    Pascal: procedure SetClip(bmp: Bitmap; const r: Rectangle);
  • Set Clip (x, y, w, h) [show]

    Set the clip rectangle of the screen.

    Parameters:
    x : Longint
    y : Longint
    w : Longint
    h : Longint
    Signatures by Language:
    C/C++: void set_clip_xy(int32_t x, int32_t y, int32_t w, int32_t h);
    C++: void set_clip(int32_t x, int32_t y, int32_t w, int32_t h);
    Pascal: procedure SetClip(x: Longint; y: Longint; w: Longint; h: Longint);
  • Set Clip (bmp, x, y, w, h) [show]

    Set the clip rectangle of the bitmap.

    Parameters:
    bmp : Bitmap
    x : Longint
    y : Longint
    w : Longint
    h : Longint
    Signatures by Language:
    C/C++: void set_bmp_clip_xy(bitmap bmp, int32_t x, int32_t y, int32_t w, int32_t h);
    C++: void set_clip(bitmap bmp, int32_t x, int32_t y, int32_t w, int32_t h);
    Pascal: procedure SetClip(bmp: Bitmap; x: Longint; y: Longint; w: Longint; h: Longint);

Set Icon

Sets the icon for the window. This must be called before openning the graphics window. The icon is loaded as a bitmap, though this can be from any kind of bitmap file.

  • Set Icon (filename) [show]

    Sets the icon for the window. This must be called before openning the graphics window. The icon is loaded as a bitmap, though this can be from any kind of bitmap file.

    Parameters:
    filename : String
    The name of the file to load as the images icon

    Side Effects - The icon will be loaded and used as the windows icon when the window is opened.

    Signatures by Language:
    C/C++: void set_icon(const char *filename);
    Pascal: procedure SetIcon(filename: String);

Show Swin Game Splash Screen

Shows the SwinGame intro splash screen. It would be great if you could include this at the start of your game to help us promote the SwinGame API.

  • Show Swin Game Splash Screen () [show]

    Shows the SwinGame intro splash screen. It would be great if you could include this at the start of your game to help us promote the SwinGame API.


Take Screenshot

Saves the current screen a bitmap file. The file will be saved into the current directory.

  • Take Screenshot (basename) [show]

    Saves the current screen a bitmap file. The file will be saved into the current directory.

    Parameters:
    basename : String
    The base name for the screen shot. e.g. "GemCollector"

    Side Effects: - Saves the current screen image to a bitmap file.

    Signatures by Language:
    C/C++: void take_screenshot(const char *basename);
    Pascal: procedure TakeScreenshot(basename: String);

Toggle Full Screen

Switches the application to full screen or back from full screen to windowed.

Side Effects: - The window switched between fullscreen and windowed

  • Toggle Full Screen () [show]

    Switches the application to full screen or back from full screen to windowed.

    Side Effects: - The window switched between fullscreen and windowed


Toggle Window Border

Toggle the Window border mode. This enables you to toggle from a bordered window to a borderless window.

  • Toggle Window Border () [show]

    Toggle the Window border mode. This enables you to toggle from a bordered window to a borderless window.


Transparency Of

Get the transpareny value of color.

  • Transparency Of (c) : Byte [show]

    Get the transpareny value of color.

    Parameters:
    c : Color
    Returns:
    Byte :
    Signatures by Language:
    C/C++: unsigned char transparency_of(color c);
    Pascal: function TransparencyOf(c: Color): Byte;