/haiku/src/apps/haikudepot/packagemodel/ |
H A D | ScreenshotInfo.cpp | 15 fWidth(), in ScreenshotInfo() 26 fWidth(width), in ScreenshotInfo() 36 fWidth(other.fWidth), in ScreenshotInfo() 47 fWidth = other.fWidth; in operator =() 58 && fWidth == other.fWidth in operator ==()
|
H A D | ScreenshotInfo.h | 29 { return fWidth; } in Width() 37 int32 fWidth; variable
|
/haiku/src/apps/haikudepot/model/ |
H A D | ScreenshotCoordinate.cpp | 16 fWidth(0), in ScreenshotCoordinate() 25 from->FindUInt32(kWidthKey, &fWidth); in ScreenshotCoordinate() 33 fWidth(width), in ScreenshotCoordinate() 54 return fWidth; in Width() 68 return !fCode.IsEmpty() && fWidth > 0 && fHeight > 0; in IsValid() 75 return fCode == other.fCode && fHeight == other.fHeight && fWidth == other.fWidth; in operator ==() 83 result.SetToFormat("%s_%" B_PRIu32 "x%" B_PRIu32, fCode.String(), fWidth, fHeight); in Key() 102 result = into->AddUInt32(kWidthKey, fWidth); in Archive()
|
/haiku/src/servers/app/drawing/ |
H A D | MallocBuffer.cpp | 16 fWidth(width), in MallocBuffer() 19 if (fWidth > 0 && fHeight > 0) { in MallocBuffer() 20 fBuffer = malloc((fWidth * 4) * fHeight); in MallocBuffer() 59 return fWidth * 4; in BytesPerRow() 68 return fWidth; in Width()
|
/haiku/src/apps/terminal/ |
H A D | BasicTerminalBuffer.cpp | 109 fWidth(0), in BasicTerminalBuffer() 146 fWidth = width; in Init() 176 error = _ResetTabStops(fWidth); in Init() 204 if (width == fWidth && height == fHeight) in ResizeTo() 217 return _ResizeHistory(fWidth, historyCapacity); in SetHistoryCapacity() 272 fWidth * sizeof(TerminalCell)); in SynchronizeWith() 279 destLine->Clear(fAttributes, fWidth); in SynchronizeWith() 287 TerminalLine* lineBuffer = ALLOC_LINE_ON_STACK(fWidth); in IsFullWidthChar() 298 TerminalLine* lineBuffer = ALLOC_LINE_ON_STACK(fWidth); in GetChar() 321 TerminalLine* lineBuffer = ALLOC_LINE_ON_STACK(fWidth); in GetCellAttributes() [all …]
|
/haiku/src/servers/app/drawing/interface/virtual/ |
H A D | DWindowBuffer.cpp | 11 fWidth(0), in DWindowBuffer() 59 return fWidth; in Width() 87 fWidth = info->window_bounds.right - info->window_bounds.left + 1; in SetTo() 93 fWidth = 0; in SetTo() 110 fWidth = width; in SetTo()
|
/haiku/src/tests/servers/app/newerClipping/drawing/ |
H A D | DirectWindowBuffer.cpp | 8 fWidth(0), in DirectWindowBuffer() 56 return fWidth; in Width() 84 fWidth = info->window_bounds.right - info->window_bounds.left + 1; in SetTo() 88 fWidth = 0; in SetTo()
|
/haiku/src/servers/app/ |
H A D | ServerBitmap.cpp | 69 fWidth(rect.IntegerWidth() + 1), in ServerBitmap() 77 int32 minBytesPerRow = get_bytes_per_row(space, fWidth); in ServerBitmap() 92 fWidth = bitmap->fWidth; in ServerBitmap() 98 fWidth = 0; in ServerBitmap() 141 bytesPerRow, fBytesPerRow, colorSpace, fSpace, fWidth, fHeight); in ImportBits() 210 "bpr %" B_PRId32 ", buffer %p\n", this, fWidth, fHeight, (int32)fSpace, in PrintToStream()
|
H A D | ServerBitmap.h | 45 { return BRect(0, 0, fWidth - 1, fHeight - 1); } in Bounds() 47 { return fWidth; } in Width() 102 int32 fWidth; variable 143 fWidth = from->fWidth; in ShallowCopy()
|
/haiku/src/add-ons/translators/sgi/ |
H A D | SGIImage.cpp | 55 fWidth(0), in SGIImage() 107 fWidth = _ReadShort(); in SetTo() 170 _WriteShort(fWidth = width); in SetTo() 208 fARLERow = (uint16*)calloc(fWidth, sizeof(uint16)); in SetTo() 325 off_t offset = 512 + (y + z * fHeight) * fWidth * fBytesPerChannel; in ReadRow() 328 uint32 bytes = fWidth * fBytesPerChannel; in ReadRow() 344 ret = _ReadRLE8((uint8*)row, rleBuffer, fWidth); in ReadRow() 349 ret = _ReadRLE16((uint16*)row, (uint16*)rleBuffer, fWidth); in ReadRow() 383 offset = 512 + (y + z * fHeight) * fWidth * fBytesPerChannel; in WriteRow() 386 uint32 bytes = fWidth * fBytesPerChannel; in WriteRow() [all …]
|
/haiku/src/add-ons/translators/psd/ |
H A D | PSDLoader.cpp | 42 fWidth = _GetInt32FromStream(fStream); in PSDLoader() 200 int32 rowBytes = (fWidth * fDepth) / 8; in Decode() 266 bitsHeader.bounds.right = fWidth - 1; in Decode() 276 bitsHeader.rowBytes = sizeof(uint32) * fWidth; in Decode() 288 uint8 *lineData = new uint8[fWidth * sizeof(uint32)]; in Decode() 293 int32 rowBytes = (fWidth / 8 ) * fHeight; in Decode() 316 for (int w = 0; w < fWidth; w++) { in Decode() 326 target->Write(lineData, fWidth * sizeof(uint32)); in Decode() 339 for (int w = 0; w < fWidth; w++) { in Decode() 348 target->Write(lineData, fWidth * sizeof(uint32)); in Decode() [all …]
|
/haiku/src/add-ons/screen_savers/flurry/ |
H A D | Flurry.cpp | 71 fWidth = bounds.Width(); in FlurryView() 121 glViewport(0, 0, int(fWidth), int(fHeight)); in AttachedToWindow() 124 gluOrtho2D(0.0, fWidth, 0.0, fHeight); in AttachedToWindow() 165 glRectd(0.0, 0.0, fWidth, fHeight); in DrawFlurryScreenSaver() 216 fWidth = newWidth; in FrameResized() 219 fFlurryInfo->sys_glWidth = fWidth; in FrameResized() 222 glViewport(0, 0, int(fWidth), int(fHeight)); in FrameResized() 225 gluOrtho2D(0.0, fWidth, 0.0, fHeight); in FrameResized() 251 fFlurryInfo->sys_glWidth = fWidth; in _SetupFlurryBaseInfo()
|
/haiku/src/kits/shared/ |
H A D | TextTable.cpp | 29 fWidth(0) in Column() 62 return fWidth; in Width() 67 fWidth = width; in SetWidth() 103 if (textWidth == fWidth) in Format() 107 if (textWidth > fWidth) { in Format() 109 result.TruncateChars(fWidth); in Format() 114 int32 missing = fWidth - textWidth; in Format() 149 int32 fWidth; member
|
/haiku/src/kits/tracker/ |
H A D | ViewState.cpp | 111 stream->Read(&fWidth, sizeof(float)); in BColumn() 124 fWidth = B_SWAP_FLOAT(fWidth); in BColumn() 132 fWidth = ceilf(fWidth * _Scale()); in BColumn() 146 if (message.FindFloat(kColumnWidthName, index, &fWidth) != B_OK) in BColumn() 147 fWidth = -1.0f; in BColumn() 149 fWidth = ceilf(fWidth * _Scale()); in BColumn() 189 fWidth = width * _Scale(); in _Init() 259 width = floorf(fWidth / _Scale()); in ArchiveToStream() 278 width = floorf(fWidth / _Scale()); in ArchiveToMessage() 305 || column->fWidth < 0 in _Sanitize() [all …]
|
/haiku/src/apps/showimage/ |
H A D | PrintOptionsWindow.cpp | 36 fWidth(1024 / 72.0), in PrintOptions() 68 fWidth = w; in SetWidth() 76 fWidth = (fBounds.Width() + 1) * h / (fBounds.Height() + 1); in SetHeight() 161 fWidth = AddTextControl("width", B_TRANSLATE("Width:"), in Setup() 188 .Add(fWidth) in Setup() 263 if (GetValue(fWidth, &value) && fCurrentOptions.Width() != value) { in MessageReceived() 271 SetValue(fWidth, fCurrentOptions.Width()); in MessageReceived()
|
H A D | PrintOptionsWindow.h | 45 float Width() const { return fWidth; } in Width() 55 float fWidth, fHeight; // 1/72 Inches variable 84 BTextControl* fWidth; variable
|
/haiku/src/kits/interface/ |
H A D | ListItem.cpp | 22 fWidth(0), in BListItem() 38 fWidth(0), in BListItem() 94 return fWidth; in Width() 143 fWidth = width; in SetWidth()
|
/haiku/src/libs/glut/ |
H A D | glutGameMode.cpp | 26 fWidth(-1), in GlutGameMode() 73 fWidth = fHeight = fPixelDepth = fRefreshRate = -1; in Set() 76 &fWidth, &fHeight, &fPixelDepth, &fRefreshRate) == expectedArgs) { in Set() 185 if (fWidth == -1 && fHeight == -1 && fPixelDepth == -1 in _FindMatchingMode() 215 if (fWidth > 0 && fModesList[i].virtual_width != fWidth) in _FindMatchingMode()
|
H A D | glutGameMode.h | 32 int Width() const { return fWidth; } in Width() 46 int fWidth; variable
|
/haiku/src/add-ons/translators/gif/ |
H A D | GIFLoad.cpp | 55 fWidth, fHeight); in GIFLoad() 141 fWidth = header[6] + (header[7] << 8); in ReadGIFHeader() 277 if (fWidth != localWidth || fHeight != localHeight) { in ReadGIFImageHeader() 283 fWidth = localWidth; in ReadGIFImageHeader() 287 fScanLine = (uint32*)malloc(fWidth * 4); in ReadGIFImageHeader() 296 BRect rect(left, top, left + fWidth - 1, top + fHeight - 1); in ReadGIFImageHeader() 303 header.rowBytes = B_HOST_TO_BENDIAN_INT32(fWidth * 4); in ReadGIFImageHeader() 305 header.dataSize = B_HOST_TO_BENDIAN_INT32(fWidth * 4 * fHeight); in ReadGIFImageHeader() 613 int bpr = fWidth << 2; in OutputColor() 619 if (fScanlinePosition >= fWidth) { in OutputColor()
|
/haiku/src/apps/haikudepot/textview/ |
H A D | CharacterStyleData.cpp | 17 fWidth(-1.0f), in CharacterStyleData() 43 fWidth(other.fWidth), in CharacterStyleData() 72 && fWidth == other.fWidth in operator ==() 170 if (fWidth == width) in SetWidth() 177 ret->fWidth = width; in SetWidth()
|
/haiku/src/apps/mandelbrot/ |
H A D | FractalEngine.cpp | 32 fWidth(0), fHeight(0), in FractalEngine() 117 fWidth = msg->GetUInt16("width", 320); in MessageReceived() 120 fRenderBufferLen = fWidth * fHeight * 3; in MessageReceived() 123 fWidth, fHeight, fRenderBuffer); in MessageReceived() 170 if (size.IntegerWidth() != fWidth || size.IntegerHeight() != fHeight) { in WriteToBitmap() 177 fRenderBufferLen, fWidth * 3, 0, in WriteToBitmap() 248 uint16 width = engine->fWidth; in RenderThread() 293 double real = (x * fSize + fLocationX) - (fWidth / 2 * fSize); in RenderPixel() 324 uint32 offsetBase = fWidth * y * 3 + x * 3; in RenderPixel()
|
/haiku/src/preferences/screen/ |
H A D | MonitorView.cpp | 32 fWidth(width), in MonitorView() 128 if (fWidth == width && fHeight == height) in SetResolution() 131 fWidth = width; in SetResolution() 199 float factorX = (float)fWidth / fMaxWidth; in _MonitorBounds() 232 fDPI = (int32)round((fWidth / x + fHeight / y) / 2); in _UpdateDPI()
|
/haiku/src/apps/icon-o-matic/generic/property/specific_properties/ |
H A D | IconProperty.cpp | 27 fWidth(width), in IconProperty() 38 fWidth(other.fWidth), in IconProperty()
|
/haiku/src/libs/print/libprint/ |
H A D | ValidRect.cpp | 25 int fWidth; member in BoundsCalculator 55 for (int x = 0; x < fWidth; x ++) { in isRowEmpty() 122 row += fWidth - 1; in updateRightBound() 161 fWidth = fRight - fLeft + 1; in getValidRect()
|