/**
 * 绘制模块统一导出
 *
 * 从 u-charts 核心库搬迁的绘制相关函数
 * 用于处理各种图表类型的绘制操作
 */

// 通用绘制函数
export type { CanvasContext, Point } from './common-renderer';
export * from './common-renderer';

// 从 helper-functions 导入 contextRotate
export { contextRotate } from '../helper-functions/misc-helpers';

// 坐标轴和图例绘制
export type { GaugeOption, RadarOption } from './axis-renderer';
export {
  drawXAxis,
  drawYAxisGrid,
  drawYAxis,
  drawLegend,
  drawGaugeLabel,
  drawRadarLabel
} from './axis-renderer';

// 柱状图和条形图绘制
export type { ColumnOption, ColumnResult } from './column-renderer';
export {
  drawColumnDataPoints,
  drawBarDataPoints,
  drawMountDataPoints
} from './column-renderer';

// 折线图和面积图绘制
export {
  drawLineDataPoints,
  drawAreaDataPoints
} from './line-renderer';

// K线图绘制
export type { CandleOption } from './candle-renderer';
export {
  drawCandleDataPoints
} from './candle-renderer';

// 饼图和环形图绘制
export {
  drawPieDataPoints,
  drawRoseDataPoints,
  drawGaugeDataPoints,
  drawArcbarDataPoints
} from './pie-renderer';

// 雷达图绘制
export {
  drawRadarDataPoints
} from './radar-renderer';

// 地图绘制
export {
  drawMapDataPoints
} from './map-renderer';

// 特殊图表绘制
export {
  drawFunnelDataPoints,
  drawWordCloudDataPoints,
  drawMixDataPoints,
  drawScatterDataPoints,
  drawBubbleDataPoints
} from './special-renderer';
