Scribus
Open source desktop publishing at your fingertips
Hruler Class Reference

Horizontal ruler. More...

#include <hruler.h>

Inheritance diagram for Hruler:
Collaboration diagram for Hruler:

Public Slots

void Draw (int where)
 draw mark More...
 
void unitChange ()
 

Signals

void DocChanged (bool)
 
void MarkerMoved (double base, double xp)
 

Public Member Functions

 Hruler (ScribusView *pa, ScribusDoc *doc)
 
double ruleSpacing ()
 
void setItem (PageItem *item)
 
void textMode (bool state)
 
double textBase () const
 
double textWidth () const
 
double textPosToCanvas (double x) const
 
int textPosToLocal (double x) const
 
double localToTextPos (int x) const
 
void shift (double pos)
 
void shiftRel (double dist)
 
double offset () const
 

Detailed Description

Horizontal ruler.

Author
Franz Schmid

Member Function Documentation

void Hruler::Draw ( int  where)
slot

draw mark

Parameters
wherewhere to draw

The documentation for this class was generated from the following files: