瀏覽代碼

change comment

georges 25 年之前
父節點
當前提交
a2728d2ba5
共有 1 個文件被更改,包括 5 次插入2 次删除
  1. 5 2
      panda/src/gobj/pixelBuffer.h

+ 5 - 2
panda/src/gobj/pixelBuffer.h

@@ -141,8 +141,11 @@ private:
 protected:
   int _xsize;
   int _ysize;
-  int _xorg;  // origin is not a well defined concept for PixelBuffer.  It's zero by default &
-  int _yorg;  // not used by any internal code other than constructors, should probably be deleted from API
+
+  // pixelbuffer "origin" represents upper left screen point at which
+  // pixelbuffer should be drawn using draw_pixel_buffer
+  int _xorg; 
+  int _yorg; 
   int _border;
   int _components;
   int _component_width;