2012/11/25

VSG - Spatial

-------------------------------------------------------------
Spatial
   - Drawing
     - DrawingAttributes
     - DrawingFunctions
     - DrawingMatrices
   - ImageFiles
   - Fonts
   - Reading
   - HostPages
-------------------------------------------------------------

[DrawingAttributes]
  crsClearPage                          - clears the specified draw page to the specified pixel level.
  crsGetCurrentDrawPage                 - returns the current draw page in the current page zone
  crsGetCurrentDrawPageBitsPerPixel     - indicates the number of bits per pixel
  crsGetCurrentDrawPageFirstPixelLevel  - indicates the first usable pixel level
  crsGetCurrentDrawPageInfo             - returns information about the current drawing page.
  crsGetCurrentDrawPageLastPixelLevel   - returns the last usable pixel level
  crsGetCurrentDrawPagePixelMode        - indicates the current video mode
  crsGetCurrentDrawPageUsedBitsPerPixel - returns the used bits per pixel
  crsGetCurrentDrawPageZone             - returns the current draw page zone.
  crsGetDrawMode                        - returns information about the current drawing mode.
  crsGetPen1                            - returns the current Pen1 setting.
  crsGetPen2                            - returns the current Pen2 setting.
  crsSetAntiAliasing                    - sets antialiasing to be on or off.
  crsSetCentreXY                        - switches the centreXY positioning mode on and off.
  crsSetClipWindow                      - defines new clipping window perimeter co-ordinates.
  crsSetDrawMode                        - sets the VSG Drawing mode.
  crsSetDrawOrigin                      - specifies the drawing origin location.
  crsSetDrawPage                        - sets the area of the vsg video memory to draw to the display.
  crsSetFillMode                        - sets the current fill mode.
  crsSetPaintMode                       - sets the current paint mode.
  crsSetPen1                            - sets the colour of pen1 used by the drawing primitives.
  crsSetPen2                            - sets the colour of pen2 used by the drawing primitives.
  crsSetPenSize                         - defines the thickness of lines and outline shapes.
  crsSetPenVector                       - allows colour objects to be drawn in true colour mode.
  crsSetRadialAxis                      - sets the radial_axis sizing mode to be off or on.
  crsSetTransparencyMode                - sets the transparency mode to be off or on.

[DrawingFunctions]
  crsDrawBar           - draws an oriented rectangular bar.
  crsDrawChessBoard    - draws a chessboard stimulus.
  crsDrawDartBoard     - draws a radial elliptical dartboard image.
  crsDrawDots          - draws a set of loaded random dots.
  crsDrawEffect        - controls the vsg image processing functions.
  crsDrawGabor         - draws a set of Gabor wavelet stimului.
  crsDrawGaussian      - will draw a gaussian distribution to the screen.
  crsDrawGrating       - draws a grating stimulus.
  crsDrawGratingBuffer - draws a grating stimulus.
  crsDrawLine          - draws a line from one point to another.
  crsDrawMoveRect      - copies a rectangle of pixels from one location to another.
  crsDrawMoveRectBatch - allows multiple image block transfers.
  crsDrawNoise         - fills a designated area with noise.
  crsDrawOval          - draws an oval.
  crsDrawPaletteBar    - draws the palette for debugging.
  crsDrawPieArc        - draws an arc or a segment taken from an ellipse.
  crsDrawPixel         - draws a single pixel.
  crsDrawPixelLine     - draws a line of pixels
  crsDrawPixelLineFast - draws a line quickly.
  crsDrawPolygon       - draws a multi-faceted polygon.
  crsDrawQuadPoint     - draws a buffer of pixels.
  crsDrawRect          - draws a recgangular area using the pen1 color.

[DrawingMatrices]
  crsDrawMatrix               - draws a matrix of pixel levels between 0 (Pen2) and 1 (Pen1).
  crsDrawMatrixZeroMean       - draws a matrix of pixel levels between -1 and 1.
  crsDrawMatrixPalettised     - draws a matrix of pixel levels (values between 1 and 256).
  crsDrawMatrix14bitGreyScale - draws a matrix of 14 bit monochrome values.
  crsDrawMatrix24bitColour    - draws an 8-bit-per channel RGB matrix.
  crsDrawMatrix42bitColour    - draws a 14-bit-per channel RGB matrix.
 
[ImageFiles]
  crsDrawImage          - draws an image from a file.
  crsImageExport        - writes an image to disk.
  crsImageGetAttributes - returns the attributes of the specified image file.
  crsImageGetPalette    - returns the palette from a given image file.
  crsImageGetSize       - returns the size of the specified image file stored on disk

[Fonts]
  crsGetStringSize     - returns the size of the specified ASCII text string.
  crsSetStringMode     - sets the string rendering mode attributes.
  crsSetTrueTypeFont   - selects the required character font.
  crsDrawString        - draws a text string using the pen1 color.
  crsDrawStringUnicode - draws a unicode string.
  crsDrawChar          - draws a single ASCII character.
  crsDrawCharUnicode   - draws a single unicode character.

[Reading]
  crsReadPixel     - returns the specified pixel's level.
  crsReadPixelLine - reads a line of pixel data from the VSG memory.

[HostPages]
  crsPAGECreate - creates a VSG drawing page in PC memory space.
  crsPAGEDelete - deletes a HOSTPAGE.

[Othres]
  crsGetScreenHeight        - Returns the screen height in pixels.
  crsGetScreenHeightDegrees - Returns the screen height in degrees.
  crsGetScreenHeightPixels  - Returns the screen height in pixels.
                           
  crsGetScreenWidth         - Gets the screen width in pixels.
  crsGetScreenWidthDegrees  - Gets the screen width in degrees of visual angle.
  crsGetScreenWidthPixels   - Gets the screen width in pixels.

  crsGetScreenSizeDegrees   - Returns the screen size in degrees.
  crsGetScreenSizeMM        - Returns the screen size in MM.
  crsGetScreenSizePixels    - Returns the screen size in Pixels.
                           
  crsSetViewDistMM          - Calibrates the viewing distance in MM.
  crsGetViewDistMM          - Gets the current viewing distance in MM.
                           
  crsSetSpatialUnits        - Sets the spatial units.
  crsGetSpatialUnits        - Returns the currently specified spatial units.

  crsGetPageHeight          - Returns the video page height.
  crsGetPageWidth           - Returns the video page width.
  crsSetPageWidth           - Sets the video page width to 1024 or 2048 pixels



※上記に書かれている内容については当方は一切責任をおいません。各自自己責任で行ってください。





0 件のコメント: