FAQ Database Discussion Community


ssis swap some values in a data flow if they match a lookup table

ssis,sql-server-2008-r2,transform,lookup
Here's my problem - Midstream in my data flow, we have some values in one column that we want to swap for other values based on a lookup table. For example, if I had a rowset like this: Key Value 1 A 2 B 3 A 4 C 5 D...

Automatic button scaling based on window size C#/XAML

c#,xaml,transform,scale,resolution
i'm fairly new at this so i apologize in advance if i say anything stupid. I am making a UI in WPF that consists of 8 buttons to open various programs set on my computer. Currently i am trying to get the buttons in the UI to scale based on...

Is there polyfill for css transform property in IE8

css,css3,less,transform,css-transforms
I have the following mixin for cross-browser transform: .transform (...) { -webkit-transform: @arguments; /* Chrome, Opera 15+, Safari 3.1+ */ -moz-transform: @arguments; /* Firefox 3.5+ */ -ms-transform: @arguments; /* IE 9 */ -o-transform: @arguments; /* Opera 10.5+ */ transform: @arguments; /* Firefox 16+, IE 10+, Opera */ } .translate(@x:0, @y:0)...

Why layout transform only affect on one children?

c#,wpf,transform
there are two element in one grid cell , and when i use layout transform for the grid only the ink canvas is transformed and the image not changed at all . and when i use scaled transform instead of layout they both change but the problem is that it...

Transform coordinates from one Kinect 3D space to another

c#,matlab,transform,kinect,kinect-sdk
Im currently tracking a Skeleton Joint real world coordinate in multiple Kinects. But these coordinates are expressed in relation to each Kinect coordinate space. What i want to do is elect one of the Kinects as the "Master" and have all others transform their coordinates to this Master Kinect's coordinate...

xslt change parent -> child to child -> parent

xslt,transform,parent
I have a XML like this and need to change parent->child with their places: <root> <testcase name="Case1"> <testsuite>Suite1</testsuite> </testcase> <testcase name="Case2"> <testsuite>Suite1</testsuite> </testcase> <testcase name="Case3"> <testsuite>Suite2</testsuite> </testcase> <testcase name="Case4"> <testsuite>Suite2</testsuite> </testcase> </root> need to transform this to this xml: <root> <testsuite...

Convert String “2008-02-10T12:29:33.000” to a Date with the same format 2008-02-10T12:29:33.000 in Java [duplicate]

java,string,data,transform,simpledateformat
This question already has an answer here: Java string to date conversion 9 answers I have an ArrayList that contains strings like 2008-02-10T12:29:33.000 [2008-02-11T12:29:33.000, 2008-02-10T12:29:33.000]... I want to sort this ArrayList in natural order. For this I have to convert this strings into a Date I quess. The order...

How does using CSS 3D Transforms affect SEO? [closed]

css,3d,seo,transform,googlebot
Google's made a big deal of "if you hide it, it won't count." However, google cache shows it doesn't understand a lot of things correctly. Maybe google sees something as hidden when it should show or shows when it should be hidden. So, I ask about CSS 3D transforms. Take...

Rotate Text in Bootstrap in different col sizes

css,twitter-bootstrap,transform
I'm having a lot of different col sizes, so when I place my follow code in there, the rotated text is different in every col. CSS: .verticaltext { position: relative; } .verticaltext_content { -webkit-transform: rotate(-90deg); -moz-transform: rotate(-90deg); -ms-transform: rotate(-90deg); -o-transform: rotate(-90deg); filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); left: -60px; top: 35px; position: absolute; color:...

XSLT: Get all children of parents with specified attributes

xslt,transform
Given this XML: <?xml version="1.0" encoding="iso-8859-2" ?> <r> <products start="5" stop="8"> <p> <id> 50 </id> <name> Murphy </name> <price> 33 </price> </p> <p> <id> 10 </id> <name> Margarethe </name> <price> 11 </price> </p> </products> <products start="1" stop="4"> <p> <id> 555 </id> <name> XXXX</name> <price> 333 </price> </p> <p> <id> 10...

CSS 3d transform animates under other elements in webkit only

html,css3,webkit,transform
I have a fairly simple 3d transform which is essentially a bunch of flip cards which can be flipped front to back and vice versa. When they are flipped I want the animation to overlap the other cards. This works perfectly in Firefox however the animation occurs underneath the other...

transform-origin doesnt apply in safari

css,safari,transform
Why doesn't transform-origin doesn't work in Safari? Here, how it should look (Chrome): http://i.imgur.com/f3zBu8e.png Here, how it looks in Safari: http://i.imgur.com/0XrPYXs.png I already tried some stuff with percents but it my content divs are having different sizes, so it looks awkward. Here's the JSFiddle. http://jsfiddle.net/2f4pferq/ text-align: right; -ms-transform: rotate(-90deg); -ms-transform-origin:...

CSS :hover transform scale command rotate object instead

css,hover,transform,scale
.arrow { display: inline-block; height: 8px; width: 8px; margin-top: 20px; border-top: solid black 2.5px; border-left: solid black 2.5px; -ms-transform: rotate(-45deg); -webkit-transform: rotate(-45deg); transform: rotate(-45deg); -webkit-transition: transform 1s; -moz-transition: transform 1s; transition: transform 1s; cursor: pointer; } .arrow::before { content: ""; display: inline-block; width: 18px; margin-left: -3px; margin-bottom: 7px; border-top:...

Translate object, stopping, and continuing- Processing

java,object,for-loop,transform,processing
I'm new to Processing, so please bare with me. I'm trying to move an object (rectangle for our purposes), from point A to D. However, along the way I want to stop the motion at different segments and wait some time. For example, I want to move from A to...

Irregular Div shape Distort one corner only

css,css3,svg,transform,css-shapes
How would i create a div shape like this? I have read a lot of techniques but i could not figure this one out. Inside the div is text that should not be distorted. Every technique is welcome it does not have to be pure css. My HTML structure: <div...

Calculate new position post rotation

jquery,html,math,transform,velocity
I'm having trouble centering a div post rotation. Here's my fiddle: https://jsfiddle.net/cfy2ztdz/ Move between slides with keyboard 1 & 2 You can see that it finds the middle perfectly without rotation, but post rotation, moving back to 1, moves off page - instead of back to the middle. Where's my...

Apply scale and rotation to a specific point - Javascript

javascript,math,rotation,transform,scale
We've been having some trouble with scaling AND rotating a point in relation to another div. Essentially we have 2 layers, one with and image(svg) and another layer with icons that are placed on the image. We've been able to rotate the icons based on the image's rotation (and position),...

How to suspress the position: relative when using translate

css,css3,css-position,transform
it seems that using transform: translateY(1px); also causes the element to gain an extra position: relative;-behaviour. Is there a way to suspress this? Here is a example on codepen.io. I would like to position the whitebox absolutely to the green one, not the parent (red) one....

How to Center Rotated text with CSS

css,rotation,transform,centering
I'm trying to write a bar with rotated tabs. Rotation is done with transform:rotate. The problem: width:100% is computed before rotation, so it will actually be set to 100% of the height of the rotated tab. .tab-caption { position: absolute; width: 100%; /* width before rotation! */ top: 50%; height:...

Transform rotate in snap svg

javascript,transform,snap.svg,rotatetransform
Here is a JS FIDDLE where I am trying to rotate one of the cogwheel, but it rotates by moving to a different point. I tried different values to rotate it from the center without any luck. Any help will be very appreciated. code var s = Snap("#main"); var orange...

Unity3D: Adding force based on direction an object is facing

c#,unity3d,transform
I am trying to make a "worms"-like game where the player can choose the position of an object (the player can move the object around 180 degrees) , and then the force would be added to the direction the object is facing. I tried using transform.right and transform.forward, but the...

Need to keep a CSS transform on page load for “active” nav link

html,css,css3,animation,transform
I have a navbar that uses CSS transform to extend a bar across the top of the link on hover. I would also like to have an #active id, so the corresponding link has the ending style applied to it. Due to the nature of CSS transform syntax, I cannot...

Calculate coordinates before (CSS-transform) rotation of point

javascript,css,matrix,transform,euler-angles
What I want to do: Give a javascript function the coordinates for a triangle in a 3d-room as parameter and it calculates the svg path and the css transformation angles for this object. What I've already figured out: to calculate the triangle between the 3 points, I would just need...

Extrude effect with scaleZ

css,css3,transform,css-shapes
Is it possible to use scaleZ() to effectively create a 3D box? Here's what I've tried, but obviously it didn't scaleZ at all: .box { -webkit-transform-style: preserve-3d; -moz-transform-style: preserve-3d; -ms-transform-style: preserve-3d; -o-transform-style: preserve-3d; transform-style: preserve-3d; -webkit-transform: scaleZ(10); -moz-transform: scaleZ(10); -ms-transform: scaleZ(10); -o-transform: scaleZ(10); transform: scaleZ(10); width: 100px; height: 100px; display:...

Css Transform - Trigger event each time the mouse is out and in of a div

html,css,transform
i have two questions. In my project that i will include the code in this post i want: The transform should trigger when i hover on blue square. The square should not return to the first position if the mouse is in the red rectangle area or red square, only...

ggvis input_select on scale_numeric trans parameter

coordinates,transform,ggvis
I'm really newbie to ggvis and I searched all over web without success. I have a dataset like this one: data.example=data.frame("V1"=c(rep("A",times=10),rep("B",times=10)),"V2"=c(runif(10,1,10000),runif(10,100,1000))) head(data.example) V1 V2 1 A 7261.076 2 A 1955.755 3 A 3473.473 4 A 7593.278 5 A 3218.867 6 A 4997.951 tail(data.example) V1 V2 15 B 721.2147 16...

How to scale an element when it loads using only CSS?

html,css3,transform,scale
I'm loading an element that has the initial css values of : .popOver { height: 100%; width: 100%; position: fixed; background-color: #d9dfe5; transition: all 2s ease-in-out; transform: scale(0,0); } I need to change to scale(1, 1) when the element loads in the page and see the transition. Anyone can help?...

Javascript code for CSS3 animation and transform property

javascript,css3,animation,transform,vendor-prefix
I know, with CSS, we have to use vendor prefixes such as -ms-, -moz-, -webkit- and -o- for transform property. And for animation property just -moz-, -webkit- and -o-. I want to know how to set each of them from Javascript? And transition property also. Looking for something like this...

Resize (8 * 7 px) Bitmapimage to 800 x 700

c#,transform,bitmapimage
I created about 100 png files that are all 8*7 pixels in size, they contain tiny faces. I wanted to display one of the faces in a WPF Image, to do so, I created a Bitmapimage (using the Stretch.Fill option) and put the png into it's urisource, then I used...

Transform translation and e.pageX/e.pageY coordinates differ

canvas,mouseevent,transform,translate
When I apply a translation (transform: translate...) on a canvas and I check its position on the Chrome Windows with e.clientX and e.clientY, I get different values. The same applies to the width of the canvas, it is different with e.clientX and e.clientY than the actual width value in the...

Rotate a basis to align to vector

matlab,matrix,rotation,transform
I have a matrix M of size NxP. Every P columns are orthogonal (M is a basis). I also have a vector V of size N. My objective is to transform the first vector of M into V and to update the others in order to conservate their orthogonality. I...

To transform or not to transform

javascript,html,css,css3,transform
Here is a weird thing I have run in to today and wanted to know what others think. Basically, I was trying to hide text when it went outside of a DIV. Not - "Oh! How do you hide something" - but - "I'm sliding the text across the screen...

overwriting map with map possible with ?

c++,dictionary,stl,copy,transform
I would like to do the following but it seems it is not possible. I am no expert on STL. typedef std::map<int,int> CMap; CMap m1; m1[0] = 10; m1[1] = 11; m1[2] = 12; CMap m2; m2[20] = 30; m2[21] = 31; m2[22] = 32; std::copy( m1.begin(), m1.end(), m2.begin() );...

Perl specific transforms in python

python,regex,perl,transform,canonicalization
I need a Perl-specific code in Python. Here is the Perl code: use strict; use warnings; my $s = 'http://www.bergdorfgoodman.com/Ippolita-18k-Gold-Rock-Candy-Mini-Single-Square-Pendant-Necklace/prod108010011/p.prod#.U75MVqY-PtS'; $s =~ s/(.*\.com)\/[^\/]+(\/prod[^\_]*\/p\.prod).*/$1$2/si; print $s ."\n"; I have handled the capturing part by $1 and $2, and I don't know how to do it in Python. Output: http://www.bergdorfgoodman.com/prod108010011/p.prod ...

XslCompiledTransform Transform Method Not Working

c#,xml,xslt,transform
I have a below xslt file. <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:gl-bus="http://www.xbrl.org/int/gl/bus/2006-10-25" xmlns:gl-cor="http://www.xbrl.org/int/gl/cor/2006-10-25" xmlns:gl-gen="http://www.xbrl.org/int/gl/gen/2006-10-25" xmlns:iso4217="http://www.xbrl.org/2003/iso4217" xmlns:link="http://www.xbrl.org/2003/linkbase"...

Social bar css translate

css,animation,transform,transition,social
I would like to have a social bar on the right, and scrolling with the page. This is ok, but I would like to add some behaviors : if you hover the facebook logo, the logo moves to the left, and shows the like button. And same behavior for twitter....

PHP transform string to date period

php,regex,date,transform
I wonder how to do it!? I have: $datePeriod = '2010-09-13 - 2010-09-19' I need output: 09/13/10 - 09/19/10 I thinking do it with strtotime() and date() native functions date('m/d/Y \- \ m/d/Y', strtotime($datePeriod)); but strtotime() not accept this string straightly '2010-09-13 - 2010-09-19' i need to slice ,trim before...

Transform rhombus defined by corners to another rhombus

graphics,transform
If you have a 2D model in the shape of a rhombus, defined by it's four corners, and you want to transform it into the shape of another rhombus, given it's 4 corners, how would you do this? Can you do it with a transformation matrix? My line of thinking...

CSS: Problems when using object-fit and transform together on webkit

css,css3,webkit,transform,scale
I'm trying to use both the css property object-fit: cover on an img element to have my image filling its containing div and transform: scale(xx) to have the image zooming out on hover. Here is a sample fiddle: https://jsfiddle.net/96kbuncq/ Edit: sample with real images: https://jsfiddle.net/96kbuncq/3/ HTML: <div> <div class="category"> <img...

Firefox doesn't render background-color correctly due to transparency set on a background element

css,css3,firefox,transform,gecko
It seems Firefox has some problems in rendering the background-color of a figure in the foreground when some figures in the background have transparency set; checkout this pen, Chrome renders as expected but Firefox doesn't pick-up the background-color of the figure in the foreground (it seems like it's summing the...

Unity3D: Adding charged force in relation to position

c#,unity3d,position,transform
I am trying to make a game which "kind of" simulates the shooting of the "worms" game. The player can choose the position (circular) of an object and then, the force that is applied to the object should move in the direction its pointing towards. I tried using the AddForce(transform.right)...

OpenGL - translation stretches and distorts sprite

c++,opengl,transform,translation,distortion
I am loosely following the very handy tutorial at opengl-tutorial.org. I've been able to create a mesh, draw a sprite to it, and rotate and scale that mesh perfectly fine. However, I'm running into some issues when trying to translate the mesh. (pictures below) Here's an update function on the...

Unity3D: Moving a child to orbit a parent

c#,unity3d,position,transform
I have made a game where I make two spheres, one child sphere and one parent sphere. The parent sphere is bigger than the child sphere, and I am trying to make the child move around the parent sphere. In the following code, the child sphere moves in a circle....

Playing a “snap in/snap out” animation during zoom in, zoom out

ios,swift,animation,transform
So i got a set of rings one inside the other. I want to be able to zoom then in and, when I zoom close enough the zooming should animate the snap in and then I should keep zooming again. I've done the zooming part pretty easily, using CGAffineTransform and...

solvePnP: Obtaining the rotation translation matrix

c++,opencv,matrix,computer-vision,transform
I am trying to image coordinates to 3D coordinates. Using the solvePnP function (in C++)has given me 3X1 rotation matrix and 3X1 translation matrix. But isn't the [R|t] matrix supposed to be 3X4? Any help will be greatly appreciated!...

Create a CSS3 flip-down animation for menus

css,css3,transform
I know there are plenty of examples out there but I'm having trouble making this work with my specific HTML. The HTML cannot be changed, it's Wordpress generated. I have a menu with a sub-menu containing two items. I want to create a CSS3 animation that flips down the children...

how to get specific transform attribute in D3

d3.js,transform
All: I wonder how can I get SVG individual transform attribute such as: Translate Scale etcs rather than the whole transform string in D3. Like in style, I can use style("background-color") to get individual background color rather than the whole style string. Is there any similar API or method can...

XSLT Transforming XML into a cross referenced, nested HTML lists when source nodes are siblings and nesting is based on attribute values

html,xml,xslt,transform,xslt-1.0
Problem: I need to create a nested HTML unordered list from XML this is not nested. Additionally I need to cross reference the XML with an 'allowed nodes' section that is also contained in the document. Example XML: <content> <data> <navigation> <link name="about us" url="#"/> <link name="staff" url="staff.asp" parent="about us"/>...

CSS transform rotate in the same direction each time

javascript,css,rotation,transform,transition
I'm wanting to make an element on a web page rotate 360 degrees anticlockwise each time a button is clicked. I've found some example code showing how to do this but the only issue is that currently it rotates in alternating directions. Is there a simple way to ensure that...

Transform origin relative to container. Rotated text

css,css3,transform,css-transforms
I need some help trying to understand how transform-origin works, I've done my Googling but cannot find anything that can help my specific use case. Here's what i'm trying to achieve: I have a fixed footer with a fixed height, within that I have two lines of rotated text (left...

How to rotate image to its next degree on button click event?

jquery,html,css,rotation,transform
I am playing with jquery.rotate.js and I want to rotate image everytime to next rotation degree. I have included following jquery librarys: <script type='text/javascript' src='http://code.jquery.com/jquery-1.7.1.js'></script> <script type='text/javascript' src='jquery.rotate.1-1.js'></script> jQuery Code: $(window).load(function() { $("body").on("click", "#button", function() { $(".north").rotate(a()); }); nextAngle = 0; function a() { nextAngle += 90; if (nextAngle >=...

Can't understand this CSS code

html,css,transform,transition
I've bought an HTML/CSS template. As I was going through the CSS files, I saw this block of code that confused me a lot. .team-member .details, .team-member .details { -o-transition: all .4s ease-in-out; -ms-transition: all .4s ease-in-out; -moz-transition: all .4s ease-in-out; -webkit-transition: all .4s ease-in-out; transition: all .4s ease-in-out; }...

CSS3 Keyframes & Transforms not a displaying a cube properly

html,css,css3,transform,keyframe
I'm trying to get the CSS to display a 3D cube. I have a fiddle here. The top and bottom of the cube don't have any text, but the sides do. Each side has a single line of text. Here is my "side" class... .side { position: absolute; width: 200px;...

CSS translate going in front vs. behind another div

html,css,css3,svg,transform
I'm trying to translate an svg graphic in the y-axis with CSS transforms. I'm having no problem with the translate part: transform: translate3d(0, -100px, 0); BUT, the 100px up in the Y direction moves the svg graphic behind the parent div. I've tried putting different z-index on the various elements...

Apply transformation to result of previous transformation on SVG path

svg,transform,snap.svg
If I apply a translation of (100, 0) to an SVG path, it shifts left by 100px. But if I first rotate the path, then the translation happens along a diagonal. I understand why this happens -- the rotation has rotated the axes, thus making the translation along the x...

XSLT transform moving namespace

xml,xslt,transform
I have a XML posted to a WebService and I am having problems because it expects other xml format. I need transform the next xml adding xmlns:ans="http://www.ans.gov.br/padroes/tiss/schemas and removing the namespace from solicitacaoProcedimentoWS node. Some help will be appreciated. Thanks in advance, Luiz <?xml version="1.0"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SOAP-ENV:Header/>...

Responsive diamond shape with center aligned content using transform rotate

html,css3,rotation,transform,centering
I am having great difficulties trying to create a centered, responsive diamond shape in the center of a 100% x 100% container, with the diamond containing a center aligned logo. Sound confusing? Well, this is what I mean: (images are self-drawn graphics) I have managed to get the responsive diamond...

SVG transform circle into simple line

javascript,css3,svg,transform,svg-animate
I'm trying to animate a simple SVG circle (white background or any other color) so that when you hover over it it becomes a simple vertical line (in other words, it sort of flattens into a line) and on mouse out, well, then it animates into a circle again. Yet...

Add a transform value to the current transforms that are already on the element?

javascript,jquery,css3,transform,webkit-transform
Let's say I have a div that had translateX and translateY values added dynamically. <div class="object child0" style="-webkit-transform: translateX(873.5px) translateY(256px); width: 50px; height: 50px;"> I want to add rotateY(20deg) to the current transforms, but applying it via element.style.webkitTransform = "rotateX(20deg)" loses the other values. Is there a way to add...

CSS3 transform transition stutters when value changes frequently (not performance related)

css3,animation,transform,css-transitions,transition
I'm currently building a compass app in HTML and CSS in a PhoneGap project with the DeviceOrientation plugin to get the compass heading. I created a jsbin to emulate the heading change. The problem I'm having is that when the value changes frequently (every 200 ms), the CSS transition stutters...

ROS - Getting nan values with navsat_transform_node from robot_localization package

localization,transform,nan,ros
I need to fuse gps, imu and odometry data, so I started to test robot_localization package. I’m publishing valid mock messages sensor_msgs/Imu, and nav_msgs/Odometry for the inputs of ekf_localization_node, then I’m feeding the input of navsat_transform_node with the odometry message from the output of ekf_localization_node and a mock sensor_msgs/NavSatFix message....

CSS Transform scale scrolling issue

html,css,css3,transform
I am creating a web app that uses CSS' transform scale property. As shown by the image below, I have an object inside of a container, which fits nice and snugly inside, without any overflowing content. This is how I wish for it to be. My issue is brought up...

Why does a float print out as negative zero?

objective-c,cocoa-touch,math,matrix,transform
Problem Sometimes the floating point number of value zero is being printed out as negative zero even though inequality checks show that the number is non-negative. Application I'm trying to log out the transformation matrix of a UIView in a human readable format. The numbers should be arranged like this:...

3d transforms on SVG

css,css3,svg,transform
Is it possible to achieve 3d like perspective transforms on an SVG element ? I'm talking about something similar with how the Star Wars opening titles look like. This is a jsfiddle I made with the same desirable effect achieved using css3 transform: <section style="transform: perspective(200px) rotateX(-30deg); transform-origin: 50% 100%;...

Transform and Pivot in Excel - MS Query

excel-2007,transform,ms-query
I have 4 field in my table : NO. | Specification | Specification Value | Description 1 Color Blue a 1 Size 6" a 2 Color Red b 2 Size 8" b I am trying to Pivot it and its giving me an error. TRANSFORM FIRST(Specification Value) SELECT items.'No.' FROM...

XSLT function to filter alphabets and phone number from phone number

xml,xslt,transform,transformation
I have to transform xml date into csv by using XSLT. There is a field for phone number which may contains alphabets, space, country code(+1 for USA) as well as special characters too. I have to remove space, special characters, country code and alphabets and retain only 10 digits numerica...

XML transformation: Creating node in output xml from node attribute of input xml using xslt

xml,xslt,attributes,transform
I have searched many sites to accomplish below requirement without success. Hope to get some hint here. I want to transform input XML in a particular format as shown below to output format, The attributes of a node from input XML is used as a node in output XML Input...

Amazon book flipping CSS animation: how is it coded?

html,css3,transform
Link to example. Hover over the book on the left side As you can see, the book seems to open towards the user. I already have the first part of the animation: JSFiddle HTML: <h1>Boek opendoen animatie</h1> <div class="achtergrond"> <img class="foto" src="http://i.imgur.com/u19t6iW.jpg" alt="Cover"> </div> </body> </html> CSS: div.achtergrond { background-color:...

Character is moving in weird ways when using Transform.forward in Unity

c#,unity3d,transform
I've looked all around Google and have yet to find something to fix this problem. I am using this extremely simple code in a 3D game I am creating in the Unity Game Engine 5.0. It isn't working out too well, it is hard to explain the thing that happens,...

Calculating scale and position for stretching an object sideways

c++,resize,geometry,transform,scaling
I'm trying to implement object stretching through the use of a selection bounding box, in 2D orthographic views of 3D space. The type of effect I'm trying to get is like when an object is surrounded with a selection marquee, and the sides and corners can be pulled to change...