Home
last modified time | relevance | path

Searched refs:fWidth (Results 1 – 25 of 87) sorted by relevance

1234

/haiku/src/apps/haikudepot/packagemodel/
H A DScreenshotInfo.cpp15 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 DScreenshotInfo.h29 { return fWidth; } in Width()
37 int32 fWidth; variable
/haiku/src/apps/haikudepot/model/
H A DScreenshotCoordinate.cpp16 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 DMallocBuffer.cpp16 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 DBasicTerminalBuffer.cpp109 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 DDWindowBuffer.cpp11 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 DDirectWindowBuffer.cpp8 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 DServerBitmap.cpp69 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 DServerBitmap.h45 { 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 DSGIImage.cpp55 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 DPSDLoader.cpp42 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 DFlurry.cpp71 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 DTextTable.cpp29 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 DViewState.cpp111 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 DPrintOptionsWindow.cpp36 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 DPrintOptionsWindow.h45 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 DListItem.cpp22 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 DglutGameMode.cpp26 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 DglutGameMode.h32 int Width() const { return fWidth; } in Width()
46 int fWidth; variable
/haiku/src/add-ons/translators/gif/
H A DGIFLoad.cpp55 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 DCharacterStyleData.cpp17 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 DFractalEngine.cpp32 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 DMonitorView.cpp32 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 DIconProperty.cpp27 fWidth(width), in IconProperty()
38 fWidth(other.fWidth), in IconProperty()
/haiku/src/libs/print/libprint/
H A DValidRect.cpp25 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()

1234