• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kviewshell

JB2Shape Class Reference

Shape data structure. More...

#include <JB2Image.h>

List of all members.


Public Attributes

GP< GBitmap > bits
int parent
long userdata

Detailed Description

Shape data structure.

A JB2Image# contains an array of JB2Shape# data structures. Each array entry represents an elementary blob of ink such as a character or a segment of line art. Member bits# points to a bilevel image representing the shape pixels. Member parent# is the subscript of the parent shape.

Definition at line 215 of file JB2Image.h.


Member Data Documentation

GP<GBitmap> JB2Shape::bits

Bilevel image of the shape pixels.

This must be a pointer to a bilevel GBitmap# image. This pointer can also be null. The encoder will just silently discard all blits referring to a shape containing a null bitmap.

Definition at line 230 of file JB2Image.h.

int JB2Shape::parent

Subscript of the parent shape.

The parent shape must always be located before the current shape in the shape array. A negative value indicates that this shape has no parent. Any negative values smaller than #-1# further indicates that this shape does not look like a character. This is used to enable a few internal optimizations. This information is saved into the JB2 file, but the actual value of the parent# variable is not.

Definition at line 225 of file JB2Image.h.

long JB2Shape::userdata

Private user data.

This long word is provided as a convenience for users of the JB2Image data structures. Neither the rendering functions nor the coding functions ever access this value.

Definition at line 234 of file JB2Image.h.


The documentation for this class was generated from the following file:
  • JB2Image.h

kviewshell

Skip menu "kviewshell"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • kviewshell
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal