Home
last modified time | relevance | path

Searched refs:fScaleFactor (Results 1 – 25 of 49) sorted by relevance

12

/dports/deskutils/cairo-dock-plugins/cairo-dock-plug-ins-3.4.1/Animated-icons/src/
H A Dapplet-pulse.c46 double fScaleFactor = 1 + (1 - pData->fPulseAlpha); in update() local
47 pIcon->fWidthFactor *= fScaleFactor; in update()
48 pIcon->fHeightFactor *= fScaleFactor; in update()
52 pIcon->fWidthFactor /= fScaleFactor; in update()
53 pIcon->fHeightFactor /= fScaleFactor; in update()
74 double fScaleFactor = (1 - myConfig.fPulseZoom) * pData->fPulseAlpha + myConfig.fPulseZoom; in render() local
76 …ext, pIcon->fWidth * pIcon->fScale * (1 - fScaleFactor) / 2, pIcon->fHeight * pIcon->fScale * (1 -… in render()
78 …xt, pIcon->fHeight * pIcon->fScale * (1 - fScaleFactor) / 2, pIcon->fWidth * pIcon->fScale * (1 - in render()
81 cairo_scale (pCairoContext, fScaleFactor, fScaleFactor); in render()
89 double fScaleFactor = (1 - myConfig.fPulseZoom) * pData->fPulseAlpha + myConfig.fPulseZoom; in render() local
[all …]
H A Dapplet-rotation.c203 …id _draw_rotating_icon (Icon *pIcon, CairoDock *pDock, CDAnimationData *pData, double fScaleFactor) in _draw_rotating_icon() argument
212 cairo_dock_set_icon_scale (pIcon, CAIRO_CONTAINER (pDock), fScaleFactor); in _draw_rotating_icon()
217 …le (pIcon, CAIRO_CONTAINER (pDock), (1. + pData->fAdjustFactor * (sqrt (2.5) - 1)) * fScaleFactor); in _draw_rotating_icon()
221 cairo_dock_set_icon_scale (pIcon, CAIRO_CONTAINER (pDock), fScaleFactor); in _draw_rotating_icon()
271 double fScaleFactor = (1 - myConfig.fPulseZoom) * pData->fPulseAlpha + myConfig.fPulseZoom; in render() local
272 glTranslatef (0., 0., -fScaleFactor * pIcon->fHeight * pIcon->fScale/2); in render()
274 _draw_rotating_icon (pIcon, pDock, pData, fScaleFactor); in render()
275 glTranslatef (0., 0., fScaleFactor * pIcon->fHeight * pIcon->fScale/2); in render()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sfx2/source/dialog/
H A Dinfobar.cxx198 float fScaleFactor = GetDPIScaleFactor(); in SfxInfoBarWindow() local
200 SetPosSizePixel(Point(0, 0), Size(nWidth, INFO_BAR_BASE_HEIGHT * fScaleFactor)); in SfxInfoBarWindow()
306 float fScaleFactor = GetDPIScaleFactor(); in Resize() local
309 …n->SetPosSizePixel(Point(nWidth - 25 * fScaleFactor, 15 * fScaleFactor), Size(10 * fScaleFactor, 1… in Resize()
312 long nX = m_pCloseBtn->GetPosPixel().getX() - 15 * fScaleFactor; in Resize()
313 long nButtonGap = 5 * fScaleFactor; in Resize()
319 … actionBtn->SetPosSizePixel(Point(nX, 5 * fScaleFactor), Size(nButtonWidth, 30 * fScaleFactor)); in Resize()
323 Point aPrimaryMessagePosition(32 * fScaleFactor + 10 * fScaleFactor, 10 * fScaleFactor); in Resize()
325 Size aMessageSize(nX - 35 * fScaleFactor, 20 * fScaleFactor); in Resize()
345 m_pImage->SetPosSizePixel(Point(4, 4), Size(32 * fScaleFactor, 32 * fScaleFactor)); in Resize()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/sc/source/ui/cctrl/
H A Ddpcontrol.cxx142 float fScaleFactor = mpOutDev->GetDPIScaleFactor(); in getPopupBoundingBox() local
144 tools::Long nMaxSize = 18 * fScaleFactor; // Button max size in either dimension in getPopupBoundingBox()
174 float fScaleFactor = mpOutDev->GetDPIScaleFactor(); in drawPopupButton() local
191 Size aArrowSize(4 * fScaleFactor, 2 * fScaleFactor); in drawPopupButton()
202 …Point aBoxPos(aPos.X() + aSize.Width() - 5 * fScaleFactor, aPos.Y() + aSize.Height() - 5 * fScaleF… in drawPopupButton()
203 Size aBoxSize(3 * fScaleFactor, 3 * fScaleFactor); in drawPopupButton()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sc/source/ui/cctrl/
H A Ddpcontrol.cxx142 float fScaleFactor = mpOutDev->GetDPIScaleFactor(); in getPopupBoundingBox() local
144 long nMaxSize = 18 * fScaleFactor; // Button max size in either dimension in getPopupBoundingBox()
167 float fScaleFactor = mpOutDev->GetDPIScaleFactor(); in drawPopupButton() local
182 Size aArrowSize(4 * fScaleFactor, 2 * fScaleFactor); in drawPopupButton()
193 …Point aBoxPos(aPos.X() + aSize.Width() - 5 * fScaleFactor, aPos.Y() + aSize.Height() - 5 * fScaleF… in drawPopupButton()
194 Size aBoxSize(3 * fScaleFactor, 3 * fScaleFactor); in drawPopupButton()
H A Dchecklistmenu.cxx894 float fScaleFactor = GetDPIScaleFactor(); in ScCheckListMenuWindow() local
897 maWndSize = Size(nWidth, 330 * fScaleFactor); in ScCheckListMenuWindow()
938 float fScaleFactor = GetDPIScaleFactor(); in getSectionPosSize() local
944 const long nTopMargin = 5 * fScaleFactor; in getSectionPosSize()
948 const long nBtnWidth = 90 * fScaleFactor; in getSectionPosSize()
951 const long nBottomMargin = 10 * fScaleFactor; in getSectionPosSize()
993 long h = 26 * fScaleFactor; in getSectionPosSize()
1002 long h = 26 * fScaleFactor; in getSectionPosSize()
1105 float fScaleFactor = GetDPIScaleFactor(); in packWindow() local
1117 if (fScaleFactor > 1) in packWindow()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/slideshow/source/engine/
H A Dbox2dtools.cxx79 return { static_cast<float>(aPoint.getX() * fScaleFactor), in convertB2DPointToBox2DVec2()
80 static_cast<float>(aPoint.getY() * -fScaleFactor) }; in convertB2DPointToBox2DVec2()
86 const float fRestitution, const double fScaleFactor) in addTriangleVectorToBody() argument
93 = { convertB2DPointToBox2DVec2(aTriangle.getA(), fScaleFactor), in addTriangleVectorToBody()
94 convertB2DPointToBox2DVec2(aTriangle.getB(), fScaleFactor), in addTriangleVectorToBody()
95 convertB2DPointToBox2DVec2(aTriangle.getC(), fScaleFactor) }; in addTriangleVectorToBody()
169 b2Vec2 aEdgeUnitVec(convertB2DPointToBox2DVec2(aPointB, fScaleFactor) in addEdgeShapeToBody()
170 - convertB2DPointToBox2DVec2(aPointA, fScaleFactor)); in addEdgeShapeToBody()
217 const double fScaleFactor) in addEdgeShapeToBody() argument
777 box2DBody::box2DBody(std::shared_ptr<b2Body> pBox2DBody, double fScaleFactor) in box2DBody() argument
[all …]
/dports/net/liveMedia/live/liveMedia/
H A DWAVAudioFileSource.cpp56 fScaleFactor = scale; in setScaleFactor()
58 if (fScaleFactor < 0 && TellFile64(fFid) > 0) { in setScaleFactor()
112 fScaleFactor(1), fLimitNumBytesToStream(False), fNumBytesToStream(0), fAudioFormat(WA_UNKNOWN) { in WAVAudioFileSource()
283 unsigned bytesToRead = fScaleFactor == 1 ? fMaxSize - fMaxSize%bytesPerSample : bytesPerSample; in doReadFromFile()
312 if (fScaleFactor != 1) { in doReadFromFile()
313 SeekFile64(fFid, (fScaleFactor-1)*bytesPerSample, SEEK_CUR); in doReadFromFile()
/dports/editors/libreoffice/libreoffice-7.2.6.2/svx/source/engine3d/
H A Dextrud3d.cxx188 const double fScaleFactor(GetPercentBackScale() / 100.0); in GetBreakObj() local
193 aTransform.scale(fScaleFactor, fScaleFactor, fScaleFactor); in GetBreakObj()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/svx/source/engine3d/
H A Dextrud3d.cxx194 const double fScaleFactor(GetPercentBackScale() / 100.0); in GetBreakObj() local
199 aTransform.scale(fScaleFactor, fScaleFactor, fScaleFactor); in GetBreakObj()
/dports/audio/zynaddsubfx/zynaddsubfx-3.0.6-rc5/DPF/examples/Info/
H A DInfoExampleUI.cpp38 fScaleFactor(getScaleFactor()), in InfoExampleUI()
145 drawRight(x, y, getTextBufFloat(fScaleFactor), 40); in onNanoDisplay()
202 fScaleFactor = scaleFactor; in uiScaleFactorChanged()
215 double fScaleFactor; // host reported scale factor member in InfoExampleUI
/dports/editors/libreoffice/libreoffice-7.2.6.2/drawinglayer/source/primitive2d/
H A Dtextlayoutdevice.cxx389 const double fScaleFactor(static_cast<double>(nWidth) / static_cast<double>(nHeight)); in getVclFontFromFontAttribute()
391 static_cast<double>(aUnscaledFontMetric.GetAverageFontWidth()) * fScaleFactor)); in getVclFontFromFontAttribute()
436 const double fScaleFactor( in getFontAttributeFromVclFont()
439 o_rSize.setX(fScaleFactor * o_rSize.getY()); in getFontAttributeFromVclFont()
/dports/net/liveMedia/live/liveMedia/include/
H A DWAVAudioFileSource.hh80 int fScaleFactor; member in WAVAudioFileSource
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/uibase/sidebar/
H A DThemePanel.cxx385 float fScaleFactor = pVirtualDev->GetDPIScaleFactor(); in GenerateColorPreview() local
386 long BORDER = 2 * fScaleFactor; in GenerateColorPreview()
387 long SIZE = 12 * fScaleFactor; in GenerateColorPreview()
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/uibase/sidebar/
H A DThemePanel.cxx369 float fScaleFactor = pVirtualDev->GetDPIScaleFactor(); in GenerateColorPreview() local
370 tools::Long BORDER = 2 * fScaleFactor; in GenerateColorPreview()
371 tools::Long SIZE = 12 * fScaleFactor; in GenerateColorPreview()
/dports/editors/libreoffice/libreoffice-7.2.6.2/svx/source/table/
H A Dtablehandles.cxx291 float fScaleFactor = rOutDev.GetDPIScaleFactor(); in CreateB2dIAObject() local
292 double fWidth = fScaleFactor * 6.0; in CreateB2dIAObject()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/svx/source/table/
H A Dtablehandles.cxx294 float fScaleFactor = rOutDev.GetDPIScaleFactor(); in CreateB2dIAObject() local
295 double fWidth = fScaleFactor * 6.0; in CreateB2dIAObject()
/dports/editors/libreoffice/libreoffice-7.2.6.2/include/vcl/
H A DBitmapTools.hxx39 void loadFromSvg(SvStream& rStream, const OUString& sPath, BitmapEx& rBitmapEx, double fScaleFactor
/dports/multimedia/cmrtlib/media-driver-intel-media-20.1.1/media_driver/agnostic/common/hw/
H A Dmhw_utilities.c545 float fScaleFactor, in Mhw_CalcPolyphaseTablesY() argument
595 if (fScaleFactor < 1.0F) in Mhw_CalcPolyphaseTablesY()
620 … fPhaseCoefs[j] = fPhaseCoefsCopy[j] = MOS_Lanczos(fPos * fScaleFactor, dwNumEntries, fLanczosT); in Mhw_CalcPolyphaseTablesY()
624 …fPhaseCoefs[j] = fPhaseCoefsCopy[j] = MOS_Lanczos_g(fPos * fScaleFactor, NUM_POLYPHASE_5x5_Y_ENTRI… in Mhw_CalcPolyphaseTablesY()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/drawinglayer/source/primitive2d/
H A Dtextlayoutdevice.cxx459 …const double fScaleFactor(static_cast<double>(rFont.GetFontSize().getWidth()) / static_cast<double… in getFontAttributeFromVclFont()
460 o_rSize.setX(fScaleFactor * o_rSize.getY()); in getFontAttributeFromVclFont()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/source/outdev/
H A Dtextline.cxx981 float fScaleFactor = GetDPIScaleFactor(); in DrawWaveLine() local
982 if (fScaleFactor > 1.0f) in DrawWaveLine()
984 nWaveHeight *= fScaleFactor; in DrawWaveLine()
986 … nStartY += fScaleFactor - 1; // Shift down additional pixel(s) to create more visual separation. in DrawWaveLine()
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/source/outdev/
H A Dtextline.cxx982 float fScaleFactor = GetDPIScaleFactor(); in DrawWaveLine() local
983 if (fScaleFactor > 1.0f) in DrawWaveLine()
985 nWaveHeight *= fScaleFactor; in DrawWaveLine()
987 … nStartY += fScaleFactor - 1; // Shift down additional pixel(s) to create more visual separation. in DrawWaveLine()
/dports/multimedia/libva-intel-media-driver/media-driver-intel-media-22.1.1/media_softlet/agnostic/common/vp/hal/packet/
H A Dvp_render_cmd_packet.h129 float fScaleFactor,
/dports/games/corsix-th/CorsixTH-0.65.1/CorsixTH/Src/
H A Dth_gfx_sdl.cpp854 double fScaleFactor; in draw() local
857 if (!pCanvas->should_scale_bitmaps(&fScaleFactor)) { in draw()
858 fScaleFactor = 1; in draw()
862 const SDL_Rect rcDest = {iX, iY, static_cast<int>(iWidth * fScaleFactor), in draw()
863 static_cast<int>(iHeight * fScaleFactor)}; in draw()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/svx/source/tbxctrls/
H A Dlayctrl.cxx117 float fScaleFactor = GetDPIScaleFactor(); in TableWindow() local
119 mnTableCellWidth = 15 * fScaleFactor; in TableWindow()
120 mnTableCellHeight = 15 * fScaleFactor; in TableWindow()

12