Searched refs:fromY (Results 1 - 2 of 2) sorted by relevance

/haiku/src/add-ons/print/drivers/gutenprint/
H A DGPJob.cpp33 void ToGutenprint(int32 fromX, int32 fromY, double& toX, double& toY) { argument
35 toY = fromY * kGutenprintUnit / fYDPI;
39 void ToGutenprintCeiling(int32 fromX, int32 fromY, double& toX, argument
42 toY = (fromY * kGutenprintUnit + fYDPI - 1) / fYDPI;
46 void FromGutenprint(double fromX, double fromY, int32& toX, int32& toY) { argument
48 toY = (int32)(fromY * fYDPI / kGutenprintUnit);
51 void FromGutenprintCeiling(double fromX, double fromY, int32& toX, argument
54 toY = (int32)((fromY * fYDPI + kGutenprintUnit - 1) / kGutenprintUnit);
/haiku/src/apps/showimage/
H A DFilter.cpp692 const intType fromY = (intType)fFromY; local
695 const float a0Y = 1.0 - (fFromY - fromY);
698 const uchar* srcDataRow = srcBits + fromY * srcBPR;
721 for (int32 r = fromY + 1; r < toY; r++, srcData += srcBPR) {

Completed in 41 milliseconds