Home
last modified time | relevance | path

Searched refs:rasterWidth (Results 1 – 25 of 57) sorted by relevance

123

/dports/games/libretro-beetle_bsnes/beetle-bsnes-libretro-b65ded5bde278c18af538c687db9b72c995b220a/mednafen/snes/src/lib/ruby/video/
H A Dqtopengl.cpp18 unsigned rasterWidth, rasterHeight; member in ruby::pVideoQtOpenGL::RubyGLWidget
66 …glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, rasterWidth, rasterHeight, GL_BGRA, GL_UNSIGNED_INT_8_8_8_… in paintGL()
68 double w = (double)rasterWidth / (double)textureWidth; in paintGL()
88 resize(rasterWidth = 256, rasterHeight = 256); in initializeGL()
137 widget->rasterWidth = width; in lock()
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/common/
H A Dtvectorrenderer.cpp71 int rasterWidth = ras->getLx(); in hardRenderVectorImage_MESA() local
98 glViewport(0, 0, rasterWidth, rasterHeight); in hardRenderVectorImage_MESA()
101 gluOrtho2D(0, rasterWidth, 0, rasterHeight); in hardRenderVectorImage_MESA()
140 int rasterWidth = ras->getLx(); in hardRenderVectorImage() local
183 rasterWidth * rasterHeight * 4; in hardRenderVectorImage()
227 glViewport(0, 0, rasterWidth, rasterHeight); in hardRenderVectorImage()
230 gluOrtho2D(0, rasterWidth, 0, rasterHeight); in hardRenderVectorImage()
257 if (ras->getWrap() == rasterWidth) in hardRenderVectorImage()
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/libs/modelinglib/qmt/diagram_scene/items/
H A Dboundaryitem.cpp174 double rasterWidth, double rasterHeight) in alignItemSizeToRaster() argument
179 double horizDelta = rect.width() - qRound(rect.width() / rasterWidth) * rasterWidth; in alignItemSizeToRaster()
185 horizDelta += rasterWidth; in alignItemSizeToRaster()
228 void BoundaryItem::alignItemPositionToRaster(double rasterWidth, double rasterHeight) in alignItemPositionToRaster() argument
234 double leftDelta = qRound(topLeft.x() / rasterWidth) * rasterWidth - topLeft.x(); in alignItemPositionToRaster()
H A Drelationitem.h68 void alignItemPositionToRaster(double rasterWidth, double rasterHeight) override;
78 …void insertHandle(int beforeIndex, const QPointF &pos, double rasterWidth, double rasterHeight) ov…
81 void dropHandle(int index, double rasterWidth, double rasterHeight) override;
H A Dannotationitem.cpp162 double rasterWidth, double rasterHeight) in alignItemSizeToRaster() argument
166 Q_UNUSED(rasterWidth) in alignItemSizeToRaster()
177 void AnnotationItem::alignItemPositionToRaster(double rasterWidth, double rasterHeight) in alignItemPositionToRaster() argument
183 double leftDelta = qRound(topLeft.x() / rasterWidth) * rasterWidth - topLeft.x(); in alignItemPositionToRaster()
H A Drelationitem.cpp280 void RelationItem::alignItemPositionToRaster(double rasterWidth, double rasterHeight) in alignItemPositionToRaster() argument
286 double x = qRound(pos.x() / rasterWidth) * rasterWidth; in alignItemPositionToRaster()
353 void RelationItem::insertHandle(int beforeIndex, const QPointF &pos, double rasterWidth, double ras… in insertHandle() argument
359 double x = qRound(pos.x() / rasterWidth) * rasterWidth; in insertHandle()
405 void RelationItem::dropHandle(int index, double rasterWidth, double rasterHeight) in dropHandle() argument
423 double x = qRound(pos.x() / rasterWidth) * rasterWidth; in dropHandle()
H A Dannotationitem.h71 double rasterWidth, double rasterHeight) override;
74 void alignItemPositionToRaster(double rasterWidth, double rasterHeight) override;
H A Dboundaryitem.h70 double rasterWidth, double rasterHeight) override;
73 void alignItemPositionToRaster(double rasterWidth, double rasterHeight) override;
H A Dswimlaneitem.cpp109 void SwimlaneItem::alignItemPositionToRaster(double rasterWidth, double rasterHeight) in alignItemPositionToRaster() argument
115 qreal xDelta = qRound(m_swimlane->pos() / rasterWidth) * rasterWidth - m_swimlane->pos(); in alignItemPositionToRaster()
H A Dobjectitem.h107 double rasterWidth, double rasterHeight) override;
110 void alignItemPositionToRaster(double rasterWidth, double rasterHeight) override;
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/libs/modelinglib/qmt/diagram_scene/capabilities/
H A Dwindable.h42 …virtual void insertHandle(int beforeIndex, const QPointF &pos, double rasterWidth, double rasterHe…
45 virtual void dropHandle(int index, double rasterWidth, double rasterHeight) = 0;
H A Dmoveable.h42 virtual void alignItemPositionToRaster(double rasterWidth, double rasterHeight) = 0;
H A Dresizable.h56 double rasterWidth, double rasterHeight) = 0;
/dports/devel/upp/upp/bazaar/RasterCtrl/
H A DRasterBaseCtrl.cpp291 int rasterWidth = 0; in Layout() local
301 if(sz.cx > rasterWidth) in Layout()
302 rasterWidth = sz.cx; in Layout()
309 imageScale = CalcScale(imageScale, rasterWidth, maxHeight); in Layout()
345 int scaledRasterWidth = iscale(rasterWidth, imageScale, 1000); in Layout()
H A DRasterThumbsCtrl.cpp24 int RasterThumbsCtrl::CalcScale(int imScale, int rasterWidth, int maxPageHeight) in CalcScale() argument
29 return iscale(maxScaledWidth, 1000, rasterWidth); in CalcScale()
H A DRasterViewCtrl.cpp24 int RasterViewCtrl::CalcScale(int imScale, int rasterWidth, int maxPageHeight) in CalcScale() argument
37 imageScale = iscale(GetSize().cx, 1000, rasterWidth); in CalcScale()
H A DRasterThumbsCtrl.h24 virtual int CalcScale(int imageScale, int rasterWidth, int maxPageHeight);
H A DRasterViewCtrl.h22 virtual int CalcScale(int imageScale, int rasterWidth, int maxPageHeight);
/dports/devel/upp/upp/bazaar/PixRasterCtrl/
H A DPixRasterThumbsCtrl.cpp26 int PixRasterThumbsCtrl::CalcScale(int imScale, int rasterWidth, int maxPageHeight) in CalcScale() argument
31 return iscale(maxScaledWidth, 1000, rasterWidth); in CalcScale()
H A DPixRasterViewCtrl.cpp26 int PixRasterViewCtrl::CalcScale(int imScale, int rasterWidth, int maxPageHeight) in CalcScale() argument
39 imageScale = iscale(GetSize().cx, 1000, rasterWidth); in CalcScale()
H A DPixRasterBaseCtrl.cpp635 int rasterWidth = 0; in Layout() local
648 if(sz.cx > rasterWidth) in Layout()
649 rasterWidth = sz.cx; in Layout()
656 imageScale = CalcScale(imageScale, rasterWidth, maxHeight); in Layout()
692 int scaledRasterWidth = ScaleToView(rasterWidth); in Layout()
H A DPixRasterThumbsCtrl.h24 virtual int CalcScale(int imageScale, int rasterWidth, int maxPageHeight);
H A DPixRasterViewCtrl.h22 virtual int CalcScale(int imageScale, int rasterWidth, int maxPageHeight);
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/stdfx/
H A Dpins.cpp128 int rasterWidth = tile.getRaster()->getLx() + 2; in subCompute() local
130 assert(rasterWidth > 0); in subCompute()
140 TOfflineGL offScreenRendering(TDimension(rasterWidth, rasterHeight)); in subCompute()
197 glOrtho(-rasterWidth * 0.5, rasterWidth * 0.5, -rasterHeight * 0.5, in subCompute()
199 glViewport(0, 0, rasterWidth, rasterHeight); in subCompute()
286 glPixelStorei(GL_UNPACK_ROW_LENGTH, rasterWidth); in subCompute()
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/libs/modelinglib/qmt/infrastructure/
H A Dgeometryutilities.cpp325 QSizeF GeometryUtilities::ensureMinimumRasterSize(const QSizeF &size, double rasterWidth, double ra… in ensureMinimumRasterSize() argument
327 double width = int(size.width() / rasterWidth + 0.99999) * rasterWidth; in ensureMinimumRasterSize()

123