Sack Library Documentation
ContentsIndexReferenceHome
Macros
Macros
Name 
Description 
Build a color with alpha specified. 
Get the alpha value of a color. This is a 0-255 unsigned byte. 
This is a macro to cure a 64bit warning in visual studio. 
common color definitions.... 
An opaque normal blue. 
An opaque BROWN. Brown is dark yellow... so this might be more like a gold sort of color instead. 
An opaque cyan - kind of a light sky like blue. 
An opaque darker grey (gray?). 
An opaque Green. 
An opaque a bight or light color blue. 
This is macro sack::image::BASE_COLOR_LIGHTBROWN. 
An opaque a lighter, more bight cyan color. 
An opaque lighter, brighter green color. 
An opaque normal grey (gray?). 
An opaque Lighter pink sort of red-blue color. 
An opaque bright red. 
An opaque normal Magenta - a lighter, more red purple. 
This is macro sack::image::BASE_COLOR_NICE_ORANGE. 
An opaque normal orange. 
An opaque normal purple (magenta). 
An opaque red. 
An opaque White. 
An opaque bright yellow. 
Copy one image to another. Copies the source from 0,0 to the destination 0,0 of the minimum width and height of the smaller of the source or destination. 
Copy one image to another at the specified coordinate in the destination. 
Copy one image to another at the specified coordinate in the destination. Scale RGB channels to specified colors. 
Copy one image to another at the specified coordinate in the destination. Scale RGB channels to specified colors. 
Copy one image to another at the specified coordinate in the destination. Shade the image on copy with a color. 
Copies an image from one image onto another. The copy is done directly and no scaling is applied. If a width or height larget than the image to copy is specified, only the amount of the image that is valid is copied. 
Copies an image from one image onto another. The copy is done directly and no scaling is applied. If a width or height larget than the image to copy is specified, only the amount of the image that is valid is copied. 
Copies an image from one image onto another. The copy is done directly and no scaling is applied. If a width or height larget than the image to copy is specified, only the amount of the image that is valid is copied. 
Copies an image from one image onto another. The copy is done directly and no scaling is applied. If a width or height larget than the image to copy is specified, only the amount of the image that is valid is copied. 
Copies some or all of an image to a destination image of specified width and height. This does linear interpolation scaling.

There are simple forms of this function as macros, since commonly you want to output the entire image, a macro which automatically sets (0,0),(width,height) as the source parameters to output the whole image exists. 
Copies some or all of an image to a destination image of specified width and height. This does linear interpolation scaling.

There are simple forms of this function as macros, since commonly you want to output the entire image, a macro which automatically sets (0,0),(width,height) as the source parameters to output the whole image exists. 
Copies some or all of an image to a destination image of specified width and height. This does linear interpolation scaling.

There are simple forms of this function as macros, since commonly you want to output the entire image, a macro which automatically sets (0,0),(width,height) as the source parameters to output the whole image exists. 
Copies some or all of an image to a destination image of specified width and height. This does linear interpolation scaling.

There are simple forms of this function as macros, since commonly you want to output the entire image, a macro which automatically sets (0,0),(width,height) as the source parameters to output the whole image exists. 
Copies some or all of an image to a destination image of specified width and height. This does linear interpolation scaling.

There are simple forms of this function as macros, since commonly you want to output the entire image, a macro which automatically sets (0,0),(width,height) as the source parameters to output the whole image exists. 
Copies some or all of an image to a destination image of specified width and height. This does linear interpolation scaling.

There are simple forms of this function as macros, since commonly you want to output the entire image, a macro which automatically sets (0,0),(width,height) as the source parameters to output the whole image exists. 
Copies some or all of an image to a destination image of specified width and height. This does linear interpolation scaling.

There are simple forms of this function as macros, since commonly you want to output the entire image, a macro which automatically sets (0,0),(width,height) as the source parameters to output the whole image exists. 
Copies some or all of an image to a destination image of specified width and height. This does linear interpolation scaling.

There are simple forms of this function as macros, since commonly you want to output the entire image, a macro which automatically sets (0,0),(width,height) as the source parameters to output the whole image exists. 
Copies some or all of an image to a destination image of specified width and height. This does linear interpolation scaling.

There are simple forms of this function as macros, since commonly you want to output the entire image, a macro which automatically sets (0,0),(width,height) as the source parameters to output the whole image exists. 
Copies some or all of an image to a destination image of specified width and height. This does linear interpolation scaling.

There are simple forms of this function as macros, since commonly you want to output the entire image, a macro which automatically sets (0,0),(width,height) as the source parameters to output the whole image exists. 
Copies some or all of an image to a destination image of specified width and height. This does linear interpolation scaling.

There are simple forms of this function as macros, since commonly you want to output the entire image, a macro which automatically sets (0,0),(width,height) as the source parameters to output the whole image exists. 
Copies some or all of an image to a destination image of specified width and height. This does linear interpolation scaling.

There are simple forms of this function as macros, since commonly you want to output the entire image, a macro which automatically sets (0,0),(width,height) as the source parameters to output the whole image exists. 
Copies some or all of an image to a destination image of specified width and height. This does linear interpolation scaling.

There are simple forms of this function as macros, since commonly you want to output the entire image, a macro which automatically sets (0,0),(width,height) as the source parameters to output the whole image exists. 
Copies some or all of an image to a destination image of specified width and height. This does linear interpolation scaling.

There are simple forms of this function as macros, since commonly you want to output the entire image, a macro which automatically sets (0,0),(width,height) as the source parameters to output the whole image exists. 
Copies some or all of an image to a destination image of specified width and height. This does linear interpolation scaling.

There are simple forms of this function as macros, since commonly you want to output the entire image, a macro which automatically sets (0,0),(width,height) as the source parameters to output the whole image exists. 
Get the blue value of a color. This is a 0-255 unsigned byte. 
Creates an image from user defined parts. The buffer used is from the user. This was used by the video library, but RemakeImage accomplishes this also. 
 
 
A macro to create a solid color from R G B coordinates. 
now why would we need an inverse line? I don't get it.... anyhow this would draw from the end to the start... basically this accounts for rounding errors on the orward way. 
This function flips an image top to bottom. This if for building windows compatible images. Internally images are kept in platform-native direction. If an image is created from another source, this might be a method to flip the image top-to-bottom if required. 
Returns the approximate rectangle that would be used for a string. It only counts using the line measurement. Newlines in strings count to wrap text to subsequent lines and start recounting the width, returning the maximum length of string horizontally. 
 
 
Return a CDATA that is meant for output to OpenGL. 
Get the green value of a color. This is a 0-255 unsigned byte. 
A macro for accessing vertical (Y) information of an IMAGE_POINT
A macro for accessing vertical (Y) information of an IMAGE_POINT
the image at exactly this position and size is the one being referenced, the actual size and position may vary depending on use (a sub-image outside the boundry of its parent). 
A macro to compute the address of a pixel in the color buffer by x, y. 
This is a macro is used when image data is inverted on a platform. (Windows images, the first row of data is the bottom of the image, all Image operations are specified from the top-left as 0,0) 
This is macro sack::image::INVERTY_INVERTED. 
This is macro sack::image::INVERTY_NON_INVERTED. 
Load an image file. Today we support PNG, JPG, GIF, BMP. Tomorrow consider tapping into that FreeImage project on sourceforge, that combines all readers into one. 
Load an image file. Today we support PNG, JPG, GIF, BMP. Tomorrow consider tapping into that FreeImage project on sourceforge, that combines all readers into one. 
Adds DBG_PASS parameter. Creates an Image with a specified width and height. The image's color is undefined to start. 
create a sprite from an Image 
 
Creates a sub image region on an image. Sub-images may be used like any other image. There are two uses for this sort of thing. OH, the sub image shares the exact data of the parent image, and is not a copy. 
 
 
 
 
Passes default font if not specified. 
 
 
 
 
 
The non Ex Version doesn't pass the string length. 
 
 
 
 
 
 
Get the red value of a color. This is a 0-255 unsigned byte. 
Create or recreate an image using the specified color buffer, and size. All sub-images have their color data reference updated. 
Recreates a Font based on saved FontData. The resulting font may be scaled from its original size. 
 
This is macro sack::image::RenderScaledFont. 
Create or recreate an image using the specified color buffer, and size. All sub-images have their color data reference updated. 
Sets the alpha part of a color. (0-255 value, 0 being transparent, and 255 solid(opaque)) 
Sets the blue channel of a color. Expects a value 0-255. 
Sets the green channel of a color. Expects a value 0-255. 
Sets the red channel of a color. Expects a value 0-255. 
Releases an image, has extra debug parameters. 
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright (c) 2000+. All rights reserved.