浏览代码

* Changed Cucul::Rotate() to Cucul::Rotate180() and Cucul::RotateLeft() and Cucul::RotateRight()

tags/v0.99.beta14
Jean-Yves Lamoureux jylam 16 年前
父节点
当前提交
e9dd9ce036
共有 2 个文件被更改,包括 14 次插入2 次删除
  1. +11
    -1
      cxx/cucul++.cpp
  2. +3
    -1
      cxx/cucul++.h

+ 11
- 1
cxx/cucul++.cpp 查看文件

@@ -151,11 +151,21 @@ void Cucul::Flop()
cucul_flop(cv);
}

void Cucul::Rotate()
void Cucul::Rotate180()
{
cucul_rotate_180(cv);
}

void Cucul::RotateLeft()
{
cucul_rotate_left(cv);
}

void Cucul::RotateRight()
{
cucul_rotate_right(cv);
}

void Cucul::drawLine(int x1, int y1, int x2, int y2, uint32_t ch)
{
cucul_draw_line(cv, x1, y1, x2, y2, ch);


+ 3
- 1
cxx/cucul++.h 查看文件

@@ -113,7 +113,9 @@ __class Cucul
void Invert();
void Flip();
void Flop();
void Rotate();
void Rotate180();
void RotateLeft();
void RotateRight();
void drawLine(int, int, int, int, uint32_t);
void drawPolyline(int const x[], int const y[], int, uint32_t);
void drawThinLine(int, int, int, int);


正在加载...
取消
保存