libcm is a C development framework with an emphasis on audio signal processing applications.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

cmSvgWriter.h 899B

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef cmSvgWriter_h
  2. #define cmSvgWriter_h
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. enum
  7. {
  8. kOkSvgRC = cmOkRC,
  9. kFileFailSvgRC,
  10. kLHeapFailSvgRC
  11. };
  12. typedef cmRC_t cmSvgRC_t;
  13. typedef cmHandle_t cmSvgH_t;
  14. extern cmSvgH_t cmSvgNullHandle;
  15. cmSvgRC_t cmSvgWriterAlloc( cmCtx_t* ctx, cmSvgH_t* hp );
  16. cmSvgRC_t cmSvgWriterFree( cmSvgH_t* hp );
  17. bool cmSvgWriterIsValid( cmSvgH_t h );
  18. cmSvgRC_t cmSvgWriterRect( cmSvgH_t h, double x, double y, double ww, double hh, const cmChar_t* cssClassLabel );
  19. cmSvgRC_t cmSvgWriterLine( cmSvgH_t h, double x0, double y0, double x1, double y1, const cmChar_t* cssClassLabel );
  20. cmSvgRC_t cmSvgWriterText( cmSvgH_t h, double x, double y, const cmChar_t* text, const cmChar_t* cssClassLabel );
  21. cmSvgRC_t cmSvgWriterWrite( cmSvgH_t h, const cmChar_t* cssFn, const cmChar_t* outFn );
  22. #ifdef __cplusplus
  23. }
  24. #endif
  25. #endif