Home
last modified time | relevance | path

Searched refs:toX (Results 1 – 3 of 3) sorted by relevance

/haiku/src/add-ons/print/drivers/gutenprint/
H A DGPJob.cpp33 void ToGutenprint(int32 fromX, int32 fromY, double& toX, double& toY) { in ToGutenprint() argument
34 toX = fromX * kGutenprintUnit / fXDPI; in ToGutenprint()
39 void ToGutenprintCeiling(int32 fromX, int32 fromY, double& toX, in ToGutenprintCeiling() argument
41 toX = (fromX * kGutenprintUnit + fXDPI - 1) / fXDPI; in ToGutenprintCeiling()
46 void FromGutenprint(double fromX, double fromY, int32& toX, int32& toY) { in FromGutenprint() argument
47 toX = (int32)(fromX * fXDPI / kGutenprintUnit); in FromGutenprint()
51 void FromGutenprintCeiling(double fromX, double fromY, int32& toX, in FromGutenprintCeiling() argument
53 toX = (int32)((fromX * fXDPI + kGutenprintUnit - 1) / kGutenprintUnit); in FromGutenprintCeiling()
/haiku/src/apps/showimage/
H A DFilter.cpp609 intType toX, const float a0X, const float a1X, const int32 kBPP) in RowValues() argument
617 for (int32 x = fromX + 1; x < toX; x++, src += kBPP) { in RowValues()
623 if (toX <= srcW) { in RowValues()
704 const intType toX = cd->to; in DownScaleBilinear() local
714 RowValues(sum, srcData, srcW, fromX, toX, a0X, a1X, kBPP); in DownScaleBilinear()
722 RowValues(sum, srcData, srcW, fromX, toX, a0X, a1X, kBPP); in DownScaleBilinear()
729 RowValues(sum, srcData, srcW, fromX, toX, a0X, a1X, kBPP); in DownScaleBilinear()
H A DFilter.h179 intType fromX, intType toX, const float a0X,