previous up next     contents index
Next: wxSnip::Previous Up: wxSnip: wxObject Previous: wxSnip::OwnCaret

wxSnip::PartialOffset

float PartialOffset (wxDC *dc, float x, float y, longlen)

Calculates a partial width for the snip, starting from the first snip item and continuing for len items. The drawing context and snip's position in buffer coordinates are also given. Override this method in your own snip class.



PLT