$Date: 2005/10/23 10:59:04 $
$Revision: 1.4 $
-- Create new ttf surface
-- Alpha value for Current (per surface)
-- This value will only be used in blitting when alpha transparency is enabled!
-- (From EM_SURFACE)
-- Clipping rectangle. Pixels outside this rectangle won't be drawn.
-- (see coordinate_area for according rectangle in user coordinates)
-- (From EM_SURFACE)
-- Coordinates inside which all drawing primitives can draw,
-- coordinates outside this area will be clipped
-- (usefull to avoid drawing objects, that are anyway off-screen),
-- coordinate_area can be changed using transform_coordinates,
-- translate_coordinates and clip_coordinates.
-- (From EM_SURFACE)
-- Line width used to draw lines with line_width onto surface.
-- (From EM_SURFACE)
-- Number of pixels/points on device per user coordinate unit
-- (Usefull for drawing with adopted level of detail
-- for better performance)
-- (From EM_SURFACE)
-- Color used to draw
-- (From EM_SURFACE)
-- Pointer to the wrapped struct
-- (From EWG_STRUCT)
-- Line width used to draw lines
-- (From EM_SURFACE)
-- Number of times lock was called without calling unlock.
-- (From EM_SURFACE)
-- Informations about the pixel format of Current
-- (From EM_SURFACE)
-- Color value of the pixel at position an_x, an_y in Current
-- Note: For direct pixel access Current has to be locked using lock.
-- (From EM_SURFACE)
-- Number of bytes per pixel
-- (From EM_SURFACE)
-- Rotation angle of Current in degree
-- (From EM_SURFACE)
-- Value of the color that is drawed as transparent when drawing Current
-- onto another surface.
-- (From EM_SURFACE)
-- Zoom factor of Current (x-axis)
-- (From EM_SURFACE)
-- Zoom factor of Current (y-axis)
-- (From EM_SURFACE)
-- Has Current a transparent_colorkey?
-- (From EM_SURFACE)
-- Is alpha transparency enabled?
-- (either per surface or per pixel)
-- (From EM_SURFACE)
-- Is anti aliasing enabled for converting Current and for drawing onto it?
-- (From EM_SURFACE)
-- Are points of polylines and line segments drawed rounded
-- for nice line endings and joins between polyline segments?
-- (From EM_SURFACE)
-- Does Current scale line width,
-- when coordinates are scaled?
-- (True by default)
-- (From EM_SURFACE)
-- Is Current locked?
-- (From EM_SURFACE)
-- Was surface modified since last set_unmodified?
-- (From EM_SURFACE)
-- Is alpha transparency on a per pixel basis enabled?
-- (From EM_SURFACE)
-- Is alpha transparency for Current enabled?
-- (From EM_SURFACE)
-- Is Current rotated?
-- (From EM_SURFACE)
-- Is Current zoomed?
-- (From EM_SURFACE)
-- Disable alpha transparency for Current.
-- (From EM_SURFACE)
-- Disable antialiasing on Current.
-- (From EM_SURFACE)
-- Disable per pixel alpha transparency
-- (From EM_SURFACE)
-- Disable transparent colorkey for blitting Current surface.
-- (From EM_SURFACE)
-- Enable alpha transparency for Current.
-- (From EM_SURFACE)
-- Enable antialiasing on Current.
-- (From EM_SURFACE)
-- Enable per pixel alpha transparency.
-- Note: A pixel_format object obtained before calling enable_per_pixel_alpha will be invalid.
-- (From EM_SURFACE)
-- Set is_anti_aliasing_enabled to a_bool.
-- (From EM_SURFACE)
-- Set is_line_point_rounding_enabled to a_bool.
-- (From EM_SURFACE)
-- Set is_line_width_scaling_enabled to a_bool.
-- (From EM_SURFACE)
-- Enable alpha transparency for Current and set alpha_value to an_alpha_value.
-- This setting is for the whole surface and cannot be used to set per pixel alpha transparency.
-- alpha = 0 is transparent
-- alpha = 255 is opaque
-- Note: an alpha value of 128 is treated special and is optimised
-- Note: this does NOT work in OpenGL mode if Current will be blitted directly on the screen
-- Note: this will disable per pixel alpha
-- (From EM_SURFACE)
-- Set clipping_rectangle to a_rectangle.
-- (From EM_SURFACE)
-- Set drawing_color to a_color.
-- (From EM_SURFACE)
-- Set color (red, green, blue) to be transparent in Current.
-- This will disable per pixel alpha transparency on the surface.
-- (From EM_SURFACE)
-- Set color a_colorkey to be transparent in Current.
-- This will disable per pixel alpha transparency on the surface.
-- (From EM_SURFACE)
-- Rotate Current counterclockwise angle degrees.
-- Note: If antialiasing is enabled on Current the rotation can be slow (use prerendering if possible).
-- Note: In most cases this feature changes the dimension of Current.
-- Note: After rotating, no drawing is allowed on Current (but you still can zoom and rotate).
-- (From EM_SURFACE)
-- Strech Current with factor_x factor_y.
-- Note: If antialiasing is enabled on Current the zooming can be slow (use prerendering if possible).
-- Note: In most cases this feature changes the dimension of Current.
-- Note: After zooming, no drawing is allowed on Current (but you still can zoom and rotate).
-- (From EM_SURFACE)
-- Transform Current with stretchfactors factor_x factor_y and
-- a counterclockwise rotation angle degrees.
-- Note: If antialiasing is enabled on Current the rotation can be slow (use prerendering if possible).
-- Note: In most cases this feature changes the dimension of Current.
-- Note: After rotating, no drawing is allowed on Current (but you still can zoom and rotate).
-- (From EM_SURFACE)
-- Zoom Current with factor.
-- Note: If antialiasing is enabled on Current the zooming can be slow (use prerendering if possible).
-- Note: In most cases this feature changes the dimension of Current.
-- Note: After zooming, no drawing is allowed on Current (but you still can zoom and rotate).
-- (From EM_SURFACE)
-- Device point where a_point gets drawed to
-- (From EM_SURFACE)
-- Point in user coordinates that gets drawed
-- to device point at x and y
-- (From EM_SURFACE)
-- Clip coordinate_area to an_area.
-- Usefull to restrict drawing to an_area
-- and to just not draw anything outside.
-- (Reset by calling again with backed up old coordinate_area
-- when done clipping)
-- (From EM_SURFACE)
-- Transform coordinates such as no scaling is done anymore and use
-- a_reference_point as the point that keeps its position.
-- (Reset by calling transform_coordinates with backed up
-- old coordinate_area when done)
-- (From EM_SURFACE)
-- Lock Current to enable direct pixel access.
-- Note: Every lock must have an unlock.
-- If lock is called multiple times then so must unlock
-- (From EM_SURFACE)
-- Transform coordinate_area to an_area.
-- Usefull for drawable containers that want there children to
-- be drawed scaled (zoomed or stretched).
-- (Reset it by calling again with backed up old coordinate_area when done).
-- (From EM_SURFACE)
-- Draw all following drawing primitives as translated by a_distance.
-- Usefull for container drawables that want there children to
-- be drawed relatively to a new origin-point.
-- (Reset by calling again with negation of a_distance when done)
-- (From EM_SURFACE)
-- Unlock Current.
-- Note: Current is only unlocked if unlock is called lock_calls times.
-- (From EM_SURFACE)
-- Clear Current surface with black color.
-- (From EM_SURFACE)
-- Fill surface with a_color.
-- (From EM_SURFACE)
-- Blit a_surface at a_x and a_y onto Current.
-- (From EM_SURFACE)
-- Blit a_surface part from a_x and a_y to a_width and a_height onto Current at dest_x, dest_y.
-- (From EM_SURFACE)
-- Draw circle with center center_x, center_y and radius radius with color onto Current.
-- (From EM_SURFACE)
-- Draw filled circle around center at center_x and center_y
-- with radius filled with color onto Current.
-- (From EM_SURFACE)
-- Draw a line segment from pixel x1, y1 to pixel x2, y2 with color onto Current.
-- (From EM_SURFACE)
-- Draw a pixel at pixel position x_pos, y_pos with color a_color onto Current.
-- (From EM_SURFACE)
-- Draw a pixel at pixel position x_pos, y_pos with color value a_color_value onto Current.
-- (From EM_SURFACE)
-- Draw polygon defined by first count points
-- in x_coordinates and y_coordinates
-- with color onto Current.
-- (From EM_SURFACE)
-- Draw filled polygon defined by first count points
-- in x_coordinates and y_coordinates
-- filled with color onto Current.
-- (From EM_SURFACE)
-- Draw rectangle from pixel x1, y1 to pixel x2, y2 with color onto Current.
-- (From EM_SURFACE)
-- Draw a filled rectangle from pixel x1, y1
-- to pixel x2, y2 filled with color onto Current.
-- (From EM_SURFACE)
-- Draw a line segment from pixel x1, y1 to pixel x2, y2
-- with color and a_line_width onto Current.
-- (Implementation just draws a rectangular polygon for the line segment)
-- (From EM_SURFACE)
-- Set pixel at position a_x a_y to a_color.
-- Note: For direct pixel access Current has to be locked using lock.
-- Note: This feature uses direct memory access. So use put_pixel in normal cases.
-- (From EM_SURFACE)
-- Set pixel at position a_x a_y to a_value.
-- Note: For direct pixel access Current has to be locked using lock.
-- Note: This feature uses direct memory access. So use put_pixel in normal cases.
-- (From EM_SURFACE)
-- Draw a_bitmap into its bounding_box onto Current.
-- (From EM_SURFACE)
-- Draw part of a_bitmap specified by part_rectangle
-- at its original position inside a_bitmap.bounding_box onto Current.
-- (From EM_SURFACE)
-- Draw line segment from point1 to point2 using current line_width and drawing_color.
-- (From EM_SURFACE)
-- Draw an_object.
-- (From EM_SURFACE)
-- Draw a point at position a_point with width line_width using drawing_color.
-- Draw exactly one pixel if line_width is 0.0.
-- (From EM_SURFACE)
-- Draw polygon defined by points with line_width and drawing_color.
-- (From EM_SURFACE)
-- Draw line segments between subsequent points in points.
-- (From EM_SURFACE)
-- Draw a_rectangle with line_width and drawing_color.
-- (From EM_SURFACE)
-- Draw part of a_surface specified by part_rectangle into a_destination_box onto Current, stretch if necessary.
-- (From EM_SURFACE)
-- Draw a_surface into a_destination_box onto Current, stretch if necessary.
-- (From EM_SURFACE)
-- Draw filled polygon defined by points in drawing_color.
-- (From EM_SURFACE)
-- Draw filled rectangle a_rectangle in drawing_color.
-- (From EM_SURFACE)
-- Access member h
-- (From SDL_SURFACE_STRUCT)
Surface of True Type fonts to blit on normal surface