Code Search for Developers
 
 
  

ZZBSizes.h from gzz at Krugle


Show ZZBSizes.h syntax highlighted

/*
 * ZZBSizes.h
 * Vesa Parkkinen
 * Fri Nov 26 17:02:01 GMT 1999
 */
#include "BillowSizes.h"
#include <math.h>

class ZZBSizes : public BillowSizes {
  
  int *lineCoord[256]; // pointer to coord-line table
  int *lineSize [256]; // pointer to line-size table
  
  int     line_tables;
  int     coord_tables;
  
 public:  
  
  ZZBSizes();
  
  ~ZZBSizes();
  
  int    setLineCoord(int y, int line );
  int    setLineSize(int line, int size);
  int    setLine(int line, int coord, int size);
  double getSize(int line, double &y);
  int    getLine(double y); // Get line index at y-coordinate
  // If we need the x index, we re-render (or virtually so)
  
}; 




See more files for this project here

gzz

An implementation of Ted Nelson's ZZstructure. ZZstructure is a new type of programming platform for structured data.

Project homepage: http://savannah.nongnu.org/projects/gzz
Programming language(s): C++,Java,Python
License: lgpl21

  BillowSizes.h
  Lines.h
  Makefile
  ZZBBulge.cc
  ZZBBulge.h
  ZZBBulge2.h
  ZZBLine.cc
  ZZBLine.h
  ZZBLines.cc
  ZZBLines.h
  ZZBMarker.cc
  ZZBMarker.h
  ZZBRenderer.cc
  ZZBRenderer.h
  ZZBSize.cc
  ZZBSize.h
  ZZBSizes.cc
  ZZBSizes.h
  main.c
  main2.cc
  suckfont.c
  suckfont.h
  test