osg.h
上传用户:kaigelee
上传日期:2022-07-13
资源大小:6432k
文件大小:1k
源码类别:

图片显示

开发平台:

Visual C++

  1. #ifndef _OSG_H
  2. #define _OSG_H
  3. #include "gendef.h"
  4. void GFMSetPixels(INT32U whichColor, INT32U x, INT32U y, INT32U pixelCount);
  5. void GFMDrawLine(INT32U startX,INT32U startY,INT32U endX, INT32U endY, INT32U whichColor);
  6. void GFMDrawRectangle(INT32U x,INT32U y,INT32U width,INT32U height, INT32U  color, INT8S fill);
  7. void GFMFillCircle(INT32U xCentre,INT32U yCentre,INT32U r, INT32U color );
  8. void GFMDrawCircle(INT32U xCentre,INT32U yCentre,INT32U r,INT32U color );
  9. void GFMReadRectangle(INT32U x,INT32U y,INT32U width,INT32U height, INT8U *destination);
  10. void GFMWriteRectangle(INT32U x,INT32U y,INT32U width,INT32U height, INT8U *source);
  11. INT32U FNTGetStringWidth(INT8U * stringPtr, INT8U fontSize);
  12. void FNTDrawText(INT32U Color,INT8U fontSize,INT32U xCoord, INT32U yCoord, void* String2bShown );
  13. #endif