![]() Parameters Parameterįortran subroutine fillpoly (numpoints, points) Descriptionĭraws a filled polygon of numpoints points using the locations in points. Parameters ParameterĬ void fillellipse (x, y, xradius, yradius)įortran subroutine fillellipse (x, y, xradius, yradius) Descriptionĭraws a filled ellipse centered at ( x, y) with the given radius using the current color. The start angle, stangle, and end angle, endangle, are measured in degrees counterclockwise with 0 degrees at 3 o’clock. Parameters ParameterĬ void ellipse (x, y, stangle, endangle, xradius, yradius)įortran subroutine ellipse (x, y, stangle, endangle, xradius, yradius) Descriptionĭraws an ellipse centered at ( x, y) with the given radius using the current color. In C, the array is one-dimensional with the first horizontal position followed by the first vertical position followed by the second horizontal position, etc. ![]() In Fortran, the horizontal positions in the first column, and the vertical position in the second column. One to draw a top on the bar, zero to leave emptyįortran subroutine circle (x, y, radius) Descriptionĭraws a circle centered at ( x, y) with the given radius using the current color Parameters Parameterįortran subroutine drawpoly (numpoints, points) Descriptionĭraws a polygon of numpoints points using the locations in points. The bar is outlined using the current line color and style. Parameters ParameterĬ void bar3d (left, top, right, bottom, depth, topflag)įortran subroutine bar3d (left, top, right, bottom, depth, topflag) Descriptionĭraws a three-dimensional rectangular, filled bar using the currently selected color and fill pattern. Parameters Parameterįortran subroutine bar (left, top, right, bottom) Descriptionĭraws a rectangular, filled bar using the currently selected color and fill pattern. arcĬ void arc (x, y, stangle, endangle, radius)įortran subroutine arc (x, y, stangle, endangle, radius) Descriptionĭraws a circular arc centered at ( x, y) in the current color. The graphics cursor, however, is never visible on the screen. ![]() ![]() The moveto subroutine can be used to set the position directly. A handful of routines will use this in-memory screen coordinate for drawing. ![]() One concept to understand in this section is the existence of a “current position” of the graphics cursor on the screen. The following subprograms provide the ability to draw shapes, lines, and other graphics primitives. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |