User
Interface Extension Library description
The User Interface Extension Library contains the following function and procedures:
Font-related:
- EnumSystemFonts - retrieves the number of installed fonts of given type
(TTF, T1, Raster).
- GetFontName - retrieves the name of specific font
Color preview:
- MakeColor - creates a 1x1 pixel bitmap with the pixel of specified
color.
- MakeColor2 - creates 1x2 pixel bitmap with specified color for each
pixel.
- MakeColor4 - creates 2x2 pixel bitmap with specified color for each
pixel.
Drawing:
- BeginImage - creates an empty bitmap of specified dimensions in memory
to be used as canvas for all subsequent drawing operations
- EndImage - saves the current canvas to BMP file and frees memory.
- PutPixel - sets the specified pixel to the given color
- GetPixel - retrieves color of specified pixel
- ImageLine - draws a line between two points of given width and color
- ImageRectangle - draws a hollow rectangle of given width and color
- ImageFillRect - draws a filled rectangle of given color
- ImageRoundRect - draws a hollow rectangle with round corners
- ImageFillRoundRect - draws a filled rectangle with round corners
- ImageEllipse - draws a hollow ellipse
- ImageFillEllipse - draws a filled ellipse
- ImagePolyline - draws a number of line segments connecting the
specified number of points
- ImageFillPolyline - draws a filled polygon based on specified number of
points
- ImageTextOut - draws a text string of given text, font face, size style
and color
- ImageGetTextSize - retrieves the size in pixels of given text string
and text attributes
Download UI Extension Library now!
(42K)
Legal Disclaimer
The UI Extension Library for CorelSCRIPT can be used and distributed
with cusom scripts freely providing that the scripts are not commercial products. Any
commercial usage of the library without the author's permission is strictly prohibited. Contact me in case you need the library to be included
in a commercial product. |
The Library contains the DLL file, SCPRTL10.DLL, and online help files
SCPRTL10.HLP and SCPRTL10.CNT that can be linked to
CorelSCRIPT Editor and used in conjunction with it like other Corel SCRIPT files. Please
refer to README.TXT on the information on how to link the help files to
CorelSCRIPT Editor.
Click "Next Page>" to see some examples of UI Extension Library
usage.
[ <Previous page | Next Page> ] |