s2dbpath.h File Reference


Detailed Description

This file is in the public domain.

Definition in file s2dbpath.h.

#include "user.h"
#include "bitmap.h"
#include "shapes2d.h"

Go to the source code of this file.

Functions

BOOL PathFromBitmap (IMAGEBUFFERINFO *ibi, RECT *rcExtent, int target, ITEMARRAY *path)
 Generates a vector path based on the data in a bitmap.


Function Documentation

BOOL PathFromBitmap IMAGEBUFFERINFO *  ibi,
RECT rcExtent,
int  target,
ITEMARRAY path
 

Generates a vector path based on the data in a bitmap.

Parameters:
ibi Pointer to a one-bit-per-pixel image buffer.
rcExtent A rectangle indicating the desired region from which to extract the path. If NULL, the entire image will be used.
target Specifies which pixel consitutes the interior of the path. Can be either 0 or 1.
path Points to an array of path segments where the function will save the generated path. The function fails if the array's item size doesn't equal that of a PATHSEGMENT structure.
Returns:
FALSE if _ibi_ is NULL or is not a 1-bit-per-pixel bitmap, or if _path_ is NULL; TRUE if successful.

Definition at line 366 of file s2dbpath.c.


Generated on Thu Mar 27 01:46:58 2008 for Item Arrays by  doxygen 1.4.6-NO