INDEX | CLUSTER | FEATURES | SHORT | FRAMES | NO FRAMES |
-- Initialization of internal structures and assignig default values
-- to the attributes of the context.
-- Initializes a new graphics device context by establishing a link to
-- the target output device.
-- Every reauest to the graphics engine is valid only betwen calls
-- of this method and the end_paint method.
-- Only methods affecting the state of the graphics context are allowed
-- outside these methods.
-- Delete the link to the target output device graphics context
-- and frees previously allocated system resources.
-- IMPORTANT: This method should be called from a descendent class
-- as the first method in graphics context deinitialization methods
-- sequence.
-- Saves the current state of graphics context.
-- The context is pushed into a stack.
-- Saves the current state of the given device context by copying state
-- information (such as clipping region, selected objects, and
-- mapping mode) to a context stack. The saved device context can later
-- be restored by using the restore function.
-- Retrieves the boundaries of window's client area.
-- For sequential use it is recommended to to store the returned value
-- in another statical object.
-- Restores the last saved graphics context
-- Selects an object into the given graphics context. The new object
-- replaces the previous object of the same type.
-- Returns the previously (old) selected GDI resource.
-- This method explicitly selects a pen resource in current GC
-- This method explicitly selects a brush resource in current GC
-- This method explicitly selects a font resource in current GC
-- Checks to see if the graphics context is initialized correctly
-- Moves the current pen pointer position to a new location
-- Retrieves the current Pen position
-- Sets the current drawing mode. The drawing mode specifies how the
-- colors of the pen and the interior of filled objects are combined with
-- the color already on the screen surface.
-- Retrieves the current drawing mode. The drawing mode specifies how
-- the colors of the pen and the interior of filled objects are
-- combined with the color already on the screen surface.
-- Sets the current background color to the specified color.
-- If the background mode is OPAQUE, the system uses the background
-- color to fill the gaps in styled lines, the gaps between hatched
-- lines in brushes, and the background in character cells.
-- If the device cannot display the specified color, the system sets
-- the background color to the nearest physical color.
-- Returns the current background color.
-- Sets the specified background mode. The background mode defines whether
-- the system removes existing background colors on the drawing surface
-- before drawing text, hatched brushes, or any pen style that is not a
-- solid line.
-- Return the current background mode
-- Set new mapping mode
-- Return the current mapping mode
-- Set new viewport origin
-- Return the current viewport origin
-- Draws a point at specified coordinates with specified color
-- Draws multiple points at specified locations, using a supplied
-- color
-- Draws a line from the current position up to, but not including,
-- the specified endpoint. The function uses the selected pen to draw
-- the line and sets the current position to the coordinates (x,y)
-- Draws a line between 2 points. The current point position is not
-- changed
-- Draws a set of line segments, connecting the specified points.
-- The lines are drawn from the first point through subsequent points,
-- using the current pen. Unlike the line_to function, the polyline
-- function neither uses nor updates the current position.
-- Draws multiple disjoint line segments. Each line is specified by a
-- pair of points, so the line may be connnected or disjoint.
-- Draws an outline of a rectangle, using the current pen.
-- Draws multiple rectangles
-- Draws a rectangle with rounded corners, using the current pen.
-- Draws a polygon consisting of two or more points (vertices) connected
-- by lines. The system closes the polygon automatically, if necessary,
-- by drawing a line from the last vertex to the first. Polygons are
-- surrounded by a frame drawn by using the current pen and filled by
-- using the current brush.
-- Creates two or more polygons that may be disjoint or overlapping.
-- Draws an ellipse. The center of the ellipse is the center of the
-- specified bounding rectangle. The ellipse is drawn by using
-- Draws multiple ellipses
-- Draws multiple circles
-- The arc drawn by using the draw_arc function is a segment of the
-- ellipse defined by the specified bounding rectangle. The starting
-- point of the arc is the point at which a ray drawn from the center
-- of the bounding rectangle through the specified starting point
-- intersects the ellipse. The end point of the arc is the point at
-- which a ray drawn from the center of the bounding rectangle through
-- the specified end point intersects the ellipse. The arc is drawn in
-- a counterclockwise direction.
-- Draws multiple arcs
-- Draws an arc using circular coordinates.
-- Angles are signed values in radians, with positive values
-- indicating counter-clockwise motion and negative values indicating
-- clockwise motion.
-- Draws multiple angular elliptic arcs.
-- Draws a sector by drawing an elliptical arc whose center and two
-- endpoints are joined by lines.
-- Draws multiple sectors
-- Draws a sector using angular coordinates
-- Draws a chord (a closed figure bounded by the intersection of
-- an ellipse and a line segment.
-- Draws multiple chords
-- Draws a chord using angular coordinates
-- Draws a cubic Bezier spline using specified control points.
-- The curve is drawn from the first point to the fourth point using the
-- second and third points as control points.
-- The Current position is neither used nor updated.
-- Draws one or more Bezier Curves. The first curve is drawn
-- from the first point to the fourth point using the second and third
-- points as control points. Each subsequent curve in the sequence needs
-- exactly three more points: the end point of the previous curve is
-- used as the start point, the next two points in the sequence are
-- control points, and the third point is the end point.
-- The Current position is neither used nor updated.
-- Draws a Rectangle, using the current pen. The interior of the
-- rectangle is filled by using the current brush.
-- The figure this function draws extends up to, but does not include,
-- the right and bottom coordinates. This means that the height of the
-- figure is y2 - y1 and the width of the figure is x2 - x1.
-- paints multiple rectangles
-- Draws a rectangle with rounded corners, using the current pen. The
-- interior of the rectangle is filled by using the current brush.
-- The figure this function draws extends up to, but does not include,
-- the right and bottom coordinates.
-- Draws multiple rectangles with rounded corners, using the current pen. The
-- interior of the rectangle is filled by using the current brush.
-- paints a polygon consisting of two or more points (vertices) connected
-- by lines. The system closes the polygon automatically, if necessary,
-- by painting a line from the last vertex to the first. Polygons are
-- surrounded by a frame paintn by using the current pen and filled by
-- using the current brush.
-- Creates two or more polygons that may be disjoint or overlapping.
-- paints an ellipse. The center of the ellipse is the center of the
-- specified bounding rectangle. The ellipse is paintn by using
-- the current pen.
-- The figure drawn by this function extends up to but does not include
-- the right and bottom coordinates.
-- paints multiple ellipses
-- paints multiple circles
-- Paints a sector by painting an elliptical arc whose center and two
-- endpoints are joined by lines.
-- The center of the arc drawn by this function is the center of the
-- bounding rectangle specified by x1, y1, x2, y2 parameters.
-- The function draws the arc by using the selected pen, moving in a
-- counterclockwise direction. It then draws two additional lines from
-- each endpoint to the arc's center. Finally, it fills the pie-shaped area by using
-- the current brush.
-- The figure drawn by this function extends up to but does not include the
-- right and bottom coordinates.
-- paints multiple sectors
-- paints a sector using angular coordinates
-- Paints multiple angle sectors
-- paints a chord (a closed figure bounded by the intersection of
-- an ellipse and a line segment.
-- The chord is drawn by using the selected pen and is filled by using
-- the selected brush.
-- The figure the Chord function draws extends up to but does not
-- include the right and bottom coordinates.
-- paints multiple chords
-- paints a chord using angular coordinates
-- Fills a Rectangle, using a specified brush. This function fills the
-- complete rectangle, including the left and top borders, but does not
-- fill the right and bottom borders.
-- This function inverts a rectangular area. Inversion is a logical
-- NOT operation and flips the bits of each pixel.
-- This function erases a rectangular area.
-- Retrieves the typeface name of the current font selected in the GC
-- Retrieves the height of character cells. (The height is the sum of
-- the Ascent and Descent of a character cell)
-- Retrieves the ascent of character cells. (The ascent is the space
-- between the base line and the top of the character cell.)
-- Retrieves the descent of character cells. (The descent is the space
-- between the bottom of the character cell and the base line.)
-- Retrieves the difference between the point size of a font and the
-- physical size of the font.
-- Retrieves the amount of extra leading (space) that the application
-- adds between rows. Since this area is outside the character cell,
-- it contains no marks and will not be altered by text output calls
-- in either opaque or transparent mode.
-- Retrieves the average width of characters in the font.
-- Retrieves the "B" spacing of the widest character in the font.
-- Retrieves the value of the character that will be substituted
-- for characters that are not in the font.
-- Retrieves the value of the character that will be used to define
-- word breaks for text justification.
-- Computes the width of a character, using the current font to compute
-- the dimensions.
-- Computes the width of a line of text, using the current font to
-- compute the dimensions.
-- Computes the width of a substring of text,
-- using the current font to compute the dimensions.
-- start_pos should start from 1 (not from 0)
-- Computes the height of a line of text, using the current font to
-- compute the dimensions.
-- Covert the the size in logical coordinate units to the
-- millimeters on output device surface
-- Covert the the millimeters on output device surface to the actual
-- number of logical coordinate units
-- The size of phisical device attached to the context in pixels
-- The size of phisical device attached to the context in millimeters
INDEX | CLUSTER | FEATURES | SHORT | FRAMES | NO FRAMES |